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-logic-not-02.vert
blob
e05f11fa3e142bdb09c5ded689c01bb573377a18
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
void main() {
11
// "0" is not boolean, so the logical not operator cannot be applied
12
// to it.
13
if (!0)
14
gl_Position = vec4(0.0);
15
else
16
gl_Position = vec4(1.0);
17
}