yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b4e66d7b
main
1#version 400 2 3// Original bug report from: https://github.com/KhronosGroup/glslang/issues/3931 4// Error was: "syntax error, unexpected TYPE_NAME, expecting IDENTIFIER" 5// when defining a struct field with the same name as a previously defined 6// struct. 7struct B 8{ 9vec3 t ; 10}; 11 12struct K 13{ 14float A ,B ;// This should work. The B field is in a different scope 15// than the B struct. 16}; 17 18void main (){ 19int x ,B ,y ,K ; 20}