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-es-3.00
/
compiler
/
undef-__VERSION__.vert
blob
5ef1806958e451f969cf8b5899bc8c1bf8c8b088
1
#version 300 es
2
3
/* [config]
4
* expect_result: fail
5
* glsl_version: 3.00
6
* [end config]
7
*
8
* Section 3.4 (Preprocessor) of the OpenGL ES Shading Language 3.00 spec
9
* says:
10
*
11
* "It is an error to undefine or to redefine a built-in (pre-defined)
12
* macro name."
13
*/
14
15
#undef __VERSION__
16
17
void main() { gl_Position = vec4(0); }