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-__FILE__.vert
blob
930d1b408ee434a0d0d194d9fb3c09f759e604ac
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 __FILE__
16
17
void main() { gl_Position = vec4(0); }