blob: 1611d5a55b504fe6ba49414ea9c8dd8abd98daf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
hlsl.precedence2.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:7 Function Definition: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
0:7 Function Parameters:
0:7 'a1' ( in int)
0:7 'a2' ( in int)
0:7 'a3' ( in int)
0:7 'a4' ( in int)
0:? Sequence
0:8 Branch: Return with expression
0:8 add ( temp int)
0:8 left-shift ( temp int)
0:8 add ( temp int)
0:8 component-wise multiply ( temp int)
0:8 'a1' ( in int)
0:8 'a2' ( in int)
0:8 'a3' ( in int)
0:8 'a4' ( in int)
0:8 left-shift ( temp int)
0:8 'a1' ( in int)
0:8 add ( temp int)
0:8 'a2' ( in int)
0:8 component-wise multiply ( temp int)
0:8 'a3' ( in int)
0:8 'a4' ( in int)
0:7 Function Definition: PixelShaderFunction( ( temp void)
0:7 Function Parameters:
0:? Sequence
0:7 move second child to first child ( temp int)
0:? 'a1' ( temp int)
0:? 'a1' (layout( location=0) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a2' ( temp int)
0:? 'a2' (layout( location=1) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a3' ( temp int)
0:? 'a3' (layout( location=2) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a4' ( temp int)
0:? 'a4' (layout( location=3) flat in int)
0:7 move second child to first child ( temp int)
0:? '@entryPointOutput' (layout( location=0) out int)
0:7 Function Call: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
0:? 'a1' ( temp int)
0:? 'a2' ( temp int)
0:? 'a3' ( temp int)
0:? 'a4' ( temp int)
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out int)
0:? 'a1' (layout( location=0) flat in int)
0:? 'a2' (layout( location=1) flat in int)
0:? 'a3' (layout( location=2) flat in int)
0:? 'a4' (layout( location=3) flat in int)
Linked fragment stage:
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:7 Function Definition: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
0:7 Function Parameters:
0:7 'a1' ( in int)
0:7 'a2' ( in int)
0:7 'a3' ( in int)
0:7 'a4' ( in int)
0:? Sequence
0:8 Branch: Return with expression
0:8 add ( temp int)
0:8 left-shift ( temp int)
0:8 add ( temp int)
0:8 component-wise multiply ( temp int)
0:8 'a1' ( in int)
0:8 'a2' ( in int)
0:8 'a3' ( in int)
0:8 'a4' ( in int)
0:8 left-shift ( temp int)
0:8 'a1' ( in int)
0:8 add ( temp int)
0:8 'a2' ( in int)
0:8 component-wise multiply ( temp int)
0:8 'a3' ( in int)
0:8 'a4' ( in int)
0:7 Function Definition: PixelShaderFunction( ( temp void)
0:7 Function Parameters:
0:? Sequence
0:7 move second child to first child ( temp int)
0:? 'a1' ( temp int)
0:? 'a1' (layout( location=0) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a2' ( temp int)
0:? 'a2' (layout( location=1) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a3' ( temp int)
0:? 'a3' (layout( location=2) flat in int)
0:7 move second child to first child ( temp int)
0:? 'a4' ( temp int)
0:? 'a4' (layout( location=3) flat in int)
0:7 move second child to first child ( temp int)
0:? '@entryPointOutput' (layout( location=0) out int)
0:7 Function Call: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
0:? 'a1' ( temp int)
0:? 'a2' ( temp int)
0:? 'a3' ( temp int)
0:? 'a4' ( temp int)
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out int)
0:? 'a1' (layout( location=0) flat in int)
0:? 'a2' (layout( location=1) flat in int)
0:? 'a3' (layout( location=2) flat in int)
0:? 'a4' (layout( location=3) flat in int)
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 56
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 34 37 40 43 46
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "PixelShaderFunction"
Name 13 "@PixelShaderFunction(i1;i1;i1;i1;"
Name 9 "a1"
Name 10 "a2"
Name 11 "a3"
Name 12 "a4"
Name 32 "a1"
Name 34 "a1"
Name 36 "a2"
Name 37 "a2"
Name 39 "a3"
Name 40 "a3"
Name 42 "a4"
Name 43 "a4"
Name 46 "@entryPointOutput"
Name 47 "param"
Name 49 "param"
Name 51 "param"
Name 53 "param"
Decorate 34(a1) Flat
Decorate 34(a1) Location 0
Decorate 37(a2) Flat
Decorate 37(a2) Location 1
Decorate 40(a3) Flat
Decorate 40(a3) Location 2
Decorate 43(a4) Flat
Decorate 43(a4) Location 3
Decorate 46(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
7: TypePointer Function 6(int)
8: TypeFunction 6(int) 7(ptr) 7(ptr) 7(ptr) 7(ptr)
33: TypePointer Input 6(int)
34(a1): 33(ptr) Variable Input
37(a2): 33(ptr) Variable Input
40(a3): 33(ptr) Variable Input
43(a4): 33(ptr) Variable Input
45: TypePointer Output 6(int)
46(@entryPointOutput): 45(ptr) Variable Output
4(PixelShaderFunction): 2 Function None 3
5: Label
32(a1): 7(ptr) Variable Function
36(a2): 7(ptr) Variable Function
39(a3): 7(ptr) Variable Function
42(a4): 7(ptr) Variable Function
47(param): 7(ptr) Variable Function
49(param): 7(ptr) Variable Function
51(param): 7(ptr) Variable Function
53(param): 7(ptr) Variable Function
35: 6(int) Load 34(a1)
Store 32(a1) 35
38: 6(int) Load 37(a2)
Store 36(a2) 38
41: 6(int) Load 40(a3)
Store 39(a3) 41
44: 6(int) Load 43(a4)
Store 42(a4) 44
48: 6(int) Load 32(a1)
Store 47(param) 48
50: 6(int) Load 36(a2)
Store 49(param) 50
52: 6(int) Load 39(a3)
Store 51(param) 52
54: 6(int) Load 42(a4)
Store 53(param) 54
55: 6(int) FunctionCall 13(@PixelShaderFunction(i1;i1;i1;i1;) 47(param) 49(param) 51(param) 53(param)
Store 46(@entryPointOutput) 55
Return
FunctionEnd
13(@PixelShaderFunction(i1;i1;i1;i1;): 6(int) Function None 8
9(a1): 7(ptr) FunctionParameter
10(a2): 7(ptr) FunctionParameter
11(a3): 7(ptr) FunctionParameter
12(a4): 7(ptr) FunctionParameter
14: Label
15: 6(int) Load 9(a1)
16: 6(int) Load 10(a2)
17: 6(int) IMul 15 16
18: 6(int) Load 11(a3)
19: 6(int) IAdd 17 18
20: 6(int) Load 12(a4)
21: 6(int) ShiftLeftLogical 19 20
22: 6(int) Load 9(a1)
23: 6(int) Load 10(a2)
24: 6(int) Load 11(a3)
25: 6(int) Load 12(a4)
26: 6(int) IMul 24 25
27: 6(int) IAdd 23 26
28: 6(int) ShiftLeftLogical 22 27
29: 6(int) IAdd 21 28
ReturnValue 29
FunctionEnd
|