unplugged-system/external/skia/tests/sksl/shared/InterfaceBlockMultipleAnonymous.glsl

12 lines
185 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
layout (binding = 1) uniform testBlockA {
vec2 x;
};
layout (binding = 2) uniform testBlockB {
vec2 y;
};
void main() {
sk_FragColor = vec4(x, y);
}