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
perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
execution
/
glsl-fs-functions-4.shader_test
blob
36cb246581a8b41a0352c40ea04094ede7a39ba8
1
[require]
2
GLSL >= 1.10
3
4
[vertex shader]
5
void main()
6
{
7
gl_Position = gl_Vertex;
8
}
9
10
[fragment shader]
11
void do_nothing()
12
{
13
return;
14
}
15
16
void main()
17
{
18
do_nothing();
19
gl_FragColor = vec4(0.0, 1.0, 0.0, 0.0);
20
}
21
22
[test]
23
draw rect -1 -1 2 2
24
probe all rgb 0.0 1.0 0.0 0.0