Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2020-05-19
/
.
/
shaders-msl
/
frag
/
write-depth-in-function.frag
blob: 1af7f5d9bd9d1c0e38de9d980aa8440f703acffb [
file
] [
log
] [
blame
]
#version 450
layout
(
location
=
0
)
in
float
v
;
layout
(
location
=
0
)
out
float
FragColor
;
void
set_output_depth
()
{
gl_FragDepth
=
0.2
;
}
void
main
()
{
FragColor
=
1.0
;
set_output_depth
();
}