1hlsl.intrinsics.f1632.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: PixelShaderFunctionS(u1; ( temp float)
60:2    Function Parameters:
70:2      'inF0' ( in uint)
80:?     Sequence
90:3      Branch: Return with expression
100:3        direct index ( temp float)
110:3          unpackHalf2x16 ( temp 2-component vector of float)
120:3            'inF0' ( in uint)
130:3          Constant:
140:3            0 (const int)
150:7  Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float)
160:7    Function Parameters:
170:7      'inF0' ( in 1-component vector of uint)
180:?     Sequence
190:8      Branch: Return with expression
200:8        Construct float ( temp 1-component vector of float)
210:8          direct index ( temp float)
220:8            unpackHalf2x16 ( temp 2-component vector of float)
230:8              Construct uint ( in uint)
240:8                'inF0' ( in 1-component vector of uint)
250:8            Constant:
260:8              0 (const int)
270:12  Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float)
280:12    Function Parameters:
290:12      'inF0' ( in 2-component vector of uint)
300:?     Sequence
310:13      Branch: Return with expression
320:13        Construct vec2 ( temp 2-component vector of float)
330:13          direct index ( temp float)
340:13            unpackHalf2x16 ( temp 2-component vector of float)
350:13              direct index ( temp uint)
360:13                'inF0' ( in 2-component vector of uint)
370:13                Constant:
380:13                  0 (const int)
390:13            Constant:
400:13              0 (const int)
410:13          direct index ( temp float)
420:13            unpackHalf2x16 ( temp 2-component vector of float)
430:13              direct index ( temp uint)
440:13                'inF0' ( in 2-component vector of uint)
450:13                Constant:
460:13                  1 (const int)
470:13            Constant:
480:13              0 (const int)
490:17  Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float)
500:17    Function Parameters:
510:17      'inF0' ( in 3-component vector of uint)
520:?     Sequence
530:18      Branch: Return with expression
540:18        Construct vec3 ( temp 3-component vector of float)
550:18          direct index ( temp float)
560:18            unpackHalf2x16 ( temp 2-component vector of float)
570:18              direct index ( temp uint)
580:18                'inF0' ( in 3-component vector of uint)
590:18                Constant:
600:18                  0 (const int)
610:18            Constant:
620:18              0 (const int)
630:18          direct index ( temp float)
640:18            unpackHalf2x16 ( temp 2-component vector of float)
650:18              direct index ( temp uint)
660:18                'inF0' ( in 3-component vector of uint)
670:18                Constant:
680:18                  1 (const int)
690:18            Constant:
700:18              0 (const int)
710:18          direct index ( temp float)
720:18            unpackHalf2x16 ( temp 2-component vector of float)
730:18              direct index ( temp uint)
740:18                'inF0' ( in 3-component vector of uint)
750:18                Constant:
760:18                  2 (const int)
770:18            Constant:
780:18              0 (const int)
790:22  Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float)
800:22    Function Parameters:
810:22      'inF0' ( in 4-component vector of uint)
820:?     Sequence
830:23      Branch: Return with expression
840:23        Construct vec4 ( temp 4-component vector of float)
850:23          direct index ( temp float)
860:23            unpackHalf2x16 ( temp 2-component vector of float)
870:23              direct index ( temp uint)
880:23                'inF0' ( in 4-component vector of uint)
890:23                Constant:
900:23                  0 (const int)
910:23            Constant:
920:23              0 (const int)
930:23          direct index ( temp float)
940:23            unpackHalf2x16 ( temp 2-component vector of float)
950:23              direct index ( temp uint)
960:23                'inF0' ( in 4-component vector of uint)
970:23                Constant:
980:23                  1 (const int)
990:23            Constant:
1000:23              0 (const int)
1010:23          direct index ( temp float)
1020:23            unpackHalf2x16 ( temp 2-component vector of float)
1030:23              direct index ( temp uint)
1040:23                'inF0' ( in 4-component vector of uint)
1050:23                Constant:
1060:23                  2 (const int)
1070:23            Constant:
1080:23              0 (const int)
1090:23          direct index ( temp float)
1100:23            unpackHalf2x16 ( temp 2-component vector of float)
1110:23              direct index ( temp uint)
1120:23                'inF0' ( in 4-component vector of uint)
1130:23                Constant:
1140:23                  3 (const int)
1150:23            Constant:
1160:23              0 (const int)
1170:27  Function Definition: @main( ( temp 4-component vector of float)
1180:27    Function Parameters:
1190:?     Sequence
1200:28      Branch: Return with expression
1210:28        Constant:
1220:28          0.000000
1230:28          0.000000
1240:28          0.000000
1250:28          0.000000
1260:27  Function Definition: main( ( temp void)
1270:27    Function Parameters:
1280:?     Sequence
1290:27      move second child to first child ( temp 4-component vector of float)
1300:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1310:27        Function Call: @main( ( temp 4-component vector of float)
1320:?   Linker Objects
1330:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
134
135
136Linked fragment stage:
137
138
139Shader version: 500
140gl_FragCoord origin is upper left
1410:? Sequence
1420:2  Function Definition: PixelShaderFunctionS(u1; ( temp float)
1430:2    Function Parameters:
1440:2      'inF0' ( in uint)
1450:?     Sequence
1460:3      Branch: Return with expression
1470:3        direct index ( temp float)
1480:3          unpackHalf2x16 ( temp 2-component vector of float)
1490:3            'inF0' ( in uint)
1500:3          Constant:
1510:3            0 (const int)
1520:7  Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float)
1530:7    Function Parameters:
1540:7      'inF0' ( in 1-component vector of uint)
1550:?     Sequence
1560:8      Branch: Return with expression
1570:8        Construct float ( temp 1-component vector of float)
1580:8          direct index ( temp float)
1590:8            unpackHalf2x16 ( temp 2-component vector of float)
1600:8              Construct uint ( in uint)
1610:8                'inF0' ( in 1-component vector of uint)
1620:8            Constant:
1630:8              0 (const int)
1640:12  Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float)
1650:12    Function Parameters:
1660:12      'inF0' ( in 2-component vector of uint)
1670:?     Sequence
1680:13      Branch: Return with expression
1690:13        Construct vec2 ( temp 2-component vector of float)
1700:13          direct index ( temp float)
1710:13            unpackHalf2x16 ( temp 2-component vector of float)
1720:13              direct index ( temp uint)
1730:13                'inF0' ( in 2-component vector of uint)
1740:13                Constant:
1750:13                  0 (const int)
1760:13            Constant:
1770:13              0 (const int)
1780:13          direct index ( temp float)
1790:13            unpackHalf2x16 ( temp 2-component vector of float)
1800:13              direct index ( temp uint)
1810:13                'inF0' ( in 2-component vector of uint)
1820:13                Constant:
1830:13                  1 (const int)
1840:13            Constant:
1850:13              0 (const int)
1860:17  Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float)
1870:17    Function Parameters:
1880:17      'inF0' ( in 3-component vector of uint)
1890:?     Sequence
1900:18      Branch: Return with expression
1910:18        Construct vec3 ( temp 3-component vector of float)
1920:18          direct index ( temp float)
1930:18            unpackHalf2x16 ( temp 2-component vector of float)
1940:18              direct index ( temp uint)
1950:18                'inF0' ( in 3-component vector of uint)
1960:18                Constant:
1970:18                  0 (const int)
1980:18            Constant:
1990:18              0 (const int)
2000:18          direct index ( temp float)
2010:18            unpackHalf2x16 ( temp 2-component vector of float)
2020:18              direct index ( temp uint)
2030:18                'inF0' ( in 3-component vector of uint)
2040:18                Constant:
2050:18                  1 (const int)
2060:18            Constant:
2070:18              0 (const int)
2080:18          direct index ( temp float)
2090:18            unpackHalf2x16 ( temp 2-component vector of float)
2100:18              direct index ( temp uint)
2110:18                'inF0' ( in 3-component vector of uint)
2120:18                Constant:
2130:18                  2 (const int)
2140:18            Constant:
2150:18              0 (const int)
2160:22  Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float)
2170:22    Function Parameters:
2180:22      'inF0' ( in 4-component vector of uint)
2190:?     Sequence
2200:23      Branch: Return with expression
2210:23        Construct vec4 ( temp 4-component vector of float)
2220:23          direct index ( temp float)
2230:23            unpackHalf2x16 ( temp 2-component vector of float)
2240:23              direct index ( temp uint)
2250:23                'inF0' ( in 4-component vector of uint)
2260:23                Constant:
2270:23                  0 (const int)
2280:23            Constant:
2290:23              0 (const int)
2300:23          direct index ( temp float)
2310:23            unpackHalf2x16 ( temp 2-component vector of float)
2320:23              direct index ( temp uint)
2330:23                'inF0' ( in 4-component vector of uint)
2340:23                Constant:
2350:23                  1 (const int)
2360:23            Constant:
2370:23              0 (const int)
2380:23          direct index ( temp float)
2390:23            unpackHalf2x16 ( temp 2-component vector of float)
2400:23              direct index ( temp uint)
2410:23                'inF0' ( in 4-component vector of uint)
2420:23                Constant:
2430:23                  2 (const int)
2440:23            Constant:
2450:23              0 (const int)
2460:23          direct index ( temp float)
2470:23            unpackHalf2x16 ( temp 2-component vector of float)
2480:23              direct index ( temp uint)
2490:23                'inF0' ( in 4-component vector of uint)
2500:23                Constant:
2510:23                  3 (const int)
2520:23            Constant:
2530:23              0 (const int)
2540:27  Function Definition: @main( ( temp 4-component vector of float)
2550:27    Function Parameters:
2560:?     Sequence
2570:28      Branch: Return with expression
2580:28        Constant:
2590:28          0.000000
2600:28          0.000000
2610:28          0.000000
2620:28          0.000000
2630:27  Function Definition: main( ( temp void)
2640:27    Function Parameters:
2650:?     Sequence
2660:27      move second child to first child ( temp 4-component vector of float)
2670:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
2680:27        Function Call: @main( ( temp 4-component vector of float)
2690:?   Linker Objects
2700:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
271
272// Module Version 10000
273// Generated by (magic number): 8000a
274// Id's are bound by 106
275
276                              Capability Shader
277               1:             ExtInstImport  "GLSL.std.450"
278                              MemoryModel Logical GLSL450
279                              EntryPoint Fragment 4  "main" 104
280                              ExecutionMode 4 OriginUpperLeft
281                              Source HLSL 500
282                              Name 4  "main"
283                              Name 11  "PixelShaderFunctionS(u1;"
284                              Name 10  "inF0"
285                              Name 14  "PixelShaderFunction1(vu1;"
286                              Name 13  "inF0"
287                              Name 21  "PixelShaderFunction2(vu2;"
288                              Name 20  "inF0"
289                              Name 28  "PixelShaderFunction3(vu3;"
290                              Name 27  "inF0"
291                              Name 35  "PixelShaderFunction(vu4;"
292                              Name 34  "inF0"
293                              Name 38  "@main("
294                              Name 104  "@entryPointOutput"
295                              Decorate 104(@entryPointOutput) Location 0
296               2:             TypeVoid
297               3:             TypeFunction 2
298               6:             TypeInt 32 0
299               7:             TypePointer Function 6(int)
300               8:             TypeFloat 32
301               9:             TypeFunction 8(float) 7(ptr)
302              16:             TypeVector 6(int) 2
303              17:             TypePointer Function 16(ivec2)
304              18:             TypeVector 8(float) 2
305              19:             TypeFunction 18(fvec2) 17(ptr)
306              23:             TypeVector 6(int) 3
307              24:             TypePointer Function 23(ivec3)
308              25:             TypeVector 8(float) 3
309              26:             TypeFunction 25(fvec3) 24(ptr)
310              30:             TypeVector 6(int) 4
311              31:             TypePointer Function 30(ivec4)
312              32:             TypeVector 8(float) 4
313              33:             TypeFunction 32(fvec4) 31(ptr)
314              37:             TypeFunction 32(fvec4)
315              42:      6(int) Constant 0
316              55:      6(int) Constant 1
317              71:      6(int) Constant 2
318              91:      6(int) Constant 3
319              99:    8(float) Constant 0
320             100:   32(fvec4) ConstantComposite 99 99 99 99
321             103:             TypePointer Output 32(fvec4)
322104(@entryPointOutput):    103(ptr) Variable Output
323         4(main):           2 Function None 3
324               5:             Label
325             105:   32(fvec4) FunctionCall 38(@main()
326                              Store 104(@entryPointOutput) 105
327                              Return
328                              FunctionEnd
32911(PixelShaderFunctionS(u1;):    8(float) Function None 9
330        10(inF0):      7(ptr) FunctionParameter
331              12:             Label
332              40:      6(int) Load 10(inF0)
333              41:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 40
334              43:    8(float) CompositeExtract 41 0
335                              ReturnValue 43
336                              FunctionEnd
33714(PixelShaderFunction1(vu1;):    8(float) Function None 9
338        13(inF0):      7(ptr) FunctionParameter
339              15:             Label
340              46:      6(int) Load 13(inF0)
341              47:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 46
342              48:    8(float) CompositeExtract 47 0
343                              ReturnValue 48
344                              FunctionEnd
34521(PixelShaderFunction2(vu2;):   18(fvec2) Function None 19
346        20(inF0):     17(ptr) FunctionParameter
347              22:             Label
348              51:      7(ptr) AccessChain 20(inF0) 42
349              52:      6(int) Load 51
350              53:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 52
351              54:    8(float) CompositeExtract 53 0
352              56:      7(ptr) AccessChain 20(inF0) 55
353              57:      6(int) Load 56
354              58:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 57
355              59:    8(float) CompositeExtract 58 0
356              60:   18(fvec2) CompositeConstruct 54 59
357                              ReturnValue 60
358                              FunctionEnd
35928(PixelShaderFunction3(vu3;):   25(fvec3) Function None 26
360        27(inF0):     24(ptr) FunctionParameter
361              29:             Label
362              63:      7(ptr) AccessChain 27(inF0) 42
363              64:      6(int) Load 63
364              65:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 64
365              66:    8(float) CompositeExtract 65 0
366              67:      7(ptr) AccessChain 27(inF0) 55
367              68:      6(int) Load 67
368              69:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 68
369              70:    8(float) CompositeExtract 69 0
370              72:      7(ptr) AccessChain 27(inF0) 71
371              73:      6(int) Load 72
372              74:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 73
373              75:    8(float) CompositeExtract 74 0
374              76:   25(fvec3) CompositeConstruct 66 70 75
375                              ReturnValue 76
376                              FunctionEnd
37735(PixelShaderFunction(vu4;):   32(fvec4) Function None 33
378        34(inF0):     31(ptr) FunctionParameter
379              36:             Label
380              79:      7(ptr) AccessChain 34(inF0) 42
381              80:      6(int) Load 79
382              81:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 80
383              82:    8(float) CompositeExtract 81 0
384              83:      7(ptr) AccessChain 34(inF0) 55
385              84:      6(int) Load 83
386              85:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 84
387              86:    8(float) CompositeExtract 85 0
388              87:      7(ptr) AccessChain 34(inF0) 71
389              88:      6(int) Load 87
390              89:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 88
391              90:    8(float) CompositeExtract 89 0
392              92:      7(ptr) AccessChain 34(inF0) 91
393              93:      6(int) Load 92
394              94:   18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 93
395              95:    8(float) CompositeExtract 94 0
396              96:   32(fvec4) CompositeConstruct 82 86 90 95
397                              ReturnValue 96
398                              FunctionEnd
399      38(@main():   32(fvec4) Function None 37
400              39:             Label
401                              ReturnValue 100
402                              FunctionEnd
403