1hlsl.int.dot.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:1  Function Definition: @main( ( temp 4-component vector of float)
60:1    Function Parameters:
70:?     Sequence
80:2      Sequence
90:2        move second child to first child ( temp int)
100:2          'i' ( temp int)
110:2          Constant:
120:2            1 (const int)
130:3      Sequence
140:3        move second child to first child ( temp 1-component vector of int)
150:3          'i2' ( temp 1-component vector of int)
160:3          Constant:
170:3            2 (const int)
180:4      Sequence
190:4        move second child to first child ( temp 2-component vector of int)
200:4          'i3' ( temp 2-component vector of int)
210:4          Constant:
220:4            3 (const int)
230:4            3 (const int)
240:5      Sequence
250:5        move second child to first child ( temp 3-component vector of int)
260:5          'i4' ( temp 3-component vector of int)
270:5          Constant:
280:5            4 (const int)
290:5            4 (const int)
300:5            4 (const int)
310:6      Sequence
320:6        move second child to first child ( temp 4-component vector of int)
330:6          'i5' ( temp 4-component vector of int)
340:6          Constant:
350:6            5 (const int)
360:6            5 (const int)
370:6            5 (const int)
380:6            5 (const int)
390:8      move second child to first child ( temp int)
400:8        'i' ( temp int)
410:8        dot-product ( temp int)
420:8          'i' ( temp int)
430:8          'i' ( temp int)
440:9      move second child to first child ( temp 1-component vector of int)
450:9        'i2' ( temp 1-component vector of int)
460:9        Construct int ( temp 1-component vector of int)
470:9          dot-product ( temp int)
480:9            Construct int ( in int)
490:9              'i2' ( temp 1-component vector of int)
500:9            Construct int ( in int)
510:9              'i2' ( temp 1-component vector of int)
520:10      move second child to first child ( temp 2-component vector of int)
530:10        'i3' ( temp 2-component vector of int)
540:10        Construct ivec2 ( temp 2-component vector of int)
550:10          dot-product ( temp int)
560:10            'i3' ( temp 2-component vector of int)
570:10            'i3' ( temp 2-component vector of int)
580:11      move second child to first child ( temp 3-component vector of int)
590:11        'i4' ( temp 3-component vector of int)
600:11        Construct ivec3 ( temp 3-component vector of int)
610:11          dot-product ( temp int)
620:11            'i4' ( temp 3-component vector of int)
630:11            'i4' ( temp 3-component vector of int)
640:12      move second child to first child ( temp 4-component vector of int)
650:12        'i5' ( temp 4-component vector of int)
660:12        Construct ivec4 ( temp 4-component vector of int)
670:12          dot-product ( temp int)
680:12            'i5' ( temp 4-component vector of int)
690:12            'i5' ( temp 4-component vector of int)
700:13      Branch: Return with expression
710:13        Convert int to float ( temp 4-component vector of float)
720:13          add ( temp 4-component vector of int)
730:13            add ( temp 4-component vector of int)
740:13              add ( temp 4-component vector of int)
750:13                add ( temp 4-component vector of int)
760:13                  'i' ( temp int)
770:13                  Construct ivec4 ( temp 4-component vector of int)
780:13                    Construct int ( temp int)
790:13                      'i2' ( temp 1-component vector of int)
800:13                vector swizzle ( temp 4-component vector of int)
810:13                  'i3' ( temp 2-component vector of int)
820:13                  Sequence
830:13                    Constant:
840:13                      0 (const int)
850:13                    Constant:
860:13                      1 (const int)
870:13                    Constant:
880:13                      0 (const int)
890:13                    Constant:
900:13                      1 (const int)
910:13              vector swizzle ( temp 4-component vector of int)
920:13                'i4' ( temp 3-component vector of int)
930:13                Sequence
940:13                  Constant:
950:13                    0 (const int)
960:13                  Constant:
970:13                    1 (const int)
980:13                  Constant:
990:13                    2 (const int)
1000:13                  Constant:
1010:13                    0 (const int)
1020:13            'i5' ( temp 4-component vector of int)
1030:1  Function Definition: main( ( temp void)
1040:1    Function Parameters:
1050:?     Sequence
1060:1      move second child to first child ( temp 4-component vector of float)
1070:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1080:1        Function Call: @main( ( temp 4-component vector of float)
1090:?   Linker Objects
1100:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
111
112
113Linked fragment stage:
114
115
116Shader version: 500
117gl_FragCoord origin is upper left
1180:? Sequence
1190:1  Function Definition: @main( ( temp 4-component vector of float)
1200:1    Function Parameters:
1210:?     Sequence
1220:2      Sequence
1230:2        move second child to first child ( temp int)
1240:2          'i' ( temp int)
1250:2          Constant:
1260:2            1 (const int)
1270:3      Sequence
1280:3        move second child to first child ( temp 1-component vector of int)
1290:3          'i2' ( temp 1-component vector of int)
1300:3          Constant:
1310:3            2 (const int)
1320:4      Sequence
1330:4        move second child to first child ( temp 2-component vector of int)
1340:4          'i3' ( temp 2-component vector of int)
1350:4          Constant:
1360:4            3 (const int)
1370:4            3 (const int)
1380:5      Sequence
1390:5        move second child to first child ( temp 3-component vector of int)
1400:5          'i4' ( temp 3-component vector of int)
1410:5          Constant:
1420:5            4 (const int)
1430:5            4 (const int)
1440:5            4 (const int)
1450:6      Sequence
1460:6        move second child to first child ( temp 4-component vector of int)
1470:6          'i5' ( temp 4-component vector of int)
1480:6          Constant:
1490:6            5 (const int)
1500:6            5 (const int)
1510:6            5 (const int)
1520:6            5 (const int)
1530:8      move second child to first child ( temp int)
1540:8        'i' ( temp int)
1550:8        dot-product ( temp int)
1560:8          'i' ( temp int)
1570:8          'i' ( temp int)
1580:9      move second child to first child ( temp 1-component vector of int)
1590:9        'i2' ( temp 1-component vector of int)
1600:9        Construct int ( temp 1-component vector of int)
1610:9          dot-product ( temp int)
1620:9            Construct int ( in int)
1630:9              'i2' ( temp 1-component vector of int)
1640:9            Construct int ( in int)
1650:9              'i2' ( temp 1-component vector of int)
1660:10      move second child to first child ( temp 2-component vector of int)
1670:10        'i3' ( temp 2-component vector of int)
1680:10        Construct ivec2 ( temp 2-component vector of int)
1690:10          dot-product ( temp int)
1700:10            'i3' ( temp 2-component vector of int)
1710:10            'i3' ( temp 2-component vector of int)
1720:11      move second child to first child ( temp 3-component vector of int)
1730:11        'i4' ( temp 3-component vector of int)
1740:11        Construct ivec3 ( temp 3-component vector of int)
1750:11          dot-product ( temp int)
1760:11            'i4' ( temp 3-component vector of int)
1770:11            'i4' ( temp 3-component vector of int)
1780:12      move second child to first child ( temp 4-component vector of int)
1790:12        'i5' ( temp 4-component vector of int)
1800:12        Construct ivec4 ( temp 4-component vector of int)
1810:12          dot-product ( temp int)
1820:12            'i5' ( temp 4-component vector of int)
1830:12            'i5' ( temp 4-component vector of int)
1840:13      Branch: Return with expression
1850:13        Convert int to float ( temp 4-component vector of float)
1860:13          add ( temp 4-component vector of int)
1870:13            add ( temp 4-component vector of int)
1880:13              add ( temp 4-component vector of int)
1890:13                add ( temp 4-component vector of int)
1900:13                  'i' ( temp int)
1910:13                  Construct ivec4 ( temp 4-component vector of int)
1920:13                    Construct int ( temp int)
1930:13                      'i2' ( temp 1-component vector of int)
1940:13                vector swizzle ( temp 4-component vector of int)
1950:13                  'i3' ( temp 2-component vector of int)
1960:13                  Sequence
1970:13                    Constant:
1980:13                      0 (const int)
1990:13                    Constant:
2000:13                      1 (const int)
2010:13                    Constant:
2020:13                      0 (const int)
2030:13                    Constant:
2040:13                      1 (const int)
2050:13              vector swizzle ( temp 4-component vector of int)
2060:13                'i4' ( temp 3-component vector of int)
2070:13                Sequence
2080:13                  Constant:
2090:13                    0 (const int)
2100:13                  Constant:
2110:13                    1 (const int)
2120:13                  Constant:
2130:13                    2 (const int)
2140:13                  Constant:
2150:13                    0 (const int)
2160:13            'i5' ( temp 4-component vector of int)
2170:1  Function Definition: main( ( temp void)
2180:1    Function Parameters:
2190:?     Sequence
2200:1      move second child to first child ( temp 4-component vector of float)
2210:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
2220:1        Function Call: @main( ( temp 4-component vector of float)
2230:?   Linker Objects
2240:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
225
226// Module Version 10300
227// Generated by (magic number): 8000a
228// Id's are bound by 84
229
230                              Capability Shader
231               1:             ExtInstImport  "GLSL.std.450"
232                              MemoryModel Logical GLSL450
233                              EntryPoint Fragment 4  "main" 82
234                              ExecutionMode 4 OriginUpperLeft
235                              Source HLSL 500
236                              Name 4  "main"
237                              Name 9  "@main("
238                              Name 13  "i"
239                              Name 15  "i2"
240                              Name 19  "i3"
241                              Name 24  "i4"
242                              Name 29  "i5"
243                              Name 82  "@entryPointOutput"
244                              Decorate 82(@entryPointOutput) Location 0
245               2:             TypeVoid
246               3:             TypeFunction 2
247               6:             TypeFloat 32
248               7:             TypeVector 6(float) 4
249               8:             TypeFunction 7(fvec4)
250              11:             TypeInt 32 1
251              12:             TypePointer Function 11(int)
252              14:     11(int) Constant 1
253              16:     11(int) Constant 2
254              17:             TypeVector 11(int) 2
255              18:             TypePointer Function 17(ivec2)
256              20:     11(int) Constant 3
257              21:   17(ivec2) ConstantComposite 20 20
258              22:             TypeVector 11(int) 3
259              23:             TypePointer Function 22(ivec3)
260              25:     11(int) Constant 4
261              26:   22(ivec3) ConstantComposite 25 25 25
262              27:             TypeVector 11(int) 4
263              28:             TypePointer Function 27(ivec4)
264              30:     11(int) Constant 5
265              31:   27(ivec4) ConstantComposite 30 30 30 30
266              81:             TypePointer Output 7(fvec4)
26782(@entryPointOutput):     81(ptr) Variable Output
268         4(main):           2 Function None 3
269               5:             Label
270              83:    7(fvec4) FunctionCall 9(@main()
271                              Store 82(@entryPointOutput) 83
272                              Return
273                              FunctionEnd
274       9(@main():    7(fvec4) Function None 8
275              10:             Label
276           13(i):     12(ptr) Variable Function
277          15(i2):     12(ptr) Variable Function
278          19(i3):     18(ptr) Variable Function
279          24(i4):     23(ptr) Variable Function
280          29(i5):     28(ptr) Variable Function
281                              Store 13(i) 14
282                              Store 15(i2) 16
283                              Store 19(i3) 21
284                              Store 24(i4) 26
285                              Store 29(i5) 31
286              32:     11(int) Load 13(i)
287              33:     11(int) Load 13(i)
288              34:     11(int) IMul 32 33
289                              Store 13(i) 34
290              35:     11(int) Load 15(i2)
291              36:     11(int) Load 15(i2)
292              37:     11(int) IMul 35 36
293                              Store 15(i2) 37
294              38:   17(ivec2) Load 19(i3)
295              39:   17(ivec2) Load 19(i3)
296              40:   17(ivec2) IMul 38 39
297              41:     11(int) CompositeExtract 40 0
298              42:     11(int) CompositeExtract 40 1
299              43:     11(int) IAdd 41 42
300              44:   17(ivec2) CompositeConstruct 43 43
301                              Store 19(i3) 44
302              45:   22(ivec3) Load 24(i4)
303              46:   22(ivec3) Load 24(i4)
304              47:   22(ivec3) IMul 45 46
305              48:     11(int) CompositeExtract 47 0
306              49:     11(int) CompositeExtract 47 1
307              50:     11(int) IAdd 48 49
308              51:     11(int) CompositeExtract 47 2
309              52:     11(int) IAdd 50 51
310              53:   22(ivec3) CompositeConstruct 52 52 52
311                              Store 24(i4) 53
312              54:   27(ivec4) Load 29(i5)
313              55:   27(ivec4) Load 29(i5)
314              56:   27(ivec4) IMul 54 55
315              57:     11(int) CompositeExtract 56 0
316              58:     11(int) CompositeExtract 56 1
317              59:     11(int) IAdd 57 58
318              60:     11(int) CompositeExtract 56 2
319              61:     11(int) IAdd 59 60
320              62:     11(int) CompositeExtract 56 3
321              63:     11(int) IAdd 61 62
322              64:   27(ivec4) CompositeConstruct 63 63 63 63
323                              Store 29(i5) 64
324              65:     11(int) Load 13(i)
325              66:     11(int) Load 15(i2)
326              67:   27(ivec4) CompositeConstruct 66 66 66 66
327              68:   27(ivec4) CompositeConstruct 65 65 65 65
328              69:   27(ivec4) IAdd 68 67
329              70:   17(ivec2) Load 19(i3)
330              71:   27(ivec4) VectorShuffle 70 70 0 1 0 1
331              72:   27(ivec4) IAdd 69 71
332              73:   22(ivec3) Load 24(i4)
333              74:   27(ivec4) VectorShuffle 73 73 0 1 2 0
334              75:   27(ivec4) IAdd 72 74
335              76:   27(ivec4) Load 29(i5)
336              77:   27(ivec4) IAdd 75 76
337              78:    7(fvec4) ConvertSToF 77
338                              ReturnValue 78
339                              FunctionEnd
340