mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
0da98c51c4
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.
7 lines
187 B
Plaintext
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
|