1layout(binding=0) uniform testBlock { 2 layout(offset=0) half x; 3 layout(offset=4) int w; 4 layout(offset=16) half y[2]; 5 layout(offset=48) half3x3 z; 6}; 7 8void main() { 9 sk_FragColor = half4(x, y[0], y[1], 0); 10} 11