repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
shaders
/
CorrectPreprocess11.frag
blob
86eb1c5bc1103d84b8b2d0d29048d60fd7a1e31c
1
#if 0
2
\r
3
#define f 1.2
4
\r
5
#elif 1
6
\r
7
#define f 1.4
\r
8
9
#endif
10
11
\r
12
\r
13
#if 2
14
\r
15
#define q 8.9
\r
16
17
#endif
\r
18
\r
19
20
21
22
#if 0
23
these tokens will be ignored
\r
24
25
#else tokens to be ignored
\r
26
#define f 4.5
27
\r
28
#endif
\r
29
\r
30
31
32
#if 1
\r
33
34
#else
\r
35
36
#endif
37
\r
38
39
\r
40
#define pine
\r
41
\r
42
43
#ifdef pine please raise a warning
\r
44
45
#else
\r
46
47
#endif
\r
48
49
50
\r
51
#ifndef pine
\r
52
53
ignore these tokens too
\r
54
55
#elif 1
\r
56
#define f 3.4
\r
57
58
#endif
\r
59
\r
60
61
62
void main()
\r
63
64
{
65
\r
66
gl_FragColor = vec4(f);
67
\r
68
}