3 layout(push_constant) uniform Material { int a; } mat; // ERROR, can't use push_constant
\r
5 layout(set = 0, binding = 0, std140) uniform Bt1 { int a; } bt1;
\r
6 layout(set = 1, binding = 0, std140) uniform Bt2 { int a; } bt2; // ERROR, set has to be 0
\r
8 layout(shared) uniform Bt3 { int a; } bt3; // ERROR, no shared, no binding
\r
9 layout(packed) uniform Bt4 { int a; } bt4; // ERROR, no shared, no binding
\r
13 gl_VertexIndex; // ERROR, not preset
\r
14 gl_InstanceIndex; // ERROR, not present
\r
17 gl_DepthRangeParameters; // ERROR, not present
\r
20 uniform sampler s; // ERROR, no sampler
\r