• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.intrinsics.f3216.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: PixelShaderFunctionS(f1; ( temp uint)
60:2    Function Parameters:
70:2      'inF0' ( in float)
80:?     Sequence
90:3      Branch: Return with expression
100:3        packHalf2x16 ( temp uint)
110:3          Construct vec2 ( temp 2-component vector of float)
120:3            'inF0' ( in float)
130:3            Constant:
140:3              0.000000
150:7  Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
160:7    Function Parameters:
170:7      'inF0' ( in 1-component vector of float)
180:?     Sequence
190:8      Branch: Return with expression
200:8        Construct uint ( temp 1-component vector of uint)
210:8          packHalf2x16 ( temp uint)
220:8            Construct vec2 ( temp 2-component vector of float)
230:8              Construct float ( in float)
240:8                'inF0' ( in 1-component vector of float)
250:8              Constant:
260:8                0.000000
270:12  Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
280:12    Function Parameters:
290:12      'inF0' ( in 2-component vector of float)
300:?     Sequence
310:13      Branch: Return with expression
320:13        Construct uvec2 ( temp 2-component vector of uint)
330:13          packHalf2x16 ( temp uint)
340:13            Construct vec2 ( temp 2-component vector of float)
350:13              direct index ( temp float)
360:13                'inF0' ( in 2-component vector of float)
370:13                Constant:
380:13                  0 (const int)
390:13              Constant:
400:13                0.000000
410:13          packHalf2x16 ( temp uint)
420:13            Construct vec2 ( temp 2-component vector of float)
430:13              direct index ( temp float)
440:13                'inF0' ( in 2-component vector of float)
450:13                Constant:
460:13                  1 (const int)
470:13              Constant:
480:13                0.000000
490:17  Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
500:17    Function Parameters:
510:17      'inF0' ( in 3-component vector of float)
520:?     Sequence
530:18      Branch: Return with expression
540:18        Construct uvec3 ( temp 3-component vector of uint)
550:18          packHalf2x16 ( temp uint)
560:18            Construct vec2 ( temp 2-component vector of float)
570:18              direct index ( temp float)
580:18                'inF0' ( in 3-component vector of float)
590:18                Constant:
600:18                  0 (const int)
610:18              Constant:
620:18                0.000000
630:18          packHalf2x16 ( temp uint)
640:18            Construct vec2 ( temp 2-component vector of float)
650:18              direct index ( temp float)
660:18                'inF0' ( in 3-component vector of float)
670:18                Constant:
680:18                  1 (const int)
690:18              Constant:
700:18                0.000000
710:18          packHalf2x16 ( temp uint)
720:18            Construct vec2 ( temp 2-component vector of float)
730:18              direct index ( temp float)
740:18                'inF0' ( in 3-component vector of float)
750:18                Constant:
760:18                  2 (const int)
770:18              Constant:
780:18                0.000000
790:22  Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
800:22    Function Parameters:
810:22      'inF0' ( in 4-component vector of float)
820:?     Sequence
830:23      Branch: Return with expression
840:23        Construct uvec4 ( temp 4-component vector of uint)
850:23          packHalf2x16 ( temp uint)
860:23            Construct vec2 ( temp 2-component vector of float)
870:23              direct index ( temp float)
880:23                'inF0' ( in 4-component vector of float)
890:23                Constant:
900:23                  0 (const int)
910:23              Constant:
920:23                0.000000
930:23          packHalf2x16 ( temp uint)
940:23            Construct vec2 ( temp 2-component vector of float)
950:23              direct index ( temp float)
960:23                'inF0' ( in 4-component vector of float)
970:23                Constant:
980:23                  1 (const int)
990:23              Constant:
1000:23                0.000000
1010:23          packHalf2x16 ( temp uint)
1020:23            Construct vec2 ( temp 2-component vector of float)
1030:23              direct index ( temp float)
1040:23                'inF0' ( in 4-component vector of float)
1050:23                Constant:
1060:23                  2 (const int)
1070:23              Constant:
1080:23                0.000000
1090:23          packHalf2x16 ( temp uint)
1100:23            Construct vec2 ( temp 2-component vector of float)
1110:23              direct index ( temp float)
1120:23                'inF0' ( in 4-component vector of float)
1130:23                Constant:
1140:23                  3 (const int)
1150:23              Constant:
1160:23                0.000000
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(f1; ( temp uint)
1430:2    Function Parameters:
1440:2      'inF0' ( in float)
1450:?     Sequence
1460:3      Branch: Return with expression
1470:3        packHalf2x16 ( temp uint)
1480:3          Construct vec2 ( temp 2-component vector of float)
1490:3            'inF0' ( in float)
1500:3            Constant:
1510:3              0.000000
1520:7  Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
1530:7    Function Parameters:
1540:7      'inF0' ( in 1-component vector of float)
1550:?     Sequence
1560:8      Branch: Return with expression
1570:8        Construct uint ( temp 1-component vector of uint)
1580:8          packHalf2x16 ( temp uint)
1590:8            Construct vec2 ( temp 2-component vector of float)
1600:8              Construct float ( in float)
1610:8                'inF0' ( in 1-component vector of float)
1620:8              Constant:
1630:8                0.000000
1640:12  Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
1650:12    Function Parameters:
1660:12      'inF0' ( in 2-component vector of float)
1670:?     Sequence
1680:13      Branch: Return with expression
1690:13        Construct uvec2 ( temp 2-component vector of uint)
1700:13          packHalf2x16 ( temp uint)
1710:13            Construct vec2 ( temp 2-component vector of float)
1720:13              direct index ( temp float)
1730:13                'inF0' ( in 2-component vector of float)
1740:13                Constant:
1750:13                  0 (const int)
1760:13              Constant:
1770:13                0.000000
1780:13          packHalf2x16 ( temp uint)
1790:13            Construct vec2 ( temp 2-component vector of float)
1800:13              direct index ( temp float)
1810:13                'inF0' ( in 2-component vector of float)
1820:13                Constant:
1830:13                  1 (const int)
1840:13              Constant:
1850:13                0.000000
1860:17  Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
1870:17    Function Parameters:
1880:17      'inF0' ( in 3-component vector of float)
1890:?     Sequence
1900:18      Branch: Return with expression
1910:18        Construct uvec3 ( temp 3-component vector of uint)
1920:18          packHalf2x16 ( temp uint)
1930:18            Construct vec2 ( temp 2-component vector of float)
1940:18              direct index ( temp float)
1950:18                'inF0' ( in 3-component vector of float)
1960:18                Constant:
1970:18                  0 (const int)
1980:18              Constant:
1990:18                0.000000
2000:18          packHalf2x16 ( temp uint)
2010:18            Construct vec2 ( temp 2-component vector of float)
2020:18              direct index ( temp float)
2030:18                'inF0' ( in 3-component vector of float)
2040:18                Constant:
2050:18                  1 (const int)
2060:18              Constant:
2070:18                0.000000
2080:18          packHalf2x16 ( temp uint)
2090:18            Construct vec2 ( temp 2-component vector of float)
2100:18              direct index ( temp float)
2110:18                'inF0' ( in 3-component vector of float)
2120:18                Constant:
2130:18                  2 (const int)
2140:18              Constant:
2150:18                0.000000
2160:22  Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
2170:22    Function Parameters:
2180:22      'inF0' ( in 4-component vector of float)
2190:?     Sequence
2200:23      Branch: Return with expression
2210:23        Construct uvec4 ( temp 4-component vector of uint)
2220:23          packHalf2x16 ( temp uint)
2230:23            Construct vec2 ( temp 2-component vector of float)
2240:23              direct index ( temp float)
2250:23                'inF0' ( in 4-component vector of float)
2260:23                Constant:
2270:23                  0 (const int)
2280:23              Constant:
2290:23                0.000000
2300:23          packHalf2x16 ( temp uint)
2310:23            Construct vec2 ( temp 2-component vector of float)
2320:23              direct index ( temp float)
2330:23                'inF0' ( in 4-component vector of float)
2340:23                Constant:
2350:23                  1 (const int)
2360:23              Constant:
2370:23                0.000000
2380:23          packHalf2x16 ( temp uint)
2390:23            Construct vec2 ( temp 2-component vector of float)
2400:23              direct index ( temp float)
2410:23                'inF0' ( in 4-component vector of float)
2420:23                Constant:
2430:23                  2 (const int)
2440:23              Constant:
2450:23                0.000000
2460:23          packHalf2x16 ( temp uint)
2470:23            Construct vec2 ( temp 2-component vector of float)
2480:23              direct index ( temp float)
2490:23                'inF0' ( in 4-component vector of float)
2500:23                Constant:
2510:23                  3 (const int)
2520:23              Constant:
2530:23                0.000000
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(f1;"
284                              Name 10  "inF0"
285                              Name 14  "PixelShaderFunction1(vf1;"
286                              Name 13  "inF0"
287                              Name 21  "PixelShaderFunction2(vf2;"
288                              Name 20  "inF0"
289                              Name 28  "PixelShaderFunction3(vf3;"
290                              Name 27  "inF0"
291                              Name 35  "PixelShaderFunction(vf4;"
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:             TypeFloat 32
299               7:             TypePointer Function 6(float)
300               8:             TypeInt 32 0
301               9:             TypeFunction 8(int) 7(ptr)
302              16:             TypeVector 6(float) 2
303              17:             TypePointer Function 16(fvec2)
304              18:             TypeVector 8(int) 2
305              19:             TypeFunction 18(ivec2) 17(ptr)
306              23:             TypeVector 6(float) 3
307              24:             TypePointer Function 23(fvec3)
308              25:             TypeVector 8(int) 3
309              26:             TypeFunction 25(ivec3) 24(ptr)
310              30:             TypeVector 6(float) 4
311              31:             TypePointer Function 30(fvec4)
312              32:             TypeVector 8(int) 4
313              33:             TypeFunction 32(ivec4) 31(ptr)
314              37:             TypeFunction 30(fvec4)
315              41:    6(float) Constant 0
316              51:      8(int) Constant 0
317              56:      8(int) Constant 1
318              72:      8(int) Constant 2
319              92:      8(int) Constant 3
320             100:   30(fvec4) ConstantComposite 41 41 41 41
321             103:             TypePointer Output 30(fvec4)
322104(@entryPointOutput):    103(ptr) Variable Output
323         4(main):           2 Function None 3
324               5:             Label
325             105:   30(fvec4) FunctionCall 38(@main()
326                              Store 104(@entryPointOutput) 105
327                              Return
328                              FunctionEnd
32911(PixelShaderFunctionS(f1;):      8(int) Function None 9
330        10(inF0):      7(ptr) FunctionParameter
331              12:             Label
332              40:    6(float) Load 10(inF0)
333              42:   16(fvec2) CompositeConstruct 40 41
334              43:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 42
335                              ReturnValue 43
336                              FunctionEnd
33714(PixelShaderFunction1(vf1;):      8(int) Function None 9
338        13(inF0):      7(ptr) FunctionParameter
339              15:             Label
340              46:    6(float) Load 13(inF0)
341              47:   16(fvec2) CompositeConstruct 46 41
342              48:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 47
343                              ReturnValue 48
344                              FunctionEnd
34521(PixelShaderFunction2(vf2;):   18(ivec2) Function None 19
346        20(inF0):     17(ptr) FunctionParameter
347              22:             Label
348              52:      7(ptr) AccessChain 20(inF0) 51
349              53:    6(float) Load 52
350              54:   16(fvec2) CompositeConstruct 53 41
351              55:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 54
352              57:      7(ptr) AccessChain 20(inF0) 56
353              58:    6(float) Load 57
354              59:   16(fvec2) CompositeConstruct 58 41
355              60:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 59
356              61:   18(ivec2) CompositeConstruct 55 60
357                              ReturnValue 61
358                              FunctionEnd
35928(PixelShaderFunction3(vf3;):   25(ivec3) Function None 26
360        27(inF0):     24(ptr) FunctionParameter
361              29:             Label
362              64:      7(ptr) AccessChain 27(inF0) 51
363              65:    6(float) Load 64
364              66:   16(fvec2) CompositeConstruct 65 41
365              67:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 66
366              68:      7(ptr) AccessChain 27(inF0) 56
367              69:    6(float) Load 68
368              70:   16(fvec2) CompositeConstruct 69 41
369              71:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 70
370              73:      7(ptr) AccessChain 27(inF0) 72
371              74:    6(float) Load 73
372              75:   16(fvec2) CompositeConstruct 74 41
373              76:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 75
374              77:   25(ivec3) CompositeConstruct 67 71 76
375                              ReturnValue 77
376                              FunctionEnd
37735(PixelShaderFunction(vf4;):   32(ivec4) Function None 33
378        34(inF0):     31(ptr) FunctionParameter
379              36:             Label
380              80:      7(ptr) AccessChain 34(inF0) 51
381              81:    6(float) Load 80
382              82:   16(fvec2) CompositeConstruct 81 41
383              83:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 82
384              84:      7(ptr) AccessChain 34(inF0) 56
385              85:    6(float) Load 84
386              86:   16(fvec2) CompositeConstruct 85 41
387              87:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 86
388              88:      7(ptr) AccessChain 34(inF0) 72
389              89:    6(float) Load 88
390              90:   16(fvec2) CompositeConstruct 89 41
391              91:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 90
392              93:      7(ptr) AccessChain 34(inF0) 92
393              94:    6(float) Load 93
394              95:   16(fvec2) CompositeConstruct 94 41
395              96:      8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 95
396              97:   32(ivec4) CompositeConstruct 83 87 91 96
397                              ReturnValue 97
398                              FunctionEnd
399      38(@main():   30(fvec4) Function None 37
400              39:             Label
401                              ReturnValue 100
402                              FunctionEnd
403