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
cl: Don't use device_infos if num_device_infos == 0
[piglit.git]
/
tests
/
glslparsertest
/
glsl2
/
const-vec-scalar-05.frag
blob
02c79e13c3723d2e84d75046e70d5450e9901971
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.20
4
//
5
// [end config]
6
7
#version 120
8
void main()
9
{
10
const vec4 t1 = vec4(-1.0, 0.0, -1.0, -1.0);
11
const int one = 1;
12
const vec4 c2 = one + t1;
13
gl_FragColor = c2;
14
}