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-vs-vec4-indexing-1.shader_test
blob
d9878b6b4dabe45fedab37d037ded2b7d049184f
1
[require]
2
GL >= 2.0
3
GLSL >= 1.10
4
5
[vertex shader]
6
void main()
7
{
8
vec4 color;
9
10
color[0] = 0.0;
11
color[1] = 1.0;
12
color[2] = 0.0;
13
color[3] = 0.0;
14
15
gl_FrontColor = color;
16
gl_Position = gl_Vertex;
17
}
18
19
[fragment shader file]
20
glsl-color.frag
21
22
[test]
23
draw rect -1 -1 2 2
24
probe rgb 1 1 0.0 1.0 0.0