mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-25 04:09:41 +00:00
13 lines
301 B
GLSL
13 lines
301 B
GLSL
#version 450
|
|
|
|
#extension GL_NV_viewport_array2 :require
|
|
#extension GL_NV_stereo_view_rendering : require
|
|
|
|
layout (viewport_relative, secondary_view_offset = 2) out highp int gl_Layer;
|
|
void main()
|
|
{
|
|
gl_SecondaryViewportMaskNV[0] = 1;
|
|
gl_SecondaryPositionNV = gl_Position;
|
|
}
|
|
|