1hlsl.semantic.vert
2Shader version: 500
30:? Sequence
40:10  Function Definition: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
50:10    Function Parameters:
60:10      'ins' ( in structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
70:?     Sequence
80:12      Branch: Return with expression
90:12        's' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
100:10  Function Definition: main( ( temp void)
110:10    Function Parameters:
120:?     Sequence
130:10      Sequence
140:10        move second child to first child ( temp float)
150:10          clip0: direct index for structure ( temp float)
160:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
170:10            Constant:
180:10              0 (const int)
190:?           'ins.clip0' (layout( location=0) in float)
200:10        move second child to first child ( temp float)
210:10          clip1: direct index for structure ( temp float)
220:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
230:10            Constant:
240:10              1 (const int)
250:?           'ins.clip1' (layout( location=1) in float)
260:10        move second child to first child ( temp float)
270:10          cull0: direct index for structure ( temp float)
280:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
290:10            Constant:
300:10              2 (const int)
310:?           'ins.cull0' (layout( location=0) in float)
320:10        move second child to first child ( temp float)
330:10          cull1: direct index for structure ( temp float)
340:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
350:10            Constant:
360:10              3 (const int)
370:?           'ins.cull1' (layout( location=1) in float)
380:10        move second child to first child ( temp int)
390:10          ii: direct index for structure ( temp int)
400:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
410:10            Constant:
420:10              4 (const int)
430:?           'ins.ii' ( in int InstanceIndex)
440:10      Sequence
450:10        move second child to first child ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
460:10          'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
470:10          Function Call: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
480:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
490:?         Sequence
500:10          move second child to first child ( temp float)
510:10            direct index ( out float ClipDistance)
520:?               '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
530:10              Constant:
540:10                0 (const int)
550:10            clip0: direct index for structure ( temp float)
560:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
570:10              Constant:
580:10                0 (const int)
590:?         Sequence
600:10          move second child to first child ( temp float)
610:10            direct index ( out float ClipDistance)
620:?               '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
630:10              Constant:
640:10                1 (const int)
650:10            clip1: direct index for structure ( temp float)
660:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
670:10              Constant:
680:10                1 (const int)
690:?         Sequence
700:10          move second child to first child ( temp float)
710:10            direct index ( out float CullDistance)
720:?               '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
730:10              Constant:
740:10                0 (const int)
750:10            cull0: direct index for structure ( temp float)
760:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
770:10              Constant:
780:10                2 (const int)
790:?         Sequence
800:10          move second child to first child ( temp float)
810:10            direct index ( out float CullDistance)
820:?               '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
830:10              Constant:
840:10                1 (const int)
850:10            cull1: direct index for structure ( temp float)
860:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
870:10              Constant:
880:10                3 (const int)
890:10        move second child to first child ( temp int)
900:?           '@entryPointOutput.ii' (layout( location=0) out int)
910:10          ii: direct index for structure ( temp int)
920:10            'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
930:10            Constant:
940:10              4 (const int)
950:?   Linker Objects
960:?     '@entryPointOutput.ii' (layout( location=0) out int)
970:?     'ins.ii' ( in int InstanceIndex)
980:?     'ins.clip0' (layout( location=0) in float)
990:?     'ins.clip1' (layout( location=1) in float)
1000:?     'ins.cull0' (layout( location=0) in float)
1010:?     'ins.cull1' (layout( location=1) in float)
1020:?     '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
1030:?     '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
104
105
106Linked vertex stage:
107
108
109Shader version: 500
1100:? Sequence
1110:10  Function Definition: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1120:10    Function Parameters:
1130:10      'ins' ( in structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1140:?     Sequence
1150:12      Branch: Return with expression
1160:12        's' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1170:10  Function Definition: main( ( temp void)
1180:10    Function Parameters:
1190:?     Sequence
1200:10      Sequence
1210:10        move second child to first child ( temp float)
1220:10          clip0: direct index for structure ( temp float)
1230:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1240:10            Constant:
1250:10              0 (const int)
1260:?           'ins.clip0' (layout( location=0) in float)
1270:10        move second child to first child ( temp float)
1280:10          clip1: direct index for structure ( temp float)
1290:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1300:10            Constant:
1310:10              1 (const int)
1320:?           'ins.clip1' (layout( location=1) in float)
1330:10        move second child to first child ( temp float)
1340:10          cull0: direct index for structure ( temp float)
1350:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1360:10            Constant:
1370:10              2 (const int)
1380:?           'ins.cull0' (layout( location=0) in float)
1390:10        move second child to first child ( temp float)
1400:10          cull1: direct index for structure ( temp float)
1410:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1420:10            Constant:
1430:10              3 (const int)
1440:?           'ins.cull1' (layout( location=1) in float)
1450:10        move second child to first child ( temp int)
1460:10          ii: direct index for structure ( temp int)
1470:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1480:10            Constant:
1490:10              4 (const int)
1500:?           'ins.ii' ( in int InstanceIndex)
1510:10      Sequence
1520:10        move second child to first child ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1530:10          'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1540:10          Function Call: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1550:?             'ins' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1560:?         Sequence
1570:10          move second child to first child ( temp float)
1580:10            direct index ( out float ClipDistance)
1590:?               '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
1600:10              Constant:
1610:10                0 (const int)
1620:10            clip0: direct index for structure ( temp float)
1630:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1640:10              Constant:
1650:10                0 (const int)
1660:?         Sequence
1670:10          move second child to first child ( temp float)
1680:10            direct index ( out float ClipDistance)
1690:?               '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
1700:10              Constant:
1710:10                1 (const int)
1720:10            clip1: direct index for structure ( temp float)
1730:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1740:10              Constant:
1750:10                1 (const int)
1760:?         Sequence
1770:10          move second child to first child ( temp float)
1780:10            direct index ( out float CullDistance)
1790:?               '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
1800:10              Constant:
1810:10                0 (const int)
1820:10            cull0: direct index for structure ( temp float)
1830:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1840:10              Constant:
1850:10                2 (const int)
1860:?         Sequence
1870:10          move second child to first child ( temp float)
1880:10            direct index ( out float CullDistance)
1890:?               '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
1900:10              Constant:
1910:10                1 (const int)
1920:10            cull1: direct index for structure ( temp float)
1930:10              'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
1940:10              Constant:
1950:10                3 (const int)
1960:10        move second child to first child ( temp int)
1970:?           '@entryPointOutput.ii' (layout( location=0) out int)
1980:10          ii: direct index for structure ( temp int)
1990:10            'flattenTemp' ( temp structure{ temp float clip0,  temp float clip1,  temp float cull0,  temp float cull1,  temp int ii})
2000:10            Constant:
2010:10              4 (const int)
2020:?   Linker Objects
2030:?     '@entryPointOutput.ii' (layout( location=0) out int)
2040:?     'ins.ii' ( in int InstanceIndex)
2050:?     'ins.clip0' (layout( location=0) in float)
2060:?     'ins.clip1' (layout( location=1) in float)
2070:?     'ins.cull0' (layout( location=0) in float)
2080:?     'ins.cull1' (layout( location=1) in float)
2090:?     '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance)
2100:?     '@entryPointOutput.cull1' ( out 2-element array of float CullDistance)
211
212// Module Version 10000
213// Generated by (magic number): 80007
214// Id's are bound by 70
215
216                              Capability Shader
217                              Capability ClipDistance
218                              Capability CullDistance
219               1:             ExtInstImport  "GLSL.std.450"
220                              MemoryModel Logical GLSL450
221                              EntryPoint Vertex 4  "main" 21 26 30 34 39 51 59 67
222                              Source HLSL 500
223                              Name 4  "main"
224                              Name 8  "S"
225                              MemberName 8(S) 0  "clip0"
226                              MemberName 8(S) 1  "clip1"
227                              MemberName 8(S) 2  "cull0"
228                              MemberName 8(S) 3  "cull1"
229                              MemberName 8(S) 4  "ii"
230                              Name 12  "@main(struct-S-f1-f1-f1-f1-i11;"
231                              Name 11  "ins"
232                              Name 14  "s"
233                              Name 18  "ins"
234                              Name 21  "ins.clip0"
235                              Name 26  "ins.clip1"
236                              Name 30  "ins.cull0"
237                              Name 34  "ins.cull1"
238                              Name 39  "ins.ii"
239                              Name 43  "flattenTemp"
240                              Name 44  "param"
241                              Name 51  "@entryPointOutput.clip1"
242                              Name 59  "@entryPointOutput.cull1"
243                              Name 67  "@entryPointOutput.ii"
244                              Decorate 21(ins.clip0) Location 0
245                              Decorate 26(ins.clip1) Location 1
246                              Decorate 30(ins.cull0) Location 0
247                              Decorate 34(ins.cull1) Location 1
248                              Decorate 39(ins.ii) BuiltIn InstanceIndex
249                              Decorate 51(@entryPointOutput.clip1) BuiltIn ClipDistance
250                              Decorate 59(@entryPointOutput.cull1) BuiltIn CullDistance
251                              Decorate 67(@entryPointOutput.ii) Location 0
252               2:             TypeVoid
253               3:             TypeFunction 2
254               6:             TypeFloat 32
255               7:             TypeInt 32 1
256            8(S):             TypeStruct 6(float) 6(float) 6(float) 6(float) 7(int)
257               9:             TypePointer Function 8(S)
258              10:             TypeFunction 8(S) 9(ptr)
259              19:      7(int) Constant 0
260              20:             TypePointer Input 6(float)
261   21(ins.clip0):     20(ptr) Variable Input
262              23:             TypePointer Function 6(float)
263              25:      7(int) Constant 1
264   26(ins.clip1):     20(ptr) Variable Input
265              29:      7(int) Constant 2
266   30(ins.cull0):     20(ptr) Variable Input
267              33:      7(int) Constant 3
268   34(ins.cull1):     20(ptr) Variable Input
269              37:      7(int) Constant 4
270              38:             TypePointer Input 7(int)
271      39(ins.ii):     38(ptr) Variable Input
272              41:             TypePointer Function 7(int)
273              47:             TypeInt 32 0
274              48:     47(int) Constant 2
275              49:             TypeArray 6(float) 48
276              50:             TypePointer Output 49
27751(@entryPointOutput.clip1):     50(ptr) Variable Output
278              54:             TypePointer Output 6(float)
27959(@entryPointOutput.cull1):     50(ptr) Variable Output
280              66:             TypePointer Output 7(int)
28167(@entryPointOutput.ii):     66(ptr) Variable Output
282         4(main):           2 Function None 3
283               5:             Label
284         18(ins):      9(ptr) Variable Function
285 43(flattenTemp):      9(ptr) Variable Function
286       44(param):      9(ptr) Variable Function
287              22:    6(float) Load 21(ins.clip0)
288              24:     23(ptr) AccessChain 18(ins) 19
289                              Store 24 22
290              27:    6(float) Load 26(ins.clip1)
291              28:     23(ptr) AccessChain 18(ins) 25
292                              Store 28 27
293              31:    6(float) Load 30(ins.cull0)
294              32:     23(ptr) AccessChain 18(ins) 29
295                              Store 32 31
296              35:    6(float) Load 34(ins.cull1)
297              36:     23(ptr) AccessChain 18(ins) 33
298                              Store 36 35
299              40:      7(int) Load 39(ins.ii)
300              42:     41(ptr) AccessChain 18(ins) 37
301                              Store 42 40
302              45:        8(S) Load 18(ins)
303                              Store 44(param) 45
304              46:        8(S) FunctionCall 12(@main(struct-S-f1-f1-f1-f1-i11;) 44(param)
305                              Store 43(flattenTemp) 46
306              52:     23(ptr) AccessChain 43(flattenTemp) 19
307              53:    6(float) Load 52
308              55:     54(ptr) AccessChain 51(@entryPointOutput.clip1) 19
309                              Store 55 53
310              56:     23(ptr) AccessChain 43(flattenTemp) 25
311              57:    6(float) Load 56
312              58:     54(ptr) AccessChain 51(@entryPointOutput.clip1) 25
313                              Store 58 57
314              60:     23(ptr) AccessChain 43(flattenTemp) 29
315              61:    6(float) Load 60
316              62:     54(ptr) AccessChain 59(@entryPointOutput.cull1) 19
317                              Store 62 61
318              63:     23(ptr) AccessChain 43(flattenTemp) 33
319              64:    6(float) Load 63
320              65:     54(ptr) AccessChain 59(@entryPointOutput.cull1) 25
321                              Store 65 64
322              68:     41(ptr) AccessChain 43(flattenTemp) 37
323              69:      7(int) Load 68
324                              Store 67(@entryPointOutput.ii) 69
325                              Return
326                              FunctionEnd
32712(@main(struct-S-f1-f1-f1-f1-i11;):        8(S) Function None 10
328         11(ins):      9(ptr) FunctionParameter
329              13:             Label
330           14(s):      9(ptr) Variable Function
331              15:        8(S) Load 14(s)
332                              ReturnValue 15
333                              FunctionEnd
334