Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/heads/upstream/fix-1582
/
.
/
shaders-msl-no-opt
/
vert
/
viewport-index.msl2.invalid.vert
blob: c05c104848b0d92239944e65b2813235eb7d019c [
file
] [
log
] [
blame
]
#version 450
#extension GL_ARB_shader_viewport_layer_array : require
layout
(
location
=
0
)
in
vec4 coord
;
void
main
()
{
gl_Position
=
coord
;
gl_ViewportIndex
=
int
(
coord
.
z
);
}