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

9 lines
253 B
GLSL

#version 320 es
layout (location = 0) out mediump vec4 fs_color;
void main()
{
const highp int invalidIndex = (gl_MaxSamples + 31) / 32;
highp int invalidValue = gl_SampleMask[invalidIndex];
fs_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
}