bgfx/3rdparty/glslang/Test/spv.sampleId.frag
Branimir Karadžić 88f6d1b0c0 Updated glslang.
2017-11-24 00:20:36 -08:00

12 lines
184 B
GLSL

#version 450
layout(location = 0) in vec4 samp;
layout(location = 0) out vec4 color;
void main()
{
if (gl_SampleID < 3)
color = samp;
else
color = 2 * samp;
}