Open bkaradzic opened 6 years ago
What trigger is being looked for?
The SPIR-V looks quite similar for the two.
$Global:
Decorate 13($Global) Block
13($Global): TypeStruct 7(fvec4)
14: TypePointer Uniform 13($Global)
15: 14(ptr) Variable Uniform
u_test1:
Decorate 21 Block
21: TypeStruct 7(fvec4)
22: TypePointer Uniform 21(struct)
23: 22(ptr) Variable Uniform
glslangValidator -V -D -e main test.frag
spirv-reflect frag.spv
will output only descriptor binding for unnamed constant buffer that contains
u_test1
.Issue was first reported in SPIRV-Reflect but it seems to be glslangValidator output issue: https://github.com/chaoticbob/SPIRV-Reflect/issues/47