skia2/tests/sksl/shared/InterfaceBlockAnonymous.glsl

12 lines
208 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
layout (binding = 789) uniform testBlock {
float x;
float[2] y;
layout (binding = 12) mat3x2 z;
bool w;
};
void main() {
sk_FragColor = vec4(x, y[0], y[1], 0.0);
}