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
/
preprocessor
/
redefine-03.vert
blob
dc17a3c56842db1199cdefd73980f96bac6c4bf9
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.10
4
// [end config]
5
6
#define A
7
#define A
8
#define B 1
9
#define B 1
10
11
/* Some compilers generate spurious errors if a shader does not contain
12
* any code or declarations.
13
*/
14
int foo(void) { return 1; }