Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / spv.sampleId.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_SampleID < 3)
9         color = samp;
10     else
11         color = 2 * samp;
12 }