Home | History | Annotate | Download | only in baseResults
      1 hlsl.rw.swizzle.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:4  Function Definition: SomeValue( ( temp 3-component vector of float)
      6 0:4    Function Parameters: 
      7 0:?     Sequence
      8 0:4      Branch: Return with expression
      9 0:?         Constant:
     10 0:?           1.000000
     11 0:?           2.000000
     12 0:?           3.000000
     13 0:7  Function Definition: @main( ( temp 4-component vector of float)
     14 0:7    Function Parameters: 
     15 0:?     Sequence
     16 0:8      Sequence
     17 0:8        move second child to first child ( temp 2-component vector of int)
     18 0:8          'tc2' ( temp 2-component vector of int)
     19 0:8          Constant:
     20 0:8            0 (const int)
     21 0:8            0 (const int)
     22 0:9      Sequence
     23 0:9        move second child to first child ( temp int)
     24 0:9          'tc' ( temp int)
     25 0:9          Constant:
     26 0:9            0 (const int)
     27 0:12      Sequence
     28 0:12        move second child to first child ( temp 3-component vector of float)
     29 0:12          vector swizzle ( temp 3-component vector of float)
     30 0:12            'storeTemp' ( temp 3-component vector of float)
     31 0:12            Sequence
     32 0:12              Constant:
     33 0:12                2 (const int)
     34 0:12              Constant:
     35 0:12                1 (const int)
     36 0:12              Constant:
     37 0:12                0 (const int)
     38 0:?           Constant:
     39 0:?             1.000000
     40 0:?             2.000000
     41 0:?             3.000000
     42 0:12        imageStore ( temp void)
     43 0:12          'rwtx' (layout( rgba32f) uniform image2D)
     44 0:12          'tc2' ( temp 2-component vector of int)
     45 0:12          'storeTemp' ( temp 3-component vector of float)
     46 0:12        'storeTemp' ( temp 3-component vector of float)
     47 0:13      Sequence
     48 0:13        move second child to first child ( temp 3-component vector of float)
     49 0:13          vector swizzle ( temp 3-component vector of float)
     50 0:13            'storeTemp' ( temp 3-component vector of float)
     51 0:13            Sequence
     52 0:13              Constant:
     53 0:13                2 (const int)
     54 0:13              Constant:
     55 0:13                1 (const int)
     56 0:13              Constant:
     57 0:13                0 (const int)
     58 0:13          Function Call: SomeValue( ( temp 3-component vector of float)
     59 0:13        imageStore ( temp void)
     60 0:13          'rwtx' (layout( rgba32f) uniform image2D)
     61 0:13          'tc2' ( temp 2-component vector of int)
     62 0:13          'storeTemp' ( temp 3-component vector of float)
     63 0:13        'storeTemp' ( temp 3-component vector of float)
     64 0:14      Sequence
     65 0:14        move second child to first child ( temp 3-component vector of float)
     66 0:14          vector swizzle ( temp 3-component vector of float)
     67 0:14            'storeTemp' ( temp 3-component vector of float)
     68 0:14            Sequence
     69 0:14              Constant:
     70 0:14                2 (const int)
     71 0:14              Constant:
     72 0:14                1 (const int)
     73 0:14              Constant:
     74 0:14                0 (const int)
     75 0:14          Constant:
     76 0:14            2.000000
     77 0:14            2.000000
     78 0:14            2.000000
     79 0:14        imageStore ( temp void)
     80 0:14          'rwtx' (layout( rgba32f) uniform image2D)
     81 0:14          'tc2' ( temp 2-component vector of int)
     82 0:14          'storeTemp' ( temp 3-component vector of float)
     83 0:14        'storeTemp' ( temp 3-component vector of float)
     84 0:27      Branch: Return with expression
     85 0:27        Constant:
     86 0:27          0.000000
     87 0:27          0.000000
     88 0:27          0.000000
     89 0:27          0.000000
     90 0:7  Function Definition: main( ( temp void)
     91 0:7    Function Parameters: 
     92 0:?     Sequence
     93 0:7      move second child to first child ( temp 4-component vector of float)
     94 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     95 0:7        Function Call: @main( ( temp 4-component vector of float)
     96 0:?   Linker Objects
     97 0:?     'rwtx' (layout( rgba32f) uniform image2D)
     98 0:?     'buf' (layout( rgba32f) uniform imageBuffer)
     99 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
    100 
    101 
    102 Linked fragment stage:
    103 
    104 
    105 Shader version: 500
    106 gl_FragCoord origin is upper left
    107 0:? Sequence
    108 0:4  Function Definition: SomeValue( ( temp 3-component vector of float)
    109 0:4    Function Parameters: 
    110 0:?     Sequence
    111 0:4      Branch: Return with expression
    112 0:?         Constant:
    113 0:?           1.000000
    114 0:?           2.000000
    115 0:?           3.000000
    116 0:7  Function Definition: @main( ( temp 4-component vector of float)
    117 0:7    Function Parameters: 
    118 0:?     Sequence
    119 0:8      Sequence
    120 0:8        move second child to first child ( temp 2-component vector of int)
    121 0:8          'tc2' ( temp 2-component vector of int)
    122 0:8          Constant:
    123 0:8            0 (const int)
    124 0:8            0 (const int)
    125 0:9      Sequence
    126 0:9        move second child to first child ( temp int)
    127 0:9          'tc' ( temp int)
    128 0:9          Constant:
    129 0:9            0 (const int)
    130 0:12      Sequence
    131 0:12        move second child to first child ( temp 3-component vector of float)
    132 0:12          vector swizzle ( temp 3-component vector of float)
    133 0:12            'storeTemp' ( temp 3-component vector of float)
    134 0:12            Sequence
    135 0:12              Constant:
    136 0:12                2 (const int)
    137 0:12              Constant:
    138 0:12                1 (const int)
    139 0:12              Constant:
    140 0:12                0 (const int)
    141 0:?           Constant:
    142 0:?             1.000000
    143 0:?             2.000000
    144 0:?             3.000000
    145 0:12        imageStore ( temp void)
    146 0:12          'rwtx' (layout( rgba32f) uniform image2D)
    147 0:12          'tc2' ( temp 2-component vector of int)
    148 0:12          'storeTemp' ( temp 3-component vector of float)
    149 0:12        'storeTemp' ( temp 3-component vector of float)
    150 0:13      Sequence
    151 0:13        move second child to first child ( temp 3-component vector of float)
    152 0:13          vector swizzle ( temp 3-component vector of float)
    153 0:13            'storeTemp' ( temp 3-component vector of float)
    154 0:13            Sequence
    155 0:13              Constant:
    156 0:13                2 (const int)
    157 0:13              Constant:
    158 0:13                1 (const int)
    159 0:13              Constant:
    160 0:13                0 (const int)
    161 0:13          Function Call: SomeValue( ( temp 3-component vector of float)
    162 0:13        imageStore ( temp void)
    163 0:13          'rwtx' (layout( rgba32f) uniform image2D)
    164 0:13          'tc2' ( temp 2-component vector of int)
    165 0:13          'storeTemp' ( temp 3-component vector of float)
    166 0:13        'storeTemp' ( temp 3-component vector of float)
    167 0:14      Sequence
    168 0:14        move second child to first child ( temp 3-component vector of float)
    169 0:14          vector swizzle ( temp 3-component vector of float)
    170 0:14            'storeTemp' ( temp 3-component vector of float)
    171 0:14            Sequence
    172 0:14              Constant:
    173 0:14                2 (const int)
    174 0:14              Constant:
    175 0:14                1 (const int)
    176 0:14              Constant:
    177 0:14                0 (const int)
    178 0:14          Constant:
    179 0:14            2.000000
    180 0:14            2.000000
    181 0:14            2.000000
    182 0:14        imageStore ( temp void)
    183 0:14          'rwtx' (layout( rgba32f) uniform image2D)
    184 0:14          'tc2' ( temp 2-component vector of int)
    185 0:14          'storeTemp' ( temp 3-component vector of float)
    186 0:14        'storeTemp' ( temp 3-component vector of float)
    187 0:27      Branch: Return with expression
    188 0:27        Constant:
    189 0:27          0.000000
    190 0:27          0.000000
    191 0:27          0.000000
    192 0:27          0.000000
    193 0:7  Function Definition: main( ( temp void)
    194 0:7    Function Parameters: 
    195 0:?     Sequence
    196 0:7      move second child to first child ( temp 4-component vector of float)
    197 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
    198 0:7        Function Call: @main( ( temp 4-component vector of float)
    199 0:?   Linker Objects
    200 0:?     'rwtx' (layout( rgba32f) uniform image2D)
    201 0:?     'buf' (layout( rgba32f) uniform imageBuffer)
    202 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
    203 
    204 // Module Version 10000
    205 // Generated by (magic number): 80007
    206 // Id's are bound by 63
    207 
    208                               Capability Shader
    209                               Capability ImageBuffer
    210                1:             ExtInstImport  "GLSL.std.450"
    211                               MemoryModel Logical GLSL450
    212                               EntryPoint Fragment 4  "main" 58
    213                               ExecutionMode 4 OriginUpperLeft
    214                               Source HLSL 500
    215                               Name 4  "main"
    216                               Name 9  "SomeValue("
    217                               Name 13  "@main("
    218                               Name 24  "tc2"
    219                               Name 28  "tc"
    220                               Name 30  "storeTemp"
    221                               Name 35  "rwtx"
    222                               Name 39  "storeTemp"
    223                               Name 46  "storeTemp"
    224                               Name 58  "@entryPointOutput"
    225                               Name 62  "buf"
    226                               Decorate 35(rwtx) DescriptorSet 0
    227                               Decorate 35(rwtx) Binding 0
    228                               Decorate 58(@entryPointOutput) Location 0
    229                               Decorate 62(buf) DescriptorSet 0
    230                               Decorate 62(buf) Binding 0
    231                2:             TypeVoid
    232                3:             TypeFunction 2
    233                6:             TypeFloat 32
    234                7:             TypeVector 6(float) 3
    235                8:             TypeFunction 7(fvec3)
    236               11:             TypeVector 6(float) 4
    237               12:             TypeFunction 11(fvec4)
    238               15:    6(float) Constant 1065353216
    239               16:    6(float) Constant 1073741824
    240               17:    6(float) Constant 1077936128
    241               18:    7(fvec3) ConstantComposite 15 16 17
    242               21:             TypeInt 32 1
    243               22:             TypeVector 21(int) 2
    244               23:             TypePointer Function 22(ivec2)
    245               25:     21(int) Constant 0
    246               26:   22(ivec2) ConstantComposite 25 25
    247               27:             TypePointer Function 21(int)
    248               29:             TypePointer Function 7(fvec3)
    249               33:             TypeImage 6(float) 2D nonsampled format:Rgba32f
    250               34:             TypePointer UniformConstant 33
    251         35(rwtx):     34(ptr) Variable UniformConstant
    252               47:    7(fvec3) ConstantComposite 16 16 16
    253               53:    6(float) Constant 0
    254               54:   11(fvec4) ConstantComposite 53 53 53 53
    255               57:             TypePointer Output 11(fvec4)
    256 58(@entryPointOutput):     57(ptr) Variable Output
    257               60:             TypeImage 6(float) Buffer nonsampled format:Rgba32f
    258               61:             TypePointer UniformConstant 60
    259          62(buf):     61(ptr) Variable UniformConstant
    260          4(main):           2 Function None 3
    261                5:             Label
    262               59:   11(fvec4) FunctionCall 13(@main()
    263                               Store 58(@entryPointOutput) 59
    264                               Return
    265                               FunctionEnd
    266    9(SomeValue():    7(fvec3) Function None 8
    267               10:             Label
    268                               ReturnValue 18
    269                               FunctionEnd
    270       13(@main():   11(fvec4) Function None 12
    271               14:             Label
    272          24(tc2):     23(ptr) Variable Function
    273           28(tc):     27(ptr) Variable Function
    274    30(storeTemp):     29(ptr) Variable Function
    275    39(storeTemp):     29(ptr) Variable Function
    276    46(storeTemp):     29(ptr) Variable Function
    277                               Store 24(tc2) 26
    278                               Store 28(tc) 25
    279               31:    7(fvec3) Load 30(storeTemp)
    280               32:    7(fvec3) VectorShuffle 31 18 5 4 3
    281                               Store 30(storeTemp) 32
    282               36:          33 Load 35(rwtx)
    283               37:   22(ivec2) Load 24(tc2)
    284               38:    7(fvec3) Load 30(storeTemp)
    285                               ImageWrite 36 37 38
    286               40:    7(fvec3) FunctionCall 9(SomeValue()
    287               41:    7(fvec3) Load 39(storeTemp)
    288               42:    7(fvec3) VectorShuffle 41 40 5 4 3
    289                               Store 39(storeTemp) 42
    290               43:          33 Load 35(rwtx)
    291               44:   22(ivec2) Load 24(tc2)
    292               45:    7(fvec3) Load 39(storeTemp)
    293                               ImageWrite 43 44 45
    294               48:    7(fvec3) Load 46(storeTemp)
    295               49:    7(fvec3) VectorShuffle 48 47 5 4 3
    296                               Store 46(storeTemp) 49
    297               50:          33 Load 35(rwtx)
    298               51:   22(ivec2) Load 24(tc2)
    299               52:    7(fvec3) Load 46(storeTemp)
    300                               ImageWrite 50 51 52
    301                               ReturnValue 54
    302                               FunctionEnd
    303