1hlsl.type.half.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:3  Function Definition: @main( ( temp 4-component vector of float)
60:3    Function Parameters:
70:?     Sequence
80:4      Sequence
90:4        move second child to first child ( temp float)
100:4          'h0' ( temp float)
110:4          Constant:
120:4            0.000000
130:5      Sequence
140:5        move second child to first child ( temp 1-component vector of float)
150:5          'h1' ( temp 1-component vector of float)
160:5          Constant:
170:5            1.000000
180:6      Sequence
190:6        move second child to first child ( temp 2-component vector of float)
200:6          'h2' ( temp 2-component vector of float)
210:6          Constant:
220:6            2.000000
230:6            2.000000
240:7      Sequence
250:7        move second child to first child ( temp 3-component vector of float)
260:7          'h3' ( temp 3-component vector of float)
270:7          Constant:
280:7            3.000000
290:7            3.000000
300:7            3.000000
310:8      Sequence
320:8        move second child to first child ( temp 4-component vector of float)
330:8          'h4' ( temp 4-component vector of float)
340:8          Constant:
350:8            4.000000
360:8            4.000000
370:8            4.000000
380:8            4.000000
390:15      Sequence
400:15        move second child to first child ( temp 2X2 matrix of float)
410:15          'h22' ( temp 2X2 matrix of float)
420:?           Constant:
430:?             1.000000
440:?             2.000000
450:?             3.000000
460:?             4.000000
470:16      Sequence
480:16        move second child to first child ( temp 2X3 matrix of float)
490:16          'h23' ( temp 2X3 matrix of float)
500:16          Constant:
510:16            4.900000
520:16            4.900000
530:16            4.900000
540:16            4.900000
550:16            4.900000
560:16            4.900000
570:27      Branch: Return with expression
580:27        Construct vec4 ( temp 4-component vector of float)
590:27          add ( temp float)
600:27            add ( temp float)
610:27              direct index ( temp float)
620:27                direct index ( temp 3-component vector of float)
630:27                  'h23' ( temp 2X3 matrix of float)
640:27                  Constant:
650:27                    0 (const int)
660:27                Constant:
670:27                  0 (const int)
680:27              direct index ( temp float)
690:27                'h4' ( temp 4-component vector of float)
700:27                Constant:
710:27                  1 (const int)
720:27            'h0' ( temp float)
730:3  Function Definition: main( ( temp void)
740:3    Function Parameters:
750:?     Sequence
760:3      move second child to first child ( temp 4-component vector of float)
770:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
780:3        Function Call: @main( ( temp 4-component vector of float)
790:?   Linker Objects
800:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
81
82
83Linked fragment stage:
84
85
86Shader version: 500
87gl_FragCoord origin is upper left
880:? Sequence
890:3  Function Definition: @main( ( temp 4-component vector of float)
900:3    Function Parameters:
910:?     Sequence
920:4      Sequence
930:4        move second child to first child ( temp float)
940:4          'h0' ( temp float)
950:4          Constant:
960:4            0.000000
970:5      Sequence
980:5        move second child to first child ( temp 1-component vector of float)
990:5          'h1' ( temp 1-component vector of float)
1000:5          Constant:
1010:5            1.000000
1020:6      Sequence
1030:6        move second child to first child ( temp 2-component vector of float)
1040:6          'h2' ( temp 2-component vector of float)
1050:6          Constant:
1060:6            2.000000
1070:6            2.000000
1080:7      Sequence
1090:7        move second child to first child ( temp 3-component vector of float)
1100:7          'h3' ( temp 3-component vector of float)
1110:7          Constant:
1120:7            3.000000
1130:7            3.000000
1140:7            3.000000
1150:8      Sequence
1160:8        move second child to first child ( temp 4-component vector of float)
1170:8          'h4' ( temp 4-component vector of float)
1180:8          Constant:
1190:8            4.000000
1200:8            4.000000
1210:8            4.000000
1220:8            4.000000
1230:15      Sequence
1240:15        move second child to first child ( temp 2X2 matrix of float)
1250:15          'h22' ( temp 2X2 matrix of float)
1260:?           Constant:
1270:?             1.000000
1280:?             2.000000
1290:?             3.000000
1300:?             4.000000
1310:16      Sequence
1320:16        move second child to first child ( temp 2X3 matrix of float)
1330:16          'h23' ( temp 2X3 matrix of float)
1340:16          Constant:
1350:16            4.900000
1360:16            4.900000
1370:16            4.900000
1380:16            4.900000
1390:16            4.900000
1400:16            4.900000
1410:27      Branch: Return with expression
1420:27        Construct vec4 ( temp 4-component vector of float)
1430:27          add ( temp float)
1440:27            add ( temp float)
1450:27              direct index ( temp float)
1460:27                direct index ( temp 3-component vector of float)
1470:27                  'h23' ( temp 2X3 matrix of float)
1480:27                  Constant:
1490:27                    0 (const int)
1500:27                Constant:
1510:27                  0 (const int)
1520:27              direct index ( temp float)
1530:27                'h4' ( temp 4-component vector of float)
1540:27                Constant:
1550:27                  1 (const int)
1560:27            'h0' ( temp float)
1570:3  Function Definition: main( ( temp void)
1580:3    Function Parameters:
1590:?     Sequence
1600:3      move second child to first child ( temp 4-component vector of float)
1610:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1620:3        Function Call: @main( ( temp 4-component vector of float)
1630:?   Linker Objects
1640:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
165
166// Module Version 10000
167// Generated by (magic number): 80007
168// Id's are bound by 60
169
170                              Capability Shader
171               1:             ExtInstImport  "GLSL.std.450"
172                              MemoryModel Logical GLSL450
173                              EntryPoint Fragment 4  "main" 58
174                              ExecutionMode 4 OriginUpperLeft
175                              Source HLSL 500
176                              Name 4  "main"
177                              Name 9  "@main("
178                              Name 12  "h0"
179                              Name 14  "h1"
180                              Name 18  "h2"
181                              Name 23  "h3"
182                              Name 27  "h4"
183                              Name 32  "h22"
184                              Name 38  "h23"
185                              Name 58  "@entryPointOutput"
186                              Decorate 58(@entryPointOutput) Location 0
187               2:             TypeVoid
188               3:             TypeFunction 2
189               6:             TypeFloat 32
190               7:             TypeVector 6(float) 4
191               8:             TypeFunction 7(fvec4)
192              11:             TypePointer Function 6(float)
193              13:    6(float) Constant 0
194              15:    6(float) Constant 1065353216
195              16:             TypeVector 6(float) 2
196              17:             TypePointer Function 16(fvec2)
197              19:    6(float) Constant 1073741824
198              20:   16(fvec2) ConstantComposite 19 19
199              21:             TypeVector 6(float) 3
200              22:             TypePointer Function 21(fvec3)
201              24:    6(float) Constant 1077936128
202              25:   21(fvec3) ConstantComposite 24 24 24
203              26:             TypePointer Function 7(fvec4)
204              28:    6(float) Constant 1082130432
205              29:    7(fvec4) ConstantComposite 28 28 28 28
206              30:             TypeMatrix 16(fvec2) 2
207              31:             TypePointer Function 30
208              33:   16(fvec2) ConstantComposite 15 19
209              34:   16(fvec2) ConstantComposite 24 28
210              35:          30 ConstantComposite 33 34
211              36:             TypeMatrix 21(fvec3) 2
212              37:             TypePointer Function 36
213              39:    6(float) Constant 1084017869
214              40:   21(fvec3) ConstantComposite 39 39 39
215              41:          36 ConstantComposite 40 40
216              42:             TypeInt 32 1
217              43:     42(int) Constant 0
218              44:             TypeInt 32 0
219              45:     44(int) Constant 0
220              48:     44(int) Constant 1
221              57:             TypePointer Output 7(fvec4)
22258(@entryPointOutput):     57(ptr) Variable Output
223         4(main):           2 Function None 3
224               5:             Label
225              59:    7(fvec4) FunctionCall 9(@main()
226                              Store 58(@entryPointOutput) 59
227                              Return
228                              FunctionEnd
229       9(@main():    7(fvec4) Function None 8
230              10:             Label
231          12(h0):     11(ptr) Variable Function
232          14(h1):     11(ptr) Variable Function
233          18(h2):     17(ptr) Variable Function
234          23(h3):     22(ptr) Variable Function
235          27(h4):     26(ptr) Variable Function
236         32(h22):     31(ptr) Variable Function
237         38(h23):     37(ptr) Variable Function
238                              Store 12(h0) 13
239                              Store 14(h1) 15
240                              Store 18(h2) 20
241                              Store 23(h3) 25
242                              Store 27(h4) 29
243                              Store 32(h22) 35
244                              Store 38(h23) 41
245              46:     11(ptr) AccessChain 38(h23) 43 45
246              47:    6(float) Load 46
247              49:     11(ptr) AccessChain 27(h4) 48
248              50:    6(float) Load 49
249              51:    6(float) FAdd 47 50
250              52:    6(float) Load 12(h0)
251              53:    6(float) FAdd 51 52
252              54:    7(fvec4) CompositeConstruct 53 53 53 53
253                              ReturnValue 54
254                              FunctionEnd
255