1 hlsl.clipdistance-4.vert
4 0:11 Function Definition: @main(struct-VS_INPUT-vf41; ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
5 0:11 Function Parameters:
6 0:11 'v' ( const (read only) structure{ temp 4-component vector of float Position})
8 0:13 move second child to first child ( temp 4-component vector of float)
9 0:13 Position: direct index for structure ( temp 4-component vector of float)
10 0:13 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
18 0:15 move second child to first child ( temp float)
19 0:15 direct index ( temp float)
20 0:15 ClipRect: direct index for structure ( temp 4-component vector of float)
21 0:15 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
28 0:16 move second child to first child ( temp float)
29 0:16 direct index ( temp float)
30 0:16 ClipRect: direct index for structure ( temp 4-component vector of float)
31 0:16 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
38 0:17 move second child to first child ( temp float)
39 0:17 direct index ( temp float)
40 0:17 ClipRect: direct index for structure ( temp 4-component vector of float)
41 0:17 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
48 0:18 move second child to first child ( temp float)
49 0:18 direct index ( temp float)
50 0:18 ClipRect: direct index for structure ( temp 4-component vector of float)
51 0:18 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
58 0:20 Branch: Return with expression
59 0:20 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
60 0:11 Function Definition: main( ( temp void)
61 0:11 Function Parameters:
64 0:11 move second child to first child ( temp 4-component vector of float)
65 0:11 Position: direct index for structure ( temp 4-component vector of float)
66 0:? 'v' ( temp structure{ temp 4-component vector of float Position})
69 0:? 'v.Position' (layout( location=0) in 4-component vector of float)
71 0:11 move second child to first child ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
72 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
73 0:11 Function Call: @main(struct-VS_INPUT-vf41; ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
74 0:? 'v' ( temp structure{ temp 4-component vector of float Position})
75 0:11 move second child to first child ( temp 4-component vector of float)
76 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
77 0:11 Position: direct index for structure ( temp 4-component vector of float)
78 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
82 0:11 move second child to first child ( temp float)
83 0:11 direct index ( out float ClipDistance)
84 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
87 0:11 direct index ( temp float)
88 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
89 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
94 0:11 move second child to first child ( temp float)
95 0:11 direct index ( out float ClipDistance)
96 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
99 0:11 direct index ( temp float)
100 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
101 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
106 0:11 move second child to first child ( temp float)
107 0:11 direct index ( out float ClipDistance)
108 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
111 0:11 direct index ( temp float)
112 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
113 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
118 0:11 move second child to first child ( temp float)
119 0:11 direct index ( out float ClipDistance)
120 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
123 0:11 direct index ( temp float)
124 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
125 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
131 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
132 0:? 'v.Position' (layout( location=0) in 4-component vector of float)
133 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
141 0:11 Function Definition: @main(struct-VS_INPUT-vf41; ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
142 0:11 Function Parameters:
143 0:11 'v' ( const (read only) structure{ temp 4-component vector of float Position})
145 0:13 move second child to first child ( temp 4-component vector of float)
146 0:13 Position: direct index for structure ( temp 4-component vector of float)
147 0:13 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
155 0:15 move second child to first child ( temp float)
156 0:15 direct index ( temp float)
157 0:15 ClipRect: direct index for structure ( temp 4-component vector of float)
158 0:15 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
165 0:16 move second child to first child ( temp float)
166 0:16 direct index ( temp float)
167 0:16 ClipRect: direct index for structure ( temp 4-component vector of float)
168 0:16 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
175 0:17 move second child to first child ( temp float)
176 0:17 direct index ( temp float)
177 0:17 ClipRect: direct index for structure ( temp 4-component vector of float)
178 0:17 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
185 0:18 move second child to first child ( temp float)
186 0:18 direct index ( temp float)
187 0:18 ClipRect: direct index for structure ( temp 4-component vector of float)
188 0:18 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
195 0:20 Branch: Return with expression
196 0:20 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
197 0:11 Function Definition: main( ( temp void)
198 0:11 Function Parameters:
201 0:11 move second child to first child ( temp 4-component vector of float)
202 0:11 Position: direct index for structure ( temp 4-component vector of float)
203 0:? 'v' ( temp structure{ temp 4-component vector of float Position})
206 0:? 'v.Position' (layout( location=0) in 4-component vector of float)
208 0:11 move second child to first child ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
209 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
210 0:11 Function Call: @main(struct-VS_INPUT-vf41; ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
211 0:? 'v' ( temp structure{ temp 4-component vector of float Position})
212 0:11 move second child to first child ( temp 4-component vector of float)
213 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
214 0:11 Position: direct index for structure ( temp 4-component vector of float)
215 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
219 0:11 move second child to first child ( temp float)
220 0:11 direct index ( out float ClipDistance)
221 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
224 0:11 direct index ( temp float)
225 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
226 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
231 0:11 move second child to first child ( temp float)
232 0:11 direct index ( out float ClipDistance)
233 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
236 0:11 direct index ( temp float)
237 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
238 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
243 0:11 move second child to first child ( temp float)
244 0:11 direct index ( out float ClipDistance)
245 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
248 0:11 direct index ( temp float)
249 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
250 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
255 0:11 move second child to first child ( temp float)
256 0:11 direct index ( out float ClipDistance)
257 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
260 0:11 direct index ( temp float)
261 0:11 ClipRect: direct index for structure ( temp 4-component vector of float)
262 0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float ClipRect})
268 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
269 0:? 'v.Position' (layout( location=0) in 4-component vector of float)
270 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
272 // Module Version 10000
273 // Generated by (magic number): 8000b
274 // Id's are bound by 72
277 Capability ClipDistance
278 1: ExtInstImport "GLSL.std.450"
279 MemoryModel Logical GLSL450
280 EntryPoint Vertex 4 "main" 43 50 56
284 MemberName 8(VS_INPUT) 0 "Position"
286 MemberName 9(VS_OUTPUT) 0 "Position"
287 MemberName 9(VS_OUTPUT) 1 "ClipRect"
288 Name 12 "@main(struct-VS_INPUT-vf41;"
293 Name 46 "flattenTemp"
294 Name 50 "@entryPointOutput.Position"
295 Name 56 "@entryPointOutput.ClipRect"
296 Decorate 43(v.Position) Location 0
297 Decorate 50(@entryPointOutput.Position) BuiltIn Position
298 Decorate 56(@entryPointOutput.ClipRect) BuiltIn ClipDistance
302 7: TypeVector 6(float) 4
303 8(VS_INPUT): TypeStruct 7(fvec4)
304 9(VS_OUTPUT): TypeStruct 7(fvec4) 7(fvec4)
305 10: TypeFunction 9(VS_OUTPUT) 8(VS_INPUT)
306 14: TypePointer Function 9(VS_OUTPUT)
308 17: 16(int) Constant 0
309 18: 6(float) Constant 0
310 19: 7(fvec4) ConstantComposite 18 18 18 18
311 20: TypePointer Function 7(fvec4)
312 22: 16(int) Constant 1
313 23: 6(float) Constant 1065353216
315 25: 24(int) Constant 0
316 26: TypePointer Function 6(float)
317 28: 6(float) Constant 1073741824
318 29: 24(int) Constant 1
319 31: 6(float) Constant 1077936128
320 32: 24(int) Constant 2
321 34: 6(float) Constant 1082130432
322 35: 24(int) Constant 3
323 40: TypePointer Function 8(VS_INPUT)
324 42: TypePointer Input 7(fvec4)
325 43(v.Position): 42(ptr) Variable Input
326 49: TypePointer Output 7(fvec4)
327 50(@entryPointOutput.Position): 49(ptr) Variable Output
328 53: 24(int) Constant 4
329 54: TypeArray 6(float) 53
330 55: TypePointer Output 54
331 56(@entryPointOutput.ClipRect): 55(ptr) Variable Output
332 59: TypePointer Output 6(float)
333 64: 16(int) Constant 2
334 68: 16(int) Constant 3
335 4(main): 2 Function None 3
337 41(v): 40(ptr) Variable Function
338 46(flattenTemp): 14(ptr) Variable Function
339 44: 7(fvec4) Load 43(v.Position)
340 45: 20(ptr) AccessChain 41(v) 17
342 47: 8(VS_INPUT) Load 41(v)
343 48:9(VS_OUTPUT) FunctionCall 12(@main(struct-VS_INPUT-vf41;) 47
344 Store 46(flattenTemp) 48
345 51: 20(ptr) AccessChain 46(flattenTemp) 17
347 Store 50(@entryPointOutput.Position) 52
348 57: 26(ptr) AccessChain 46(flattenTemp) 22 25
350 60: 59(ptr) AccessChain 56(@entryPointOutput.ClipRect) 17
352 61: 26(ptr) AccessChain 46(flattenTemp) 22 29
354 63: 59(ptr) AccessChain 56(@entryPointOutput.ClipRect) 22
356 65: 26(ptr) AccessChain 46(flattenTemp) 22 32
358 67: 59(ptr) AccessChain 56(@entryPointOutput.ClipRect) 64
360 69: 26(ptr) AccessChain 46(flattenTemp) 22 35
362 71: 59(ptr) AccessChain 56(@entryPointOutput.ClipRect) 68
366 12(@main(struct-VS_INPUT-vf41;):9(VS_OUTPUT) Function None 10
367 11(v): 8(VS_INPUT) FunctionParameter
369 15(Output): 14(ptr) Variable Function
370 21: 20(ptr) AccessChain 15(Output) 17
372 27: 26(ptr) AccessChain 15(Output) 22 25
374 30: 26(ptr) AccessChain 15(Output) 22 29
376 33: 26(ptr) AccessChain 15(Output) 22 32
378 36: 26(ptr) AccessChain 15(Output) 22 35
380 37:9(VS_OUTPUT) Load 15(Output)