projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
preprocessor.line.vert
1
#line 300
\r
2
\r
3
#line 2
\r
4
\r
5
\r
6
\r
7
\r
8
\r
9
#line __LINE__ + 3
\r
10
\r
11
\r
12
#line __FILE__ + 2
\r
13
\r
14
#line __FILE__ * __LINE__
\r
15
\r
16
\r
17
#define X 4
\r
18
\r
19
#line X
\r
20
\r
21
#undef X
\r
22
\r
23
#define X(y) y + 3 + 2
\r
24
\r
25
#line X(3)
\r
26
\r
27
void main() {
\r
28
gl_Position = vec4(__LINE__);
\r
29
}
\r
30
\r
31
#line X(3) 4
\r
32
\r
33
#define Z(y, q) \
\r
34
y*q*2 q
\r
35
\r
36
#line Z(2, 3)
\r
37
\r
38
#line 1
\r
39
\r