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