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
ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[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; }