• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.intrinsic.frexp.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:3  Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
60:3    Function Parameters:
70:3      'inF0' ( in float)
80:3      'inF1' ( in float)
90:?     Sequence
100:4      Sequence
110:4        move second child to first child ( temp float)
120:4          'r000' ( temp float)
130:4          frexp ( temp float)
140:4            'inF0' ( in float)
150:4            'inF1' ( in float)
160:5      Branch: Return with expression
170:5        Constant:
180:5          0.000000
190:9  Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
200:9    Function Parameters:
210:9      'inF0' ( in 2-component vector of float)
220:9      'inF1' ( in 2-component vector of float)
230:?     Sequence
240:10      Sequence
250:10        move second child to first child ( temp 2-component vector of float)
260:10          'r000' ( temp 2-component vector of float)
270:10          frexp ( temp 2-component vector of float)
280:10            'inF0' ( in 2-component vector of float)
290:10            'inF1' ( in 2-component vector of float)
300:11      Branch: Return with expression
310:11        Constant:
320:11          1.000000
330:11          2.000000
340:15  Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
350:15    Function Parameters:
360:15      'inF0' ( in 3-component vector of float)
370:15      'inF1' ( in 3-component vector of float)
380:?     Sequence
390:16      Sequence
400:16        move second child to first child ( temp 3-component vector of float)
410:16          'r000' ( temp 3-component vector of float)
420:16          frexp ( temp 3-component vector of float)
430:16            'inF0' ( in 3-component vector of float)
440:16            'inF1' ( in 3-component vector of float)
450:17      Branch: Return with expression
460:17        Constant:
470:17          1.000000
480:17          2.000000
490:17          3.000000
500:21  Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
510:21    Function Parameters:
520:21      'inF0' ( in 4-component vector of float)
530:21      'inF1' ( in 4-component vector of float)
540:?     Sequence
550:22      Sequence
560:22        move second child to first child ( temp 4-component vector of float)
570:22          'r000' ( temp 4-component vector of float)
580:22          frexp ( temp 4-component vector of float)
590:22            'inF0' ( in 4-component vector of float)
600:22            'inF1' ( in 4-component vector of float)
610:23      Branch: Return with expression
620:23        Constant:
630:23          1.000000
640:23          2.000000
650:23          3.000000
660:23          4.000000
670:33  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
680:33    Function Parameters:
690:?     Sequence
700:35      move second child to first child ( temp 4-component vector of float)
710:35        color: direct index for structure ( temp 4-component vector of float)
720:35          'ps_output' ( temp structure{ temp 4-component vector of float color})
730:35          Constant:
740:35            0 (const int)
750:35        Constant:
760:35          1.000000
770:35          1.000000
780:35          1.000000
790:35          1.000000
800:36      Branch: Return with expression
810:36        'ps_output' ( temp structure{ temp 4-component vector of float color})
820:33  Function Definition: main( ( temp void)
830:33    Function Parameters:
840:?     Sequence
850:33      Sequence
860:33        move second child to first child ( temp 4-component vector of float)
870:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
880:33          color: direct index for structure ( temp 4-component vector of float)
890:33            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
900:33            Constant:
910:33              0 (const int)
920:?   Linker Objects
930:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
94
95
96Linked fragment stage:
97
98
99Shader version: 500
100gl_FragCoord origin is upper left
1010:? Sequence
1020:3  Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
1030:3    Function Parameters:
1040:3      'inF0' ( in float)
1050:3      'inF1' ( in float)
1060:?     Sequence
1070:4      Sequence
1080:4        move second child to first child ( temp float)
1090:4          'r000' ( temp float)
1100:4          frexp ( temp float)
1110:4            'inF0' ( in float)
1120:4            'inF1' ( in float)
1130:5      Branch: Return with expression
1140:5        Constant:
1150:5          0.000000
1160:9  Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
1170:9    Function Parameters:
1180:9      'inF0' ( in 2-component vector of float)
1190:9      'inF1' ( in 2-component vector of float)
1200:?     Sequence
1210:10      Sequence
1220:10        move second child to first child ( temp 2-component vector of float)
1230:10          'r000' ( temp 2-component vector of float)
1240:10          frexp ( temp 2-component vector of float)
1250:10            'inF0' ( in 2-component vector of float)
1260:10            'inF1' ( in 2-component vector of float)
1270:11      Branch: Return with expression
1280:11        Constant:
1290:11          1.000000
1300:11          2.000000
1310:15  Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
1320:15    Function Parameters:
1330:15      'inF0' ( in 3-component vector of float)
1340:15      'inF1' ( in 3-component vector of float)
1350:?     Sequence
1360:16      Sequence
1370:16        move second child to first child ( temp 3-component vector of float)
1380:16          'r000' ( temp 3-component vector of float)
1390:16          frexp ( temp 3-component vector of float)
1400:16            'inF0' ( in 3-component vector of float)
1410:16            'inF1' ( in 3-component vector of float)
1420:17      Branch: Return with expression
1430:17        Constant:
1440:17          1.000000
1450:17          2.000000
1460:17          3.000000
1470:21  Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
1480:21    Function Parameters:
1490:21      'inF0' ( in 4-component vector of float)
1500:21      'inF1' ( in 4-component vector of float)
1510:?     Sequence
1520:22      Sequence
1530:22        move second child to first child ( temp 4-component vector of float)
1540:22          'r000' ( temp 4-component vector of float)
1550:22          frexp ( temp 4-component vector of float)
1560:22            'inF0' ( in 4-component vector of float)
1570:22            'inF1' ( in 4-component vector of float)
1580:23      Branch: Return with expression
1590:23        Constant:
1600:23          1.000000
1610:23          2.000000
1620:23          3.000000
1630:23          4.000000
1640:33  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
1650:33    Function Parameters:
1660:?     Sequence
1670:35      move second child to first child ( temp 4-component vector of float)
1680:35        color: direct index for structure ( temp 4-component vector of float)
1690:35          'ps_output' ( temp structure{ temp 4-component vector of float color})
1700:35          Constant:
1710:35            0 (const int)
1720:35        Constant:
1730:35          1.000000
1740:35          1.000000
1750:35          1.000000
1760:35          1.000000
1770:36      Branch: Return with expression
1780:36        'ps_output' ( temp structure{ temp 4-component vector of float color})
1790:33  Function Definition: main( ( temp void)
1800:33    Function Parameters:
1810:?     Sequence
1820:33      Sequence
1830:33        move second child to first child ( temp 4-component vector of float)
1840:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
1850:33          color: direct index for structure ( temp 4-component vector of float)
1860:33            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
1870:33            Constant:
1880:33              0 (const int)
1890:?   Linker Objects
1900:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
191
192// Module Version 10000
193// Generated by (magic number): 8000a
194// Id's are bound by 98
195
196                              Capability Shader
197               1:             ExtInstImport  "GLSL.std.450"
198                              MemoryModel Logical GLSL450
199                              EntryPoint Fragment 4  "main" 95
200                              ExecutionMode 4 OriginUpperLeft
201                              Source HLSL 500
202                              Name 4  "main"
203                              Name 11  "PixelShaderFunctionS(f1;f1;"
204                              Name 9  "inF0"
205                              Name 10  "inF1"
206                              Name 18  "PixelShaderFunction2(vf2;vf2;"
207                              Name 16  "inF0"
208                              Name 17  "inF1"
209                              Name 25  "PixelShaderFunction3(vf3;vf3;"
210                              Name 23  "inF0"
211                              Name 24  "inF1"
212                              Name 32  "PixelShaderFunction(vf4;vf4;"
213                              Name 30  "inF0"
214                              Name 31  "inF1"
215                              Name 34  "PS_OUTPUT"
216                              MemberName 34(PS_OUTPUT) 0  "color"
217                              Name 36  "@main("
218                              Name 38  "r000"
219                              Name 41  "ResType"
220                              Name 49  "r000"
221                              Name 52  "ResType"
222                              Name 62  "r000"
223                              Name 65  "ResType"
224                              Name 74  "r000"
225                              Name 77  "ResType"
226                              Name 87  "ps_output"
227                              Name 95  "@entryPointOutput.color"
228                              Decorate 95(@entryPointOutput.color) Location 0
229               2:             TypeVoid
230               3:             TypeFunction 2
231               6:             TypeFloat 32
232               7:             TypePointer Function 6(float)
233               8:             TypeFunction 6(float) 7(ptr) 7(ptr)
234              13:             TypeVector 6(float) 2
235              14:             TypePointer Function 13(fvec2)
236              15:             TypeFunction 13(fvec2) 14(ptr) 14(ptr)
237              20:             TypeVector 6(float) 3
238              21:             TypePointer Function 20(fvec3)
239              22:             TypeFunction 20(fvec3) 21(ptr) 21(ptr)
240              27:             TypeVector 6(float) 4
241              28:             TypePointer Function 27(fvec4)
242              29:             TypeFunction 27(fvec4) 28(ptr) 28(ptr)
243   34(PS_OUTPUT):             TypeStruct 27(fvec4)
244              35:             TypeFunction 34(PS_OUTPUT)
245              40:             TypeInt 32 1
246     41(ResType):             TypeStruct 6(float) 40(int)
247              46:    6(float) Constant 0
248              51:             TypeVector 40(int) 2
249     52(ResType):             TypeStruct 13(fvec2) 51(ivec2)
250              57:    6(float) Constant 1065353216
251              58:    6(float) Constant 1073741824
252              59:   13(fvec2) ConstantComposite 57 58
253              64:             TypeVector 40(int) 3
254     65(ResType):             TypeStruct 20(fvec3) 64(ivec3)
255              70:    6(float) Constant 1077936128
256              71:   20(fvec3) ConstantComposite 57 58 70
257              76:             TypeVector 40(int) 4
258     77(ResType):             TypeStruct 27(fvec4) 76(ivec4)
259              82:    6(float) Constant 1082130432
260              83:   27(fvec4) ConstantComposite 57 58 70 82
261              86:             TypePointer Function 34(PS_OUTPUT)
262              88:     40(int) Constant 0
263              89:   27(fvec4) ConstantComposite 57 57 57 57
264              94:             TypePointer Output 27(fvec4)
26595(@entryPointOutput.color):     94(ptr) Variable Output
266         4(main):           2 Function None 3
267               5:             Label
268              96:34(PS_OUTPUT) FunctionCall 36(@main()
269              97:   27(fvec4) CompositeExtract 96 0
270                              Store 95(@entryPointOutput.color) 97
271                              Return
272                              FunctionEnd
27311(PixelShaderFunctionS(f1;f1;):    6(float) Function None 8
274         9(inF0):      7(ptr) FunctionParameter
275        10(inF1):      7(ptr) FunctionParameter
276              12:             Label
277        38(r000):      7(ptr) Variable Function
278              39:    6(float) Load 9(inF0)
279              42: 41(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 39
280              43:     40(int) CompositeExtract 42 1
281              44:    6(float) ConvertSToF 43
282                              Store 10(inF1) 44
283              45:    6(float) CompositeExtract 42 0
284                              Store 38(r000) 45
285                              ReturnValue 46
286                              FunctionEnd
28718(PixelShaderFunction2(vf2;vf2;):   13(fvec2) Function None 15
288        16(inF0):     14(ptr) FunctionParameter
289        17(inF1):     14(ptr) FunctionParameter
290              19:             Label
291        49(r000):     14(ptr) Variable Function
292              50:   13(fvec2) Load 16(inF0)
293              53: 52(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 50
294              54:   51(ivec2) CompositeExtract 53 1
295              55:   13(fvec2) ConvertSToF 54
296                              Store 17(inF1) 55
297              56:   13(fvec2) CompositeExtract 53 0
298                              Store 49(r000) 56
299                              ReturnValue 59
300                              FunctionEnd
30125(PixelShaderFunction3(vf3;vf3;):   20(fvec3) Function None 22
302        23(inF0):     21(ptr) FunctionParameter
303        24(inF1):     21(ptr) FunctionParameter
304              26:             Label
305        62(r000):     21(ptr) Variable Function
306              63:   20(fvec3) Load 23(inF0)
307              66: 65(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 63
308              67:   64(ivec3) CompositeExtract 66 1
309              68:   20(fvec3) ConvertSToF 67
310                              Store 24(inF1) 68
311              69:   20(fvec3) CompositeExtract 66 0
312                              Store 62(r000) 69
313                              ReturnValue 71
314                              FunctionEnd
31532(PixelShaderFunction(vf4;vf4;):   27(fvec4) Function None 29
316        30(inF0):     28(ptr) FunctionParameter
317        31(inF1):     28(ptr) FunctionParameter
318              33:             Label
319        74(r000):     28(ptr) Variable Function
320              75:   27(fvec4) Load 30(inF0)
321              78: 77(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 75
322              79:   76(ivec4) CompositeExtract 78 1
323              80:   27(fvec4) ConvertSToF 79
324                              Store 31(inF1) 80
325              81:   27(fvec4) CompositeExtract 78 0
326                              Store 74(r000) 81
327                              ReturnValue 83
328                              FunctionEnd
329      36(@main():34(PS_OUTPUT) Function None 35
330              37:             Label
331   87(ps_output):     86(ptr) Variable Function
332              90:     28(ptr) AccessChain 87(ps_output) 88
333                              Store 90 89
334              91:34(PS_OUTPUT) Load 87(ps_output)
335                              ReturnValue 91
336                              FunctionEnd
337