skia2/tests/sksl/shared/InterfaceBlockNamed.glsl

9 lines
137 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
layout (binding = 456) uniform testBlock {
float x;
} test;
void main() {
sk_FragColor = vec4(test.x);
}