Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
ec5c11931bcfc1f438ae4aec46e1783a42cec7e6
/
.
/
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
;
}