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
/
expressions
/
invalid-equality-04.vert
blob
79f56403282bbb0865590fcd7667b0dd500c0015
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// [end config]
5
6
#ifdef GL_ES
7
precision mediump float;
8
#endif
9
10
attribute vec4 vertex;
11
12
vec4 A(bool flag) {
13
if (flag)
14
return vertex;
15
else
16
return vec4(1.0) - vertex;
17
}
18
19
void main() {
20
gl_Position = A(0 == 1 == 2);
21
}