Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
b0f3d794c8b150cf9e104a09e2d29bc06e24a662
/
.
/
Test
/
pointCoord.frag
blob: 8dc9e746db44ede6ee372018ec8e100ed1fcfb52 [
file
] [
log
] [
blame
]
precision highp
float
;
uniform sampler2D sampler
;
void
main
()
{
vec4 color
;
if
(
length
(
gl_PointCoord
)
<
0.3
)
color
=
texture2D
(
sampler
,
gl_PointCoord
);
else
color
=
vec4
(
0.0
);
gl_FragColor
=
color
;
}