blob: a3502b774167de3966484f660e8385814c3b060b [file] [log] [blame]
LoopDawg307b6502017-07-05 11:33:06 -06001hlsl.clipdistance-9.vert
2Shader version: 500
30:? Sequence
40:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
50:7 Function Parameters:
60:7 'clip0' ( out 3-component vector of float)
70:7 'clip1' ( out float)
80:? Sequence
90:9 move second child to first child ( temp 4-component vector of float)
100:9 Position: direct index for structure ( temp 4-component vector of float)
110:9 'Output' ( temp structure{ temp 4-component vector of float Position})
120:9 Constant:
130:9 0 (const int)
140:9 Constant:
150:9 0.000000
160:9 0.000000
170:9 0.000000
180:9 0.000000
190:11 move second child to first child ( temp float)
200:11 direct index ( temp float)
210:11 'clip0' ( out 3-component vector of float)
220:11 Constant:
230:11 0 (const int)
240:11 Constant:
250:11 0.000000
260:12 move second child to first child ( temp float)
270:12 direct index ( temp float)
280:12 'clip0' ( out 3-component vector of float)
290:12 Constant:
300:12 1 (const int)
310:12 Constant:
320:12 1.000000
330:13 move second child to first child ( temp float)
340:13 direct index ( temp float)
350:13 'clip0' ( out 3-component vector of float)
360:13 Constant:
370:13 2 (const int)
380:13 Constant:
390:13 2.000000
400:16 move second child to first child ( temp float)
410:16 'clip1' ( out float)
420:16 Constant:
430:16 3.000000
440:18 Branch: Return with expression
450:18 'Output' ( temp structure{ temp 4-component vector of float Position})
460:7 Function Definition: main( ( temp void)
470:7 Function Parameters:
480:? Sequence
490:7 Sequence
500:7 move second child to first child ( temp 4-component vector of float)
510:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
520:7 Position: direct index for structure ( temp 4-component vector of float)
530:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
540:? 'clip0' ( temp 3-component vector of float)
550:? 'clip1' ( temp float)
560:7 Constant:
570:7 0 (const int)
580:? Sequence
590:7 move second child to first child ( temp float)
600:7 direct index ( temp float)
610:? 'clip0' ( out 4-element array of float ClipDistance)
620:7 Constant:
630:7 0 (const int)
640:7 direct index ( temp float)
650:? 'clip0' ( temp 3-component vector of float)
660:7 Constant:
670:7 0 (const int)
680:7 move second child to first child ( temp float)
690:7 direct index ( temp float)
700:? 'clip0' ( out 4-element array of float ClipDistance)
710:7 Constant:
720:7 1 (const int)
730:7 direct index ( temp float)
740:? 'clip0' ( temp 3-component vector of float)
750:7 Constant:
760:7 1 (const int)
770:7 move second child to first child ( temp float)
780:7 direct index ( temp float)
790:? 'clip0' ( out 4-element array of float ClipDistance)
800:7 Constant:
810:7 2 (const int)
820:7 direct index ( temp float)
830:? 'clip0' ( temp 3-component vector of float)
840:7 Constant:
850:7 2 (const int)
860:? Sequence
870:7 move second child to first child ( temp float)
880:7 direct index ( temp float)
890:? 'clip0' ( out 4-element array of float ClipDistance)
900:7 Constant:
910:7 3 (const int)
920:? 'clip1' ( temp float)
930:? Linker Objects
940:? '@entryPointOutput' (layout( location=0) out structure{})
950:? 'clip0' ( out 4-element array of float ClipDistance)
96
97
98Linked vertex stage:
99
100
101Shader version: 500
1020:? Sequence
1030:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
1040:7 Function Parameters:
1050:7 'clip0' ( out 3-component vector of float)
1060:7 'clip1' ( out float)
1070:? Sequence
1080:9 move second child to first child ( temp 4-component vector of float)
1090:9 Position: direct index for structure ( temp 4-component vector of float)
1100:9 'Output' ( temp structure{ temp 4-component vector of float Position})
1110:9 Constant:
1120:9 0 (const int)
1130:9 Constant:
1140:9 0.000000
1150:9 0.000000
1160:9 0.000000
1170:9 0.000000
1180:11 move second child to first child ( temp float)
1190:11 direct index ( temp float)
1200:11 'clip0' ( out 3-component vector of float)
1210:11 Constant:
1220:11 0 (const int)
1230:11 Constant:
1240:11 0.000000
1250:12 move second child to first child ( temp float)
1260:12 direct index ( temp float)
1270:12 'clip0' ( out 3-component vector of float)
1280:12 Constant:
1290:12 1 (const int)
1300:12 Constant:
1310:12 1.000000
1320:13 move second child to first child ( temp float)
1330:13 direct index ( temp float)
1340:13 'clip0' ( out 3-component vector of float)
1350:13 Constant:
1360:13 2 (const int)
1370:13 Constant:
1380:13 2.000000
1390:16 move second child to first child ( temp float)
1400:16 'clip1' ( out float)
1410:16 Constant:
1420:16 3.000000
1430:18 Branch: Return with expression
1440:18 'Output' ( temp structure{ temp 4-component vector of float Position})
1450:7 Function Definition: main( ( temp void)
1460:7 Function Parameters:
1470:? Sequence
1480:7 Sequence
1490:7 move second child to first child ( temp 4-component vector of float)
1500:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
1510:7 Position: direct index for structure ( temp 4-component vector of float)
1520:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
1530:? 'clip0' ( temp 3-component vector of float)
1540:? 'clip1' ( temp float)
1550:7 Constant:
1560:7 0 (const int)
1570:? Sequence
1580:7 move second child to first child ( temp float)
1590:7 direct index ( temp float)
1600:? 'clip0' ( out 4-element array of float ClipDistance)
1610:7 Constant:
1620:7 0 (const int)
1630:7 direct index ( temp float)
1640:? 'clip0' ( temp 3-component vector of float)
1650:7 Constant:
1660:7 0 (const int)
1670:7 move second child to first child ( temp float)
1680:7 direct index ( temp float)
1690:? 'clip0' ( out 4-element array of float ClipDistance)
1700:7 Constant:
1710:7 1 (const int)
1720:7 direct index ( temp float)
1730:? 'clip0' ( temp 3-component vector of float)
1740:7 Constant:
1750:7 1 (const int)
1760:7 move second child to first child ( temp float)
1770:7 direct index ( temp float)
1780:? 'clip0' ( out 4-element array of float ClipDistance)
1790:7 Constant:
1800:7 2 (const int)
1810:7 direct index ( temp float)
1820:? 'clip0' ( temp 3-component vector of float)
1830:7 Constant:
1840:7 2 (const int)
1850:? Sequence
1860:7 move second child to first child ( temp float)
1870:7 direct index ( temp float)
1880:? 'clip0' ( out 4-element array of float ClipDistance)
1890:7 Constant:
1900:7 3 (const int)
1910:? 'clip1' ( temp float)
1920:? Linker Objects
1930:? '@entryPointOutput' (layout( location=0) out structure{})
1940:? 'clip0' ( out 4-element array of float ClipDistance)
195
196// Module Version 10000
197// Generated by (magic number): 80001
198// Id's are bound by 70
199
200 Capability Shader
201 Capability ClipDistance
202 1: ExtInstImport "GLSL.std.450"
203 MemoryModel Logical GLSL450
204 EntryPoint Vertex 4 "main" 39 51 69
205 Source HLSL 500
206 Name 4 "main"
207 Name 11 "VS_OUTPUT"
208 MemberName 11(VS_OUTPUT) 0 "Position"
209 Name 15 "@main(vf3;f1;"
210 Name 13 "clip0"
211 Name 14 "clip1"
212 Name 18 "Output"
213 Name 39 "@entryPointOutput_Position"
214 Name 40 "clip0"
215 Name 41 "clip1"
216 Name 42 "param"
217 Name 43 "param"
218 Name 51 "clip0"
219 Name 67 "VS_OUTPUT"
220 Name 69 "@entryPointOutput"
221 Decorate 39(@entryPointOutput_Position) BuiltIn Position
222 Decorate 51(clip0) BuiltIn ClipDistance
223 Decorate 69(@entryPointOutput) Location 0
224 2: TypeVoid
225 3: TypeFunction 2
226 6: TypeFloat 32
227 7: TypeVector 6(float) 3
228 8: TypePointer Function 7(fvec3)
229 9: TypePointer Function 6(float)
230 10: TypeVector 6(float) 4
231 11(VS_OUTPUT): TypeStruct 10(fvec4)
232 12: TypeFunction 11(VS_OUTPUT) 8(ptr) 9(ptr)
233 17: TypePointer Function 11(VS_OUTPUT)
234 19: TypeInt 32 1
235 20: 19(int) Constant 0
236 21: 6(float) Constant 0
237 22: 10(fvec4) ConstantComposite 21 21 21 21
238 23: TypePointer Function 10(fvec4)
239 25: TypeInt 32 0
240 26: 25(int) Constant 0
241 28: 6(float) Constant 1065353216
242 29: 25(int) Constant 1
243 31: 6(float) Constant 1073741824
244 32: 25(int) Constant 2
245 34: 6(float) Constant 1077936128
246 38: TypePointer Output 10(fvec4)
24739(@entryPointOutput_Position): 38(ptr) Variable Output
248 48: 25(int) Constant 4
249 49: TypeArray 6(float) 48
250 50: TypePointer Output 49
251 51(clip0): 50(ptr) Variable Output
252 54: TypePointer Output 6(float)
253 56: 19(int) Constant 1
254 60: 19(int) Constant 2
255 64: 19(int) Constant 3
256 67(VS_OUTPUT): TypeStruct
257 68: TypePointer Output 67(VS_OUTPUT)
25869(@entryPointOutput): 68(ptr) Variable Output
259 4(main): 2 Function None 3
260 5: Label
261 40(clip0): 8(ptr) Variable Function
262 41(clip1): 9(ptr) Variable Function
263 42(param): 8(ptr) Variable Function
264 43(param): 9(ptr) Variable Function
265 44:11(VS_OUTPUT) FunctionCall 15(@main(vf3;f1;) 42(param) 43(param)
266 45: 7(fvec3) Load 42(param)
267 Store 40(clip0) 45
268 46: 6(float) Load 43(param)
269 Store 41(clip1) 46
270 47: 10(fvec4) CompositeExtract 44 0
271 Store 39(@entryPointOutput_Position) 47
272 52: 9(ptr) AccessChain 40(clip0) 26
273 53: 6(float) Load 52
274 55: 54(ptr) AccessChain 51(clip0) 20
275 Store 55 53
276 57: 9(ptr) AccessChain 40(clip0) 29
277 58: 6(float) Load 57
278 59: 54(ptr) AccessChain 51(clip0) 56
279 Store 59 58
280 61: 9(ptr) AccessChain 40(clip0) 32
281 62: 6(float) Load 61
282 63: 54(ptr) AccessChain 51(clip0) 60
283 Store 63 62
284 65: 6(float) Load 41(clip1)
285 66: 54(ptr) AccessChain 51(clip0) 64
286 Store 66 65
287 Return
288 FunctionEnd
28915(@main(vf3;f1;):11(VS_OUTPUT) Function None 12
290 13(clip0): 8(ptr) FunctionParameter
291 14(clip1): 9(ptr) FunctionParameter
292 16: Label
293 18(Output): 17(ptr) Variable Function
294 24: 23(ptr) AccessChain 18(Output) 20
295 Store 24 22
296 27: 9(ptr) AccessChain 13(clip0) 26
297 Store 27 21
298 30: 9(ptr) AccessChain 13(clip0) 29
299 Store 30 28
300 33: 9(ptr) AccessChain 13(clip0) 32
301 Store 33 31
302 Store 14(clip1) 34
303 35:11(VS_OUTPUT) Load 18(Output)
304 ReturnValue 35
305 FunctionEnd