Fix PrimitiveId builtin check for Vulkan
According to Vulkan spec 1.1.72: > The PrimitiveId decoration must be used only within fragment, > tessellation control, tessellation evaluation, and geometry shaders. > In a tessellation control or tessellation evaluation shader, any > variable decorated with PrimitiveId must be declared using the Input > storage class. We were enforcing that PrimitiveId can only be used with Output storage class for TCS and TES before.
Loading
Please register or sign in to comment