Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git] / Test / spv.samplePosition.frag
1 #version 450
2
3 layout(location = 0) in vec4 samp;
4 layout(location = 0) out vec4 color;
5
6 void main()
7 {
8     if (gl_SamplePosition.y < 0.5)
9         color = samp;
10     else
11         color = 2 * samp;
12 }