bloat-buster/dependencies/glslang-15.0.0/Test/gl_samplemask_array_size.frag
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

10 lines
247 B
GLSL

#version 320 es
layout(location = 0) out mediump vec4 fragColor;
void main (void)
{
for (int i = 0; i < gl_SampleMask.length(); ++i)
gl_SampleMask[i] = int(0xAAAAAAAA);
fragColor = vec4(0.0, 1.0, 0.0, 1.0);
}