33 layout(binding=1) uniform samplerBuffer uniformTexelBufferDyn[];
\r
34 layout(binding=2, r32f) uniform imageBuffer storageTexelBufferDyn[];
\r
35 layout(binding=3) uniform uname { float a; } uniformBuffer[];
\r
36 layout(binding=4) buffer bname { float b; } storageBuffer[];
\r
37 layout(binding=5) uniform sampler2D sampledImage[];
\r
38 layout(binding=6, r32f) uniform image2D storageImage[];
\r
39 layout(binding=8) uniform samplerBuffer uniformTexelBuffer[];
\r
40 layout(binding=9, r32f) uniform imageBuffer storageTexelBuffer[];
\r
66 ubuf.a.length(); // ERROR
\r
67 ubuf.b.length(); // ERROR
\r
68 buf.a.length(); // ERROR
\r
71 ubufa[1].a[i]; // ERROR
\r
72 ubufa[1].b[i]; // ERROR
\r
73 bufa[1].a[i]; // ERROR
\r
76 ubufa[1].a.length(); // ERROR
\r
77 ubufa[1].b.length(); // ERROR
\r
78 bufa[1].a.length(); // ERROR
\r
86 aua.length(); // ERROR
\r
87 aub.length(); // ERROR
\r
88 aba.length(); // ERROR
\r
91 uniformTexelBufferDyn[1];
\r
92 storageTexelBufferDyn[1];
\r
97 uniformTexelBuffer[1];
\r
98 storageTexelBuffer[1];
\r
100 uniformTexelBufferDyn[i]; // ERROR, need extension
\r
101 storageTexelBufferDyn[i]; // ERROR, need extension
\r
102 uniformBuffer[i]; // ERROR, need extension
\r
103 storageBuffer[i]; // ERROR, need extension
\r
104 sampledImage[i]; // ERROR, need extension
\r
105 storageImage[i]; // ERROR, need extension
\r
106 uniformTexelBuffer[i]; // ERROR, need extension
\r
107 storageTexelBuffer[i]; // ERROR, need extension
\r
109 float local[] = ubuf.b; // ERROR, can initialize with runtime-sized array
\r