Sign in
◑
Theme
flutter
/
third_party
/
glslang
/
refs/heads/upstream/main
/
.
/
Test
/
spv.viewportArray2.perVertex.tesc
blob: 91b3020590643743c64942ed9d36379c54cc91f2 [
file
] [
edit
]
#version 450
#extension GL_NV_viewport_array2 : require
layout
(
vertices
=
3
)
out
;
void
main
()
{
gl_out
[
gl_InvocationID
].
gl_ViewportIndex
=
1
;
gl_out
[
gl_InvocationID
].
gl_Layer
=
2
;
gl_out
[
gl_InvocationID
].
gl_ViewportMask
[
0
]
=
4
;
}