projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
pointCoord.frag
1
precision highp float;
2
3
uniform sampler2D sampler;
4
5
void main()
6
{
7
vec4 color;
8
9
if (length(gl_PointCoord) < 0.3)
10
color = texture2D(sampler, gl_PointCoord);
11
else
12
color = vec4(0.0);
13
14
gl_FragColor = color;
15
}