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
glx-multithread-texture: Avoid front-buffer rendering.
[piglit.git]
/
tests
/
shaders
/
glsl-vs-texturematrix-2.vert
blob
94c8dff8ea1a0dac6a02f86f31d6aff83293a36a
1
uniform float i;
2
3
void main()
4
{
5
gl_Position = gl_Vertex;
6
gl_TexCoord[0] = (gl_Vertex * gl_TextureMatrix[int(i)] + 1.0) / 2.0;
7
}