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