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
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
compiler
/
global-initializer
/
from-global.frag
blob
e88258f218a5144d3a1b79e2fa234e59ac93cd4a
1
/* [config]
2
* expect_result: pass
3
* glsl_version: 1.10
4
* [end config]
5
*/
6
7
const float cf = 2.0;
8
float gf1 = 1.0;
9
float gf2 = gf1;
10
11
void main()
12
{
13
gl_FragColor = vec4(gf1, gf2, cf, 1.0);
14
}