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