Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
fd556e32b31ec352641205a52cf8769c3af40413
/
.
/
Test
/
spv.samplePosition.frag
blob: b73dd61fa58499967e37314cfe1dfae71bb2b5a6 [
file
] [
log
] [
blame
]
#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
;
}