yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e1cc1e2e
vulkan-sdk-1.4.350.0
1#version 450 2 3layout ( push_constant ) uniform Material { int a ; } mat ; // ERROR, can't use push_constant 4 5layout ( set = 0 , binding = 0 , std140 ) uniform Bt1 { int a ; } bt1 ; 6layout ( set = 1 , binding = 0 , std140 ) uniform Bt2 { int a ; } bt2 ; // ERROR, set has to be 0 7 8layout ( shared ) uniform Bt3 { int a ; } bt3 ; // ERROR, no shared, no binding 9layout ( packed ) uniform Bt4 { int a ; } bt4 ; // ERROR, no shared, no binding 10 11void main () 12{ 13gl_VertexIndex ; // ERROR, not preset 14gl_InstanceIndex ; // ERROR, not present 15gl_VertexID ; 16gl_InstanceID ; 17gl_DepthRangeParameters ; // ERROR, not present 18} 19 20uniform sampler s ; // ERROR, no sampler