Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2020-05-19
/
.
/
shaders
/
frag
/
selection-block-dominator.frag
blob: 257f4e6934cc057e973192228bdc6658b6bbc4d4 [
file
] [
log
] [
blame
]
#version 450
layout
(
location
=
0
)
out
vec4
FragColor
;
layout
(
location
=
0
)
flat
in
int
vIndex
;
void
main
()
{
int
v
;
if
(
vIndex
!=
1
)
{
FragColor
=
vec4
(
1.0
);
return
;
}
else
{
v
=
10
;
}
FragColor
=
vec4
(
v
);
}