Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / spv.stereoViewRendering.vert
1 #version 450\r
2 \r
3 #extension GL_NV_viewport_array2 :require\r
4 #extension GL_NV_stereo_view_rendering : require\r
5 \r
6 layout (viewport_relative, secondary_view_offset = 2) out highp int gl_Layer;\r
7 void main()\r
8 {\r
9     gl_SecondaryViewportMaskNV[0] = 1;\r
10     gl_SecondaryPositionNV        = gl_Position;\r
11 }\r
12 \r