repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
shaders
/
glsl-arb-fragment-coord-conventions-define.frag
blob
645f77fab8cb24001ae1c7e9f72ff2cefaa2ef03
1
#extension GL_ARB_fragment_coord_conventions : warn
2
3
void main()
4
{
5
#ifdef GL_ARB_fragment_coord_conventions
6
gl_FragColor = vec4(0.0, 1.0, 0.0, 0.0);
7
#else
8
gl_FragColor = vec4(1.0, 0.0, 0.0, 0.0);
9
#endif
10
}