mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
5154db5183
including SPV generation using SPV_EXT_fragment_invocation_density. This is an alias of the functionality in SPV_NV_shading_rate, and thus in some cases we can only have one set of the tokens present (switch statements), so we have picked the EXT version. This required updating the expected test results for SPV_NV_shading_rate. Also updated the known-good for spirv-headers so that the validator in spirv-tools knows about the new extension.
10 lines
481 B
Plaintext
10 lines
481 B
Plaintext
spv.fragmentDensity.vert
|
|
ERROR: 0:10: 'gl_FragSizeEXT' : undeclared identifier
|
|
ERROR: 0:10: 'assign' : cannot convert from ' temp float' to 'layout( location=0) smooth out highp 2-component vector of uint'
|
|
ERROR: 0:11: 'gl_FragInvocationCountEXT' : undeclared identifier
|
|
ERROR: 0:11: 'assign' : cannot convert from ' temp float' to 'layout( location=2) smooth out highp int'
|
|
ERROR: 4 compilation errors. No code generated.
|
|
|
|
|
|
SPIR-V is not generated for failed compile or link
|