Home | History | Annotate | Download | only in baseResults
      1 hlsl.nonint-index.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:4  Function Definition: @main(f1; ( temp float)
      6 0:4    Function Parameters: 
      7 0:4      'input' ( in float)
      8 0:?     Sequence
      9 0:7      Branch: Return with expression
     10 0:7        add ( temp float)
     11 0:7          add ( temp float)
     12 0:7            add ( temp float)
     13 0:7              indirect index ( temp float)
     14 0:7                Constant:
     15 0:7                  1.000000
     16 0:7                  2.000000
     17 0:7                  3.000000
     18 0:7                Convert float to uint ( temp uint)
     19 0:7                  'input' ( in float)
     20 0:7              Constant:
     21 0:7                3.000000
     22 0:7            Constant:
     23 0:7              2.000000
     24 0:7          Constant:
     25 0:7            1.000000
     26 0:4  Function Definition: main( ( temp void)
     27 0:4    Function Parameters: 
     28 0:?     Sequence
     29 0:4      move second child to first child ( temp float)
     30 0:?         'input' ( temp float)
     31 0:?         'input' (layout( location=0) in float)
     32 0:4      move second child to first child ( temp float)
     33 0:?         '@entryPointOutput' (layout( location=0) out float)
     34 0:4        Function Call: @main(f1; ( temp float)
     35 0:?           'input' ( temp float)
     36 0:?   Linker Objects
     37 0:?     'array' ( const 3-element array of float)
     38 0:?       1.000000
     39 0:?       2.000000
     40 0:?       3.000000
     41 0:?     '@entryPointOutput' (layout( location=0) out float)
     42 0:?     'input' (layout( location=0) in float)
     43 
     44 
     45 Linked fragment stage:
     46 
     47 
     48 Shader version: 500
     49 gl_FragCoord origin is upper left
     50 0:? Sequence
     51 0:4  Function Definition: @main(f1; ( temp float)
     52 0:4    Function Parameters: 
     53 0:4      'input' ( in float)
     54 0:?     Sequence
     55 0:7      Branch: Return with expression
     56 0:7        add ( temp float)
     57 0:7          add ( temp float)
     58 0:7            add ( temp float)
     59 0:7              indirect index ( temp float)
     60 0:7                Constant:
     61 0:7                  1.000000
     62 0:7                  2.000000
     63 0:7                  3.000000
     64 0:7                Convert float to uint ( temp uint)
     65 0:7                  'input' ( in float)
     66 0:7              Constant:
     67 0:7                3.000000
     68 0:7            Constant:
     69 0:7              2.000000
     70 0:7          Constant:
     71 0:7            1.000000
     72 0:4  Function Definition: main( ( temp void)
     73 0:4    Function Parameters: 
     74 0:?     Sequence
     75 0:4      move second child to first child ( temp float)
     76 0:?         'input' ( temp float)
     77 0:?         'input' (layout( location=0) in float)
     78 0:4      move second child to first child ( temp float)
     79 0:?         '@entryPointOutput' (layout( location=0) out float)
     80 0:4        Function Call: @main(f1; ( temp float)
     81 0:?           'input' ( temp float)
     82 0:?   Linker Objects
     83 0:?     'array' ( const 3-element array of float)
     84 0:?       1.000000
     85 0:?       2.000000
     86 0:?       3.000000
     87 0:?     '@entryPointOutput' (layout( location=0) out float)
     88 0:?     'input' (layout( location=0) in float)
     89 
     90 // Module Version 10000
     91 // Generated by (magic number): 80007
     92 // Id's are bound by 39
     93 
     94                               Capability Shader
     95                1:             ExtInstImport  "GLSL.std.450"
     96                               MemoryModel Logical GLSL450
     97                               EntryPoint Fragment 4  "main" 32 35
     98                               ExecutionMode 4 OriginUpperLeft
     99                               Source HLSL 500
    100                               Name 4  "main"
    101                               Name 10  "@main(f1;"
    102                               Name 9  "input"
    103                               Name 22  "indexable"
    104                               Name 30  "input"
    105                               Name 32  "input"
    106                               Name 35  "@entryPointOutput"
    107                               Name 36  "param"
    108                               Decorate 32(input) Location 0
    109                               Decorate 35(@entryPointOutput) Location 0
    110                2:             TypeVoid
    111                3:             TypeFunction 2
    112                6:             TypeFloat 32
    113                7:             TypePointer Function 6(float)
    114                8:             TypeFunction 6(float) 7(ptr)
    115               12:             TypeInt 32 0
    116               13:     12(int) Constant 3
    117               14:             TypeArray 6(float) 13
    118               15:    6(float) Constant 1065353216
    119               16:    6(float) Constant 1073741824
    120               17:    6(float) Constant 1077936128
    121               18:          14 ConstantComposite 15 16 17
    122               21:             TypePointer Function 14
    123               31:             TypePointer Input 6(float)
    124        32(input):     31(ptr) Variable Input
    125               34:             TypePointer Output 6(float)
    126 35(@entryPointOutput):     34(ptr) Variable Output
    127          4(main):           2 Function None 3
    128                5:             Label
    129        30(input):      7(ptr) Variable Function
    130        36(param):      7(ptr) Variable Function
    131               33:    6(float) Load 32(input)
    132                               Store 30(input) 33
    133               37:    6(float) Load 30(input)
    134                               Store 36(param) 37
    135               38:    6(float) FunctionCall 10(@main(f1;) 36(param)
    136                               Store 35(@entryPointOutput) 38
    137                               Return
    138                               FunctionEnd
    139    10(@main(f1;):    6(float) Function None 8
    140         9(input):      7(ptr) FunctionParameter
    141               11:             Label
    142    22(indexable):     21(ptr) Variable Function
    143               19:    6(float) Load 9(input)
    144               20:     12(int) ConvertFToU 19
    145                               Store 22(indexable) 18
    146               23:      7(ptr) AccessChain 22(indexable) 20
    147               24:    6(float) Load 23
    148               25:    6(float) FAdd 24 17
    149               26:    6(float) FAdd 25 16
    150               27:    6(float) FAdd 26 15
    151                               ReturnValue 27
    152                               FunctionEnd
    153