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