glslang/Test/baseResults/spv.intrinsicsFakeEnable.vert.out
Rex Xu 0da98c51c4 Spirv_intrinsics: Remove early return in layoutTypeCheck
Previously, when GL_EXT_spirv_intrinsics are enabled, we disable all
checks in layoutTypeCheck. This is too coarse because we can use nothing
in GL_EXT_spirv_intrinsics in a shader while the necessary processing is
skipped, such as addUsedLocation.

In this change, we apply fine check and more might be added if we
encounter new cases in the future.
2023-12-11 20:03:17 +00:00

7 lines
187 B
Plaintext

spv.intrinsicsFakeEnable.vert
ERROR: 0:7: 'location' : overlapping use of location 0
ERROR: 1 compilation errors. No code generated.
SPIR-V is not generated for failed compile or link