Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
spv.samplePosition.frag
blob: b73dd61fa58499967e37314cfe1dfae71bb2b5a6 [
file
] [
log
] [
blame
] [
edit
]
#version 450
layout
(
location
=
0
)
in
vec4 samp
;
layout
(
location
=
0
)
out
vec4 color
;
void
main
()
{
if
(
gl_SamplePosition
.
y
<
0.5
)
color
=
samp
;
else
color
=
2
*
samp
;
}