blob: 1882a5a3a27cd63cfbc6d1ecd6f6f54f65f4567c (
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
|
hlsl.clipdistance-3.vert
Shader version: 500
0:? Sequence
0:4 Function Definition: @main(vf4;f1[2];f1[2]; ( temp void)
0:4 Function Parameters:
0:4 'pos' ( out 4-component vector of float)
0:4 'clip' ( out 2-element array of float)
0:4 'cull' ( out 2-element array of float)
0:? Sequence
0:5 move second child to first child ( temp 4-component vector of float)
0:5 'pos' ( out 4-component vector of float)
0:5 Constant:
0:5 1.000000
0:5 1.000000
0:5 1.000000
0:5 1.000000
0:6 move second child to first child ( temp float)
0:6 direct index ( temp float)
0:6 'clip' ( out 2-element array of float)
0:6 Constant:
0:6 0 (const int)
0:6 Constant:
0:6 0.500000
0:7 move second child to first child ( temp float)
0:7 direct index ( temp float)
0:7 'clip' ( out 2-element array of float)
0:7 Constant:
0:7 1 (const int)
0:7 Constant:
0:7 0.600000
0:9 move second child to first child ( temp float)
0:9 direct index ( temp float)
0:9 'cull' ( out 2-element array of float)
0:9 Constant:
0:9 0 (const int)
0:9 Constant:
0:9 0.525000
0:10 move second child to first child ( temp float)
0:10 direct index ( temp float)
0:10 'cull' ( out 2-element array of float)
0:10 Constant:
0:10 1 (const int)
0:10 Constant:
0:10 0.625000
0:4 Function Definition: main( ( temp void)
0:4 Function Parameters:
0:? Sequence
0:4 Function Call: @main(vf4;f1[2];f1[2]; ( temp void)
0:? 'pos' ( temp 4-component vector of float)
0:? 'clip' ( temp 2-element array of float)
0:? 'cull' ( temp 2-element array of float)
0:4 move second child to first child ( temp 4-component vector of float)
0:? 'pos' ( out 4-component vector of float Position)
0:? 'pos' ( temp 4-component vector of float)
0:? Sequence
0:4 move second child to first child ( temp 2-element array of float)
0:? 'clip' ( out 2-element array of float ClipDistance)
0:? 'clip' ( temp 2-element array of float)
0:? Sequence
0:4 move second child to first child ( temp 2-element array of float)
0:? 'cull' ( out 2-element array of float CullDistance)
0:? 'cull' ( temp 2-element array of float)
0:? Linker Objects
0:? 'pos' ( out 4-component vector of float Position)
0:? 'clip' ( out 2-element array of float ClipDistance)
0:? 'cull' ( out 2-element array of float CullDistance)
Linked vertex stage:
Shader version: 500
0:? Sequence
0:4 Function Definition: @main(vf4;f1[2];f1[2]; ( temp void)
0:4 Function Parameters:
0:4 'pos' ( out 4-component vector of float)
0:4 'clip' ( out 2-element array of float)
0:4 'cull' ( out 2-element array of float)
0:? Sequence
0:5 move second child to first child ( temp 4-component vector of float)
0:5 'pos' ( out 4-component vector of float)
0:5 Constant:
0:5 1.000000
0:5 1.000000
0:5 1.000000
0:5 1.000000
0:6 move second child to first child ( temp float)
0:6 direct index ( temp float)
0:6 'clip' ( out 2-element array of float)
0:6 Constant:
0:6 0 (const int)
0:6 Constant:
0:6 0.500000
0:7 move second child to first child ( temp float)
0:7 direct index ( temp float)
0:7 'clip' ( out 2-element array of float)
0:7 Constant:
0:7 1 (const int)
0:7 Constant:
0:7 0.600000
0:9 move second child to first child ( temp float)
0:9 direct index ( temp float)
0:9 'cull' ( out 2-element array of float)
0:9 Constant:
0:9 0 (const int)
0:9 Constant:
0:9 0.525000
0:10 move second child to first child ( temp float)
0:10 direct index ( temp float)
0:10 'cull' ( out 2-element array of float)
0:10 Constant:
0:10 1 (const int)
0:10 Constant:
0:10 0.625000
0:4 Function Definition: main( ( temp void)
0:4 Function Parameters:
0:? Sequence
0:4 Function Call: @main(vf4;f1[2];f1[2]; ( temp void)
0:? 'pos' ( temp 4-component vector of float)
0:? 'clip' ( temp 2-element array of float)
0:? 'cull' ( temp 2-element array of float)
0:4 move second child to first child ( temp 4-component vector of float)
0:? 'pos' ( out 4-component vector of float Position)
0:? 'pos' ( temp 4-component vector of float)
0:? Sequence
0:4 move second child to first child ( temp 2-element array of float)
0:? 'clip' ( out 2-element array of float ClipDistance)
0:? 'clip' ( temp 2-element array of float)
0:? Sequence
0:4 move second child to first child ( temp 2-element array of float)
0:? 'cull' ( out 2-element array of float CullDistance)
0:? 'cull' ( temp 2-element array of float)
0:? Linker Objects
0:? 'pos' ( out 4-component vector of float Position)
0:? 'clip' ( out 2-element array of float ClipDistance)
0:? 'cull' ( out 2-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 51
Capability Shader
Capability ClipDistance
Capability CullDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 44 47 49
Source HLSL 500
Name 4 "main"
Name 17 "@main(vf4;f1[2];f1[2];"
Name 14 "pos"
Name 15 "clip"
Name 16 "cull"
Name 33 "pos"
Name 34 "clip"
Name 35 "cull"
Name 36 "param"
Name 37 "param"
Name 38 "param"
Name 44 "pos"
Name 47 "clip"
Name 49 "cull"
Decorate 44(pos) BuiltIn Position
Decorate 47(clip) BuiltIn ClipDistance
Decorate 49(cull) BuiltIn CullDistance
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
9: TypeInt 32 0
10: 9(int) Constant 2
11: TypeArray 6(float) 10
12: TypePointer Function 11
13: TypeFunction 2 8(ptr) 12(ptr) 12(ptr)
19: 6(float) Constant 1065353216
20: 7(fvec4) ConstantComposite 19 19 19 19
21: TypeInt 32 1
22: 21(int) Constant 0
23: 6(float) Constant 1056964608
24: TypePointer Function 6(float)
26: 21(int) Constant 1
27: 6(float) Constant 1058642330
29: 6(float) Constant 1057384038
31: 6(float) Constant 1059061760
43: TypePointer Output 7(fvec4)
44(pos): 43(ptr) Variable Output
46: TypePointer Output 11
47(clip): 46(ptr) Variable Output
49(cull): 46(ptr) Variable Output
4(main): 2 Function None 3
5: Label
33(pos): 8(ptr) Variable Function
34(clip): 12(ptr) Variable Function
35(cull): 12(ptr) Variable Function
36(param): 8(ptr) Variable Function
37(param): 12(ptr) Variable Function
38(param): 12(ptr) Variable Function
39: 2 FunctionCall 17(@main(vf4;f1[2];f1[2];) 36(param) 37(param) 38(param)
40: 7(fvec4) Load 36(param)
Store 33(pos) 40
41: 11 Load 37(param)
Store 34(clip) 41
42: 11 Load 38(param)
Store 35(cull) 42
45: 7(fvec4) Load 33(pos)
Store 44(pos) 45
48: 11 Load 34(clip)
Store 47(clip) 48
50: 11 Load 35(cull)
Store 49(cull) 50
Return
FunctionEnd
17(@main(vf4;f1[2];f1[2];): 2 Function None 13
14(pos): 8(ptr) FunctionParameter
15(clip): 12(ptr) FunctionParameter
16(cull): 12(ptr) FunctionParameter
18: Label
Store 14(pos) 20
25: 24(ptr) AccessChain 15(clip) 22
Store 25 23
28: 24(ptr) AccessChain 15(clip) 26
Store 28 27
30: 24(ptr) AccessChain 16(cull) 22
Store 30 29
32: 24(ptr) AccessChain 16(cull) 26
Store 32 31
Return
FunctionEnd
|