blob: 6bde4788306bb07f7286b1bc8c32328fd7936360 (
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
|
hlsl.charLit.vert
Shader version: 500
0:? Sequence
0:2 Function Definition: @main( ( temp 4-component vector of float)
0:2 Function Parameters:
0:? Sequence
0:3 Sequence
0:3 move second child to first child ( temp uint)
0:3 'a1' ( temp uint)
0:3 Constant:
0:3 65 (const uint)
0:4 Sequence
0:4 move second child to first child ( temp int)
0:4 'a2' ( temp int)
0:4 Constant:
0:4 48 (const int)
0:6 Sequence
0:6 move second child to first child ( temp int)
0:6 'a3' ( temp int)
0:6 Constant:
0:6 7 (const int)
0:7 add second child into first child ( temp int)
0:7 'a3' ( temp int)
0:7 Constant:
0:7 8 (const int)
0:8 add second child into first child ( temp int)
0:8 'a3' ( temp int)
0:8 Constant:
0:8 9 (const int)
0:9 add second child into first child ( temp int)
0:9 'a3' ( temp int)
0:9 Constant:
0:9 10 (const int)
0:10 add second child into first child ( temp int)
0:10 'a3' ( temp int)
0:10 Constant:
0:10 11 (const int)
0:11 add second child into first child ( temp int)
0:11 'a3' ( temp int)
0:11 Constant:
0:11 12 (const int)
0:12 add second child into first child ( temp int)
0:12 'a3' ( temp int)
0:12 Constant:
0:12 13 (const int)
0:14 Sequence
0:14 move second child to first child ( temp int)
0:14 'a10' ( temp int)
0:14 Constant:
0:14 99 (const int)
0:16 Branch: Return with expression
0:16 Construct vec4 ( temp 4-component vector of float)
0:16 Convert uint to float ( temp float)
0:16 add ( temp uint)
0:16 add ( temp uint)
0:16 add ( temp uint)
0:16 'a1' ( temp uint)
0:16 Convert int to uint ( temp uint)
0:16 'a2' ( temp int)
0:16 Convert int to uint ( temp uint)
0:16 'a3' ( temp int)
0:16 Convert int to uint ( temp uint)
0:16 'a10' ( temp int)
0:2 Function Definition: main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput' ( out 4-component vector of float Position)
0:2 Function Call: @main( ( temp 4-component vector of float)
0:? Linker Objects
0:? '@entryPointOutput' ( out 4-component vector of float Position)
Linked vertex stage:
Shader version: 500
0:? Sequence
0:2 Function Definition: @main( ( temp 4-component vector of float)
0:2 Function Parameters:
0:? Sequence
0:3 Sequence
0:3 move second child to first child ( temp uint)
0:3 'a1' ( temp uint)
0:3 Constant:
0:3 65 (const uint)
0:4 Sequence
0:4 move second child to first child ( temp int)
0:4 'a2' ( temp int)
0:4 Constant:
0:4 48 (const int)
0:6 Sequence
0:6 move second child to first child ( temp int)
0:6 'a3' ( temp int)
0:6 Constant:
0:6 7 (const int)
0:7 add second child into first child ( temp int)
0:7 'a3' ( temp int)
0:7 Constant:
0:7 8 (const int)
0:8 add second child into first child ( temp int)
0:8 'a3' ( temp int)
0:8 Constant:
0:8 9 (const int)
0:9 add second child into first child ( temp int)
0:9 'a3' ( temp int)
0:9 Constant:
0:9 10 (const int)
0:10 add second child into first child ( temp int)
0:10 'a3' ( temp int)
0:10 Constant:
0:10 11 (const int)
0:11 add second child into first child ( temp int)
0:11 'a3' ( temp int)
0:11 Constant:
0:11 12 (const int)
0:12 add second child into first child ( temp int)
0:12 'a3' ( temp int)
0:12 Constant:
0:12 13 (const int)
0:14 Sequence
0:14 move second child to first child ( temp int)
0:14 'a10' ( temp int)
0:14 Constant:
0:14 99 (const int)
0:16 Branch: Return with expression
0:16 Construct vec4 ( temp 4-component vector of float)
0:16 Convert uint to float ( temp float)
0:16 add ( temp uint)
0:16 add ( temp uint)
0:16 add ( temp uint)
0:16 'a1' ( temp uint)
0:16 Convert int to uint ( temp uint)
0:16 'a2' ( temp int)
0:16 Convert int to uint ( temp uint)
0:16 'a3' ( temp int)
0:16 Convert int to uint ( temp uint)
0:16 'a10' ( temp int)
0:2 Function Definition: main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput' ( out 4-component vector of float Position)
0:2 Function Call: @main( ( temp 4-component vector of float)
0:? Linker Objects
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 58
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 56
Source HLSL 500
Name 4 "main"
Name 9 "@main("
Name 13 "a1"
Name 17 "a2"
Name 19 "a3"
Name 39 "a10"
Name 56 "@entryPointOutput"
Decorate 56(@entryPointOutput) BuiltIn Position
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypeFunction 7(fvec4)
11: TypeInt 32 0
12: TypePointer Function 11(int)
14: 11(int) Constant 65
15: TypeInt 32 1
16: TypePointer Function 15(int)
18: 15(int) Constant 48
20: 15(int) Constant 7
21: 15(int) Constant 8
24: 15(int) Constant 9
27: 15(int) Constant 10
30: 15(int) Constant 11
33: 15(int) Constant 12
36: 15(int) Constant 13
40: 15(int) Constant 99
55: TypePointer Output 7(fvec4)
56(@entryPointOutput): 55(ptr) Variable Output
4(main): 2 Function None 3
5: Label
57: 7(fvec4) FunctionCall 9(@main()
Store 56(@entryPointOutput) 57
Return
FunctionEnd
9(@main(): 7(fvec4) Function None 8
10: Label
13(a1): 12(ptr) Variable Function
17(a2): 16(ptr) Variable Function
19(a3): 16(ptr) Variable Function
39(a10): 16(ptr) Variable Function
Store 13(a1) 14
Store 17(a2) 18
Store 19(a3) 20
22: 15(int) Load 19(a3)
23: 15(int) IAdd 22 21
Store 19(a3) 23
25: 15(int) Load 19(a3)
26: 15(int) IAdd 25 24
Store 19(a3) 26
28: 15(int) Load 19(a3)
29: 15(int) IAdd 28 27
Store 19(a3) 29
31: 15(int) Load 19(a3)
32: 15(int) IAdd 31 30
Store 19(a3) 32
34: 15(int) Load 19(a3)
35: 15(int) IAdd 34 33
Store 19(a3) 35
37: 15(int) Load 19(a3)
38: 15(int) IAdd 37 36
Store 19(a3) 38
Store 39(a10) 40
41: 11(int) Load 13(a1)
42: 15(int) Load 17(a2)
43: 11(int) Bitcast 42
44: 11(int) IAdd 41 43
45: 15(int) Load 19(a3)
46: 11(int) Bitcast 45
47: 11(int) IAdd 44 46
48: 15(int) Load 39(a10)
49: 11(int) Bitcast 48
50: 11(int) IAdd 47 49
51: 6(float) ConvertUToF 50
52: 7(fvec4) CompositeConstruct 51 51 51 51
ReturnValue 52
FunctionEnd
|