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-02.vert
blob
24c8ea8949d280963c59bb41ebebf748577af3c9
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
void main() {
13
if (0 == 1 == 2) {
14
gl_Position = vertex;
15
} else {
16
gl_Position = vec4(1.0) - vertex;
17
}
18
}