• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.mintypes.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:9  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
60:9    Function Parameters:
70:?     Sequence
80:85      add ( temp mediump 2-component vector of float)
90:85        'mf16_2' ( temp mediump 2-component vector of float)
100:85        'mf16' ( temp mediump float)
110:86      add ( temp mediump 2-component vector of float)
120:86        'mf10_2' ( temp mediump 2-component vector of float)
130:86        'mf10' ( temp mediump float)
140:87      add ( temp mediump 2-component vector of int)
150:87        'mi16_2' ( temp mediump 2-component vector of int)
160:87        'mi16' ( temp mediump int)
170:88      add ( temp mediump 2-component vector of int)
180:88        'mi12_2' ( temp mediump 2-component vector of int)
190:88        'mi12' ( temp mediump int)
200:89      add ( temp mediump 2-component vector of uint)
210:89        'mu16_2' ( temp mediump 2-component vector of uint)
220:89        'mu16' ( temp mediump uint)
230:91      matrix-times-vector ( temp mediump 4-component vector of float)
240:91        'mf16_2x4' ( temp mediump 2X4 matrix of float)
250:91        'mf16_2' ( temp mediump 2-component vector of float)
260:92      matrix-times-vector ( temp mediump 4-component vector of float)
270:92        'mf16_3x4' ( temp mediump 3X4 matrix of float)
280:92        'mf16_3' ( temp mediump 3-component vector of float)
290:93      matrix-times-vector ( temp mediump 4-component vector of float)
300:93        'mf16_4x4' ( temp mediump 4X4 matrix of float)
310:93        'mf16_4' ( temp mediump 4-component vector of float)
320:94      vector-times-matrix ( temp mediump 4-component vector of float)
330:94        'mf16_2' ( temp mediump 2-component vector of float)
340:94        'mf16_4x2' ( temp mediump 4X2 matrix of float)
350:95      vector-times-matrix ( temp mediump 4-component vector of float)
360:95        'mf16_3' ( temp mediump 3-component vector of float)
370:95        'mf16_4x3' ( temp mediump 4X3 matrix of float)
380:96      vector-times-matrix ( temp mediump 4-component vector of float)
390:96        'mf16_4' ( temp mediump 4-component vector of float)
400:96        'mf16_4x4' ( temp mediump 4X4 matrix of float)
410:98      matrix-times-vector ( temp mediump 4-component vector of float)
420:98        'mf10_2x4' ( temp mediump 2X4 matrix of float)
430:98        'mf10_2' ( temp mediump 2-component vector of float)
440:99      matrix-times-vector ( temp mediump 4-component vector of float)
450:99        'mf10_3x4' ( temp mediump 3X4 matrix of float)
460:99        'mf10_3' ( temp mediump 3-component vector of float)
470:100      matrix-times-vector ( temp mediump 4-component vector of float)
480:100        'mf10_4x4' ( temp mediump 4X4 matrix of float)
490:100        'mf10_4' ( temp mediump 4-component vector of float)
500:101      vector-times-matrix ( temp mediump 4-component vector of float)
510:101        'mf10_2' ( temp mediump 2-component vector of float)
520:101        'mf10_4x2' ( temp mediump 4X2 matrix of float)
530:102      vector-times-matrix ( temp mediump 4-component vector of float)
540:102        'mf10_3' ( temp mediump 3-component vector of float)
550:102        'mf10_4x3' ( temp mediump 4X3 matrix of float)
560:103      vector-times-matrix ( temp mediump 4-component vector of float)
570:103        'mf10_4' ( temp mediump 4-component vector of float)
580:103        'mf10_4x4' ( temp mediump 4X4 matrix of float)
590:106      move second child to first child ( temp 4-component vector of float)
600:106        Color: direct index for structure ( temp 4-component vector of float)
610:106          'psout' ( temp structure{ temp 4-component vector of float Color})
620:106          Constant:
630:106            0 (const int)
640:106        Constant:
650:106          0.000000
660:106          0.000000
670:106          0.000000
680:106          0.000000
690:107      Branch: Return with expression
700:107        'psout' ( temp structure{ temp 4-component vector of float Color})
710:9  Function Definition: main( ( temp void)
720:9    Function Parameters:
730:?     Sequence
740:9      Sequence
750:9        move second child to first child ( temp 4-component vector of float)
760:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
770:9          Color: direct index for structure ( temp 4-component vector of float)
780:9            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
790:9            Constant:
800:9              0 (const int)
810:?   Linker Objects
820:?     'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a,  uniform mediump float b1b})
830:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
84
85
86Linked fragment stage:
87
88
89Shader version: 500
90gl_FragCoord origin is upper left
910:? Sequence
920:9  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
930:9    Function Parameters:
940:?     Sequence
950:85      add ( temp mediump 2-component vector of float)
960:85        'mf16_2' ( temp mediump 2-component vector of float)
970:85        'mf16' ( temp mediump float)
980:86      add ( temp mediump 2-component vector of float)
990:86        'mf10_2' ( temp mediump 2-component vector of float)
1000:86        'mf10' ( temp mediump float)
1010:87      add ( temp mediump 2-component vector of int)
1020:87        'mi16_2' ( temp mediump 2-component vector of int)
1030:87        'mi16' ( temp mediump int)
1040:88      add ( temp mediump 2-component vector of int)
1050:88        'mi12_2' ( temp mediump 2-component vector of int)
1060:88        'mi12' ( temp mediump int)
1070:89      add ( temp mediump 2-component vector of uint)
1080:89        'mu16_2' ( temp mediump 2-component vector of uint)
1090:89        'mu16' ( temp mediump uint)
1100:91      matrix-times-vector ( temp mediump 4-component vector of float)
1110:91        'mf16_2x4' ( temp mediump 2X4 matrix of float)
1120:91        'mf16_2' ( temp mediump 2-component vector of float)
1130:92      matrix-times-vector ( temp mediump 4-component vector of float)
1140:92        'mf16_3x4' ( temp mediump 3X4 matrix of float)
1150:92        'mf16_3' ( temp mediump 3-component vector of float)
1160:93      matrix-times-vector ( temp mediump 4-component vector of float)
1170:93        'mf16_4x4' ( temp mediump 4X4 matrix of float)
1180:93        'mf16_4' ( temp mediump 4-component vector of float)
1190:94      vector-times-matrix ( temp mediump 4-component vector of float)
1200:94        'mf16_2' ( temp mediump 2-component vector of float)
1210:94        'mf16_4x2' ( temp mediump 4X2 matrix of float)
1220:95      vector-times-matrix ( temp mediump 4-component vector of float)
1230:95        'mf16_3' ( temp mediump 3-component vector of float)
1240:95        'mf16_4x3' ( temp mediump 4X3 matrix of float)
1250:96      vector-times-matrix ( temp mediump 4-component vector of float)
1260:96        'mf16_4' ( temp mediump 4-component vector of float)
1270:96        'mf16_4x4' ( temp mediump 4X4 matrix of float)
1280:98      matrix-times-vector ( temp mediump 4-component vector of float)
1290:98        'mf10_2x4' ( temp mediump 2X4 matrix of float)
1300:98        'mf10_2' ( temp mediump 2-component vector of float)
1310:99      matrix-times-vector ( temp mediump 4-component vector of float)
1320:99        'mf10_3x4' ( temp mediump 3X4 matrix of float)
1330:99        'mf10_3' ( temp mediump 3-component vector of float)
1340:100      matrix-times-vector ( temp mediump 4-component vector of float)
1350:100        'mf10_4x4' ( temp mediump 4X4 matrix of float)
1360:100        'mf10_4' ( temp mediump 4-component vector of float)
1370:101      vector-times-matrix ( temp mediump 4-component vector of float)
1380:101        'mf10_2' ( temp mediump 2-component vector of float)
1390:101        'mf10_4x2' ( temp mediump 4X2 matrix of float)
1400:102      vector-times-matrix ( temp mediump 4-component vector of float)
1410:102        'mf10_3' ( temp mediump 3-component vector of float)
1420:102        'mf10_4x3' ( temp mediump 4X3 matrix of float)
1430:103      vector-times-matrix ( temp mediump 4-component vector of float)
1440:103        'mf10_4' ( temp mediump 4-component vector of float)
1450:103        'mf10_4x4' ( temp mediump 4X4 matrix of float)
1460:106      move second child to first child ( temp 4-component vector of float)
1470:106        Color: direct index for structure ( temp 4-component vector of float)
1480:106          'psout' ( temp structure{ temp 4-component vector of float Color})
1490:106          Constant:
1500:106            0 (const int)
1510:106        Constant:
1520:106          0.000000
1530:106          0.000000
1540:106          0.000000
1550:106          0.000000
1560:107      Branch: Return with expression
1570:107        'psout' ( temp structure{ temp 4-component vector of float Color})
1580:9  Function Definition: main( ( temp void)
1590:9    Function Parameters:
1600:?     Sequence
1610:9      Sequence
1620:9        move second child to first child ( temp 4-component vector of float)
1630:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
1640:9          Color: direct index for structure ( temp 4-component vector of float)
1650:9            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
1660:9            Constant:
1670:9              0 (const int)
1680:?   Linker Objects
1690:?     'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a,  uniform mediump float b1b})
1700:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
171
172// Module Version 10000
173// Generated by (magic number): 8000b
174// Id's are bound by 132
175
176                              Capability Shader
177               1:             ExtInstImport  "GLSL.std.450"
178                              MemoryModel Logical GLSL450
179                              EntryPoint Fragment 4  "main" 126
180                              ExecutionMode 4 OriginUpperLeft
181                              Source HLSL 500
182                              Name 4  "main"
183                              Name 8  "PS_OUTPUT"
184                              MemberName 8(PS_OUTPUT) 0  "Color"
185                              Name 10  "@main("
186                              Name 14  "mf16_2"
187                              Name 17  "mf16"
188                              Name 21  "mf10_2"
189                              Name 23  "mf10"
190                              Name 30  "mi16_2"
191                              Name 33  "mi16"
192                              Name 37  "mi12_2"
193                              Name 39  "mi12"
194                              Name 46  "mu16_2"
195                              Name 49  "mu16"
196                              Name 55  "mf16_2x4"
197                              Name 61  "mf16_3x4"
198                              Name 65  "mf16_3"
199                              Name 70  "mf16_4x4"
200                              Name 73  "mf16_4"
201                              Name 79  "mf16_4x2"
202                              Name 85  "mf16_4x3"
203                              Name 91  "mf10_2x4"
204                              Name 95  "mf10_3x4"
205                              Name 97  "mf10_3"
206                              Name 100  "mf10_4x4"
207                              Name 102  "mf10_4"
208                              Name 106  "mf10_4x2"
209                              Name 110  "mf10_4x3"
210                              Name 117  "psout"
211                              Name 126  "@entryPointOutput.Color"
212                              Name 129  "$Global"
213                              MemberName 129($Global) 0  "b1a"
214                              MemberName 129($Global) 1  "b1b"
215                              Name 131  ""
216                              Decorate 14(mf16_2) RelaxedPrecision
217                              Decorate 15 RelaxedPrecision
218                              Decorate 17(mf16) RelaxedPrecision
219                              Decorate 18 RelaxedPrecision
220                              Decorate 19 RelaxedPrecision
221                              Decorate 20 RelaxedPrecision
222                              Decorate 21(mf10_2) RelaxedPrecision
223                              Decorate 22 RelaxedPrecision
224                              Decorate 23(mf10) RelaxedPrecision
225                              Decorate 24 RelaxedPrecision
226                              Decorate 25 RelaxedPrecision
227                              Decorate 26 RelaxedPrecision
228                              Decorate 30(mi16_2) RelaxedPrecision
229                              Decorate 31 RelaxedPrecision
230                              Decorate 33(mi16) RelaxedPrecision
231                              Decorate 34 RelaxedPrecision
232                              Decorate 35 RelaxedPrecision
233                              Decorate 36 RelaxedPrecision
234                              Decorate 37(mi12_2) RelaxedPrecision
235                              Decorate 38 RelaxedPrecision
236                              Decorate 39(mi12) RelaxedPrecision
237                              Decorate 40 RelaxedPrecision
238                              Decorate 41 RelaxedPrecision
239                              Decorate 42 RelaxedPrecision
240                              Decorate 46(mu16_2) RelaxedPrecision
241                              Decorate 47 RelaxedPrecision
242                              Decorate 49(mu16) RelaxedPrecision
243                              Decorate 50 RelaxedPrecision
244                              Decorate 51 RelaxedPrecision
245                              Decorate 52 RelaxedPrecision
246                              Decorate 55(mf16_2x4) RelaxedPrecision
247                              Decorate 56 RelaxedPrecision
248                              Decorate 57 RelaxedPrecision
249                              Decorate 58 RelaxedPrecision
250                              Decorate 61(mf16_3x4) RelaxedPrecision
251                              Decorate 62 RelaxedPrecision
252                              Decorate 65(mf16_3) RelaxedPrecision
253                              Decorate 66 RelaxedPrecision
254                              Decorate 67 RelaxedPrecision
255                              Decorate 70(mf16_4x4) RelaxedPrecision
256                              Decorate 71 RelaxedPrecision
257                              Decorate 73(mf16_4) RelaxedPrecision
258                              Decorate 74 RelaxedPrecision
259                              Decorate 75 RelaxedPrecision
260                              Decorate 76 RelaxedPrecision
261                              Decorate 79(mf16_4x2) RelaxedPrecision
262                              Decorate 80 RelaxedPrecision
263                              Decorate 81 RelaxedPrecision
264                              Decorate 82 RelaxedPrecision
265                              Decorate 85(mf16_4x3) RelaxedPrecision
266                              Decorate 86 RelaxedPrecision
267                              Decorate 87 RelaxedPrecision
268                              Decorate 88 RelaxedPrecision
269                              Decorate 89 RelaxedPrecision
270                              Decorate 90 RelaxedPrecision
271                              Decorate 91(mf10_2x4) RelaxedPrecision
272                              Decorate 92 RelaxedPrecision
273                              Decorate 93 RelaxedPrecision
274                              Decorate 94 RelaxedPrecision
275                              Decorate 95(mf10_3x4) RelaxedPrecision
276                              Decorate 96 RelaxedPrecision
277                              Decorate 97(mf10_3) RelaxedPrecision
278                              Decorate 98 RelaxedPrecision
279                              Decorate 99 RelaxedPrecision
280                              Decorate 100(mf10_4x4) RelaxedPrecision
281                              Decorate 101 RelaxedPrecision
282                              Decorate 102(mf10_4) RelaxedPrecision
283                              Decorate 103 RelaxedPrecision
284                              Decorate 104 RelaxedPrecision
285                              Decorate 105 RelaxedPrecision
286                              Decorate 106(mf10_4x2) RelaxedPrecision
287                              Decorate 107 RelaxedPrecision
288                              Decorate 108 RelaxedPrecision
289                              Decorate 109 RelaxedPrecision
290                              Decorate 110(mf10_4x3) RelaxedPrecision
291                              Decorate 111 RelaxedPrecision
292                              Decorate 112 RelaxedPrecision
293                              Decorate 113 RelaxedPrecision
294                              Decorate 114 RelaxedPrecision
295                              Decorate 115 RelaxedPrecision
296                              Decorate 126(@entryPointOutput.Color) Location 0
297                              MemberDecorate 129($Global) 0 RelaxedPrecision
298                              MemberDecorate 129($Global) 0 Offset 0
299                              MemberDecorate 129($Global) 1 RelaxedPrecision
300                              MemberDecorate 129($Global) 1 Offset 4
301                              Decorate 129($Global) Block
302                              Decorate 131 DescriptorSet 0
303                              Decorate 131 Binding 0
304               2:             TypeVoid
305               3:             TypeFunction 2
306               6:             TypeFloat 32
307               7:             TypeVector 6(float) 4
308    8(PS_OUTPUT):             TypeStruct 7(fvec4)
309               9:             TypeFunction 8(PS_OUTPUT)
310              12:             TypeVector 6(float) 2
311              13:             TypePointer Function 12(fvec2)
312              16:             TypePointer Function 6(float)
313              27:             TypeInt 32 1
314              28:             TypeVector 27(int) 2
315              29:             TypePointer Function 28(ivec2)
316              32:             TypePointer Function 27(int)
317              43:             TypeInt 32 0
318              44:             TypeVector 43(int) 2
319              45:             TypePointer Function 44(ivec2)
320              48:             TypePointer Function 43(int)
321              53:             TypeMatrix 7(fvec4) 2
322              54:             TypePointer Function 53
323              59:             TypeMatrix 7(fvec4) 3
324              60:             TypePointer Function 59
325              63:             TypeVector 6(float) 3
326              64:             TypePointer Function 63(fvec3)
327              68:             TypeMatrix 7(fvec4) 4
328              69:             TypePointer Function 68
329              72:             TypePointer Function 7(fvec4)
330              77:             TypeMatrix 12(fvec2) 4
331              78:             TypePointer Function 77
332              83:             TypeMatrix 63(fvec3) 4
333              84:             TypePointer Function 83
334             116:             TypePointer Function 8(PS_OUTPUT)
335             118:     27(int) Constant 0
336             119:    6(float) Constant 0
337             120:    7(fvec4) ConstantComposite 119 119 119 119
338             125:             TypePointer Output 7(fvec4)
339126(@entryPointOutput.Color):    125(ptr) Variable Output
340    129($Global):             TypeStruct 6(float) 6(float)
341             130:             TypePointer Uniform 129($Global)
342             131:    130(ptr) Variable Uniform
343         4(main):           2 Function None 3
344               5:             Label
345             127:8(PS_OUTPUT) FunctionCall 10(@main()
346             128:    7(fvec4) CompositeExtract 127 0
347                              Store 126(@entryPointOutput.Color) 128
348                              Return
349                              FunctionEnd
350      10(@main():8(PS_OUTPUT) Function None 9
351              11:             Label
352      14(mf16_2):     13(ptr) Variable Function
353        17(mf16):     16(ptr) Variable Function
354      21(mf10_2):     13(ptr) Variable Function
355        23(mf10):     16(ptr) Variable Function
356      30(mi16_2):     29(ptr) Variable Function
357        33(mi16):     32(ptr) Variable Function
358      37(mi12_2):     29(ptr) Variable Function
359        39(mi12):     32(ptr) Variable Function
360      46(mu16_2):     45(ptr) Variable Function
361        49(mu16):     48(ptr) Variable Function
362    55(mf16_2x4):     54(ptr) Variable Function
363    61(mf16_3x4):     60(ptr) Variable Function
364      65(mf16_3):     64(ptr) Variable Function
365    70(mf16_4x4):     69(ptr) Variable Function
366      73(mf16_4):     72(ptr) Variable Function
367    79(mf16_4x2):     78(ptr) Variable Function
368    85(mf16_4x3):     84(ptr) Variable Function
369    91(mf10_2x4):     54(ptr) Variable Function
370    95(mf10_3x4):     60(ptr) Variable Function
371      97(mf10_3):     64(ptr) Variable Function
372   100(mf10_4x4):     69(ptr) Variable Function
373     102(mf10_4):     72(ptr) Variable Function
374   106(mf10_4x2):     78(ptr) Variable Function
375   110(mf10_4x3):     84(ptr) Variable Function
376      117(psout):    116(ptr) Variable Function
377              15:   12(fvec2) Load 14(mf16_2)
378              18:    6(float) Load 17(mf16)
379              19:   12(fvec2) CompositeConstruct 18 18
380              20:   12(fvec2) FAdd 15 19
381              22:   12(fvec2) Load 21(mf10_2)
382              24:    6(float) Load 23(mf10)
383              25:   12(fvec2) CompositeConstruct 24 24
384              26:   12(fvec2) FAdd 22 25
385              31:   28(ivec2) Load 30(mi16_2)
386              34:     27(int) Load 33(mi16)
387              35:   28(ivec2) CompositeConstruct 34 34
388              36:   28(ivec2) IAdd 31 35
389              38:   28(ivec2) Load 37(mi12_2)
390              40:     27(int) Load 39(mi12)
391              41:   28(ivec2) CompositeConstruct 40 40
392              42:   28(ivec2) IAdd 38 41
393              47:   44(ivec2) Load 46(mu16_2)
394              50:     43(int) Load 49(mu16)
395              51:   44(ivec2) CompositeConstruct 50 50
396              52:   44(ivec2) IAdd 47 51
397              56:          53 Load 55(mf16_2x4)
398              57:   12(fvec2) Load 14(mf16_2)
399              58:    7(fvec4) MatrixTimesVector 56 57
400              62:          59 Load 61(mf16_3x4)
401              66:   63(fvec3) Load 65(mf16_3)
402              67:    7(fvec4) MatrixTimesVector 62 66
403              71:          68 Load 70(mf16_4x4)
404              74:    7(fvec4) Load 73(mf16_4)
405              75:    7(fvec4) MatrixTimesVector 71 74
406              76:   12(fvec2) Load 14(mf16_2)
407              80:          77 Load 79(mf16_4x2)
408              81:    7(fvec4) VectorTimesMatrix 76 80
409              82:   63(fvec3) Load 65(mf16_3)
410              86:          83 Load 85(mf16_4x3)
411              87:    7(fvec4) VectorTimesMatrix 82 86
412              88:    7(fvec4) Load 73(mf16_4)
413              89:          68 Load 70(mf16_4x4)
414              90:    7(fvec4) VectorTimesMatrix 88 89
415              92:          53 Load 91(mf10_2x4)
416              93:   12(fvec2) Load 21(mf10_2)
417              94:    7(fvec4) MatrixTimesVector 92 93
418              96:          59 Load 95(mf10_3x4)
419              98:   63(fvec3) Load 97(mf10_3)
420              99:    7(fvec4) MatrixTimesVector 96 98
421             101:          68 Load 100(mf10_4x4)
422             103:    7(fvec4) Load 102(mf10_4)
423             104:    7(fvec4) MatrixTimesVector 101 103
424             105:   12(fvec2) Load 21(mf10_2)
425             107:          77 Load 106(mf10_4x2)
426             108:    7(fvec4) VectorTimesMatrix 105 107
427             109:   63(fvec3) Load 97(mf10_3)
428             111:          83 Load 110(mf10_4x3)
429             112:    7(fvec4) VectorTimesMatrix 109 111
430             113:    7(fvec4) Load 102(mf10_4)
431             114:          68 Load 100(mf10_4x4)
432             115:    7(fvec4) VectorTimesMatrix 113 114
433             121:     72(ptr) AccessChain 117(psout) 118
434                              Store 121 120
435             122:8(PS_OUTPUT) Load 117(psout)
436                              ReturnValue 122
437                              FunctionEnd
438