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.vert
blob
0da7bca04a9330102db55e59d48246462c0f401c
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_Position = vec4(gf1, gf2, cf, 1.0);
14
}