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
/
if-statement-in-macro-in-false-ifdef.vert
blob
938fe31f825a8a55da5bec8efe7048839d46475f
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.10
4
// [end config]
5
//
6
// Reproduces https://bugs.freedesktop.org/show_bug.cgi?id=107772
7
8
#version 110
9
10
#ifdef NOT_DEFINED
11
#define A_MACRO(x) \
12
if (x)
13
#endif
14
15
void main()
16
{
17
gl_Position = vec4(0);
18
}