blob: fc7d52e24869267a570ef5422cdbc75f2427f5ab [file] [log] [blame]
chaoc771d89f2017-01-13 01:10:53 -08001#version 450
2
3#extension GL_NV_viewport_array2 :require
4#extension GL_NV_stereo_view_rendering : require
5
6layout (viewport_relative, secondary_view_offset = 2) out highp int gl_Layer;
7void main()
8{
9 gl_SecondaryViewportMaskNV[0] = 1;
10 gl_SecondaryPositionNV = gl_Position;
11}
12