repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cmake: move defaults into the per-platform section
[piglit.git]
/
tests
/
shaders
/
glsl-fs-pointcoord.frag
blob
138f2588321a729fe3560d003cb56b44ed4db55c
1
#version 120
2
3
varying vec4 var0;
4
varying vec4 var1;
5
6
void main()
7
{
8
gl_FragColor = vec4(gl_PointCoord.xy * 1.1 - 0.05, 0, 0);
9
10
if (var0 != vec4(0, 1, 2, 3) || var1 != vec4(4, 5, 6, 7))
11
gl_FragColor.z = 1; /* something is wrong */
12
}