Home | History | Annotate | Download | only in baseResults
      1 hlsl.amend.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:3  Sequence
      6 0:3    move second child to first child ( temp 4-component vector of float)
      7 0:3      'm' ( global 4-component vector of float)
      8 0:3      vector-scale ( temp 4-component vector of float)
      9 0:3        a: direct index for structure ( uniform 4-component vector of float)
     10 0:3          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     11 0:3          Constant:
     12 0:3            0 (const uint)
     13 0:3        b: direct index for structure ( uniform float)
     14 0:3          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     15 0:3          Constant:
     16 0:3            1 (const uint)
     17 0:5  Function Definition: @f1( ( temp void)
     18 0:5    Function Parameters: 
     19 0:?     Sequence
     20 0:6      vector-scale ( temp 4-component vector of float)
     21 0:6        a: direct index for structure ( uniform 4-component vector of float)
     22 0:6          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     23 0:6          Constant:
     24 0:6            0 (const uint)
     25 0:6        b: direct index for structure ( uniform float)
     26 0:6          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     27 0:6          Constant:
     28 0:6            1 (const uint)
     29 0:5  Function Definition: f1( ( temp void)
     30 0:5    Function Parameters: 
     31 0:?     Sequence
     32 0:5      Function Call: @f1( ( temp void)
     33 0:12  Function Definition: f2( ( temp void)
     34 0:12    Function Parameters: 
     35 0:?     Sequence
     36 0:13      add ( temp float)
     37 0:13        add ( temp float)
     38 0:13          direct index ( temp float)
     39 0:13            a: direct index for structure ( uniform 4-component vector of float)
     40 0:13              'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     41 0:13              Constant:
     42 0:13                0 (const uint)
     43 0:13            Constant:
     44 0:13              0 (const int)
     45 0:13          b: direct index for structure ( uniform float)
     46 0:13            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     47 0:13            Constant:
     48 0:13              1 (const uint)
     49 0:13        direct index ( temp float)
     50 0:13          c: direct index for structure ( uniform 3-component vector of float)
     51 0:13            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     52 0:13            Constant:
     53 0:13              2 (const uint)
     54 0:13          Constant:
     55 0:13            0 (const int)
     56 0:17  Function Definition: f3( ( temp void)
     57 0:17    Function Parameters: 
     58 0:?     Sequence
     59 0:18      c: direct index for structure ( uniform 3-component vector of float)
     60 0:18        'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     61 0:18        Constant:
     62 0:18          2 (const uint)
     63 0:24  Function Definition: f4( ( temp void)
     64 0:24    Function Parameters: 
     65 0:?     Sequence
     66 0:25      vector-scale ( temp 4-component vector of float)
     67 0:25        Convert int to float ( temp float)
     68 0:25          d: direct index for structure ( uniform int)
     69 0:25            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     70 0:25            Constant:
     71 0:25              3 (const uint)
     72 0:25        a: direct index for structure ( uniform 4-component vector of float)
     73 0:25          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     74 0:25          Constant:
     75 0:25            0 (const uint)
     76 0:?   Linker Objects
     77 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     78 0:?     'm' ( global 4-component vector of float)
     79 
     80 
     81 Linked fragment stage:
     82 
     83 
     84 Shader version: 500
     85 gl_FragCoord origin is upper left
     86 0:? Sequence
     87 0:3  Sequence
     88 0:3    move second child to first child ( temp 4-component vector of float)
     89 0:3      'm' ( global 4-component vector of float)
     90 0:3      vector-scale ( temp 4-component vector of float)
     91 0:3        a: direct index for structure ( uniform 4-component vector of float)
     92 0:3          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     93 0:3          Constant:
     94 0:3            0 (const uint)
     95 0:3        b: direct index for structure ( uniform float)
     96 0:3          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
     97 0:3          Constant:
     98 0:3            1 (const uint)
     99 0:5  Function Definition: @f1( ( temp void)
    100 0:5    Function Parameters: 
    101 0:?     Sequence
    102 0:6      vector-scale ( temp 4-component vector of float)
    103 0:6        a: direct index for structure ( uniform 4-component vector of float)
    104 0:6          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    105 0:6          Constant:
    106 0:6            0 (const uint)
    107 0:6        b: direct index for structure ( uniform float)
    108 0:6          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    109 0:6          Constant:
    110 0:6            1 (const uint)
    111 0:5  Function Definition: f1( ( temp void)
    112 0:5    Function Parameters: 
    113 0:?     Sequence
    114 0:5      Function Call: @f1( ( temp void)
    115 0:12  Function Definition: f2( ( temp void)
    116 0:12    Function Parameters: 
    117 0:?     Sequence
    118 0:13      add ( temp float)
    119 0:13        add ( temp float)
    120 0:13          direct index ( temp float)
    121 0:13            a: direct index for structure ( uniform 4-component vector of float)
    122 0:13              'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    123 0:13              Constant:
    124 0:13                0 (const uint)
    125 0:13            Constant:
    126 0:13              0 (const int)
    127 0:13          b: direct index for structure ( uniform float)
    128 0:13            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    129 0:13            Constant:
    130 0:13              1 (const uint)
    131 0:13        direct index ( temp float)
    132 0:13          c: direct index for structure ( uniform 3-component vector of float)
    133 0:13            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    134 0:13            Constant:
    135 0:13              2 (const uint)
    136 0:13          Constant:
    137 0:13            0 (const int)
    138 0:17  Function Definition: f3( ( temp void)
    139 0:17    Function Parameters: 
    140 0:?     Sequence
    141 0:18      c: direct index for structure ( uniform 3-component vector of float)
    142 0:18        'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    143 0:18        Constant:
    144 0:18          2 (const uint)
    145 0:24  Function Definition: f4( ( temp void)
    146 0:24    Function Parameters: 
    147 0:?     Sequence
    148 0:25      vector-scale ( temp 4-component vector of float)
    149 0:25        Convert int to float ( temp float)
    150 0:25          d: direct index for structure ( uniform int)
    151 0:25            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    152 0:25            Constant:
    153 0:25              3 (const uint)
    154 0:25        a: direct index for structure ( uniform 4-component vector of float)
    155 0:25          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    156 0:25          Constant:
    157 0:25            0 (const uint)
    158 0:?   Linker Objects
    159 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a,  uniform float b,  uniform 3-component vector of float c,  uniform int d,  uniform int e})
    160 0:?     'm' ( global 4-component vector of float)
    161 
    162 // Module Version 10000
    163 // Generated by (magic number): 80007
    164 // Id's are bound by 57
    165 
    166                               Capability Shader
    167                1:             ExtInstImport  "GLSL.std.450"
    168                               MemoryModel Logical GLSL450
    169                               EntryPoint Fragment 4  "f1"
    170                               ExecutionMode 4 OriginUpperLeft
    171                               Source HLSL 500
    172                               Name 4  "f1"
    173                               Name 6  "@f1("
    174                               Name 8  "f2("
    175                               Name 10  "f3("
    176                               Name 12  "f4("
    177                               Name 17  "m"
    178                               Name 20  "$Global"
    179                               MemberName 20($Global) 0  "a"
    180                               MemberName 20($Global) 1  "b"
    181                               MemberName 20($Global) 2  "c"
    182                               MemberName 20($Global) 3  "d"
    183                               MemberName 20($Global) 4  "e"
    184                               Name 22  ""
    185                               MemberDecorate 20($Global) 0 Offset 0
    186                               MemberDecorate 20($Global) 1 Offset 16
    187                               MemberDecorate 20($Global) 2 Offset 32
    188                               MemberDecorate 20($Global) 3 Offset 44
    189                               MemberDecorate 20($Global) 4 Offset 48
    190                               Decorate 20($Global) Block
    191                               Decorate 22 DescriptorSet 0
    192                               Decorate 22 Binding 0
    193                2:             TypeVoid
    194                3:             TypeFunction 2
    195               14:             TypeFloat 32
    196               15:             TypeVector 14(float) 4
    197               16:             TypePointer Private 15(fvec4)
    198            17(m):     16(ptr) Variable Private
    199               18:             TypeVector 14(float) 3
    200               19:             TypeInt 32 1
    201      20($Global):             TypeStruct 15(fvec4) 14(float) 18(fvec3) 19(int) 19(int)
    202               21:             TypePointer Uniform 20($Global)
    203               22:     21(ptr) Variable Uniform
    204               23:     19(int) Constant 0
    205               24:             TypePointer Uniform 15(fvec4)
    206               27:     19(int) Constant 1
    207               28:             TypePointer Uniform 14(float)
    208               38:             TypeInt 32 0
    209               39:     38(int) Constant 0
    210               45:     19(int) Constant 2
    211               49:     19(int) Constant 3
    212               50:             TypePointer Uniform 19(int)
    213            4(f1):           2 Function None 3
    214                5:             Label
    215               25:     24(ptr) AccessChain 22 23
    216               26:   15(fvec4) Load 25
    217               29:     28(ptr) AccessChain 22 27
    218               30:   14(float) Load 29
    219               31:   15(fvec4) VectorTimesScalar 26 30
    220                               Store 17(m) 31
    221               37:           2 FunctionCall 6(@f1()
    222                               Return
    223                               FunctionEnd
    224          6(@f1():           2 Function None 3
    225                7:             Label
    226               32:     24(ptr) AccessChain 22 23
    227               33:   15(fvec4) Load 32
    228               34:     28(ptr) AccessChain 22 27
    229               35:   14(float) Load 34
    230               36:   15(fvec4) VectorTimesScalar 33 35
    231                               Return
    232                               FunctionEnd
    233           8(f2():           2 Function None 3
    234                9:             Label
    235               40:     28(ptr) AccessChain 22 23 39
    236               41:   14(float) Load 40
    237               42:     28(ptr) AccessChain 22 27
    238               43:   14(float) Load 42
    239               44:   14(float) FAdd 41 43
    240               46:     28(ptr) AccessChain 22 45 39
    241               47:   14(float) Load 46
    242               48:   14(float) FAdd 44 47
    243                               Return
    244                               FunctionEnd
    245          10(f3():           2 Function None 3
    246               11:             Label
    247                               Return
    248                               FunctionEnd
    249          12(f4():           2 Function None 3
    250               13:             Label
    251               51:     50(ptr) AccessChain 22 49
    252               52:     19(int) Load 51
    253               53:   14(float) ConvertSToF 52
    254               54:     24(ptr) AccessChain 22 23
    255               55:   15(fvec4) Load 54
    256               56:   15(fvec4) VectorTimesScalar 55 53
    257                               Return
    258                               FunctionEnd
    259