Home | History | Annotate | Download | only in baseResults
      1 structDeref.frag
      2 WARNING: 0:4: varying deprecated in version 130; may be removed in future release
      3 
      4 Shader version: 130
      5 0:? Sequence
      6 0:41  Function Definition: main( ( global void)
      7 0:41    Function Parameters: 
      8 0:?     Sequence
      9 0:51      Test condition and select ( temp void)
     10 0:51        Condition
     11 0:51        Compare Greater Than ( temp bool)
     12 0:51          i: direct index for structure ( global int)
     13 0:51            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     14 0:51              s2_1: direct index for structure ( global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     15 0:51                'foo3' ( uniform structure{ global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     16 0:51                Constant:
     17 0:51                  0 (const int)
     18 0:51              Constant:
     19 0:51                9 (const int)
     20 0:51            Constant:
     21 0:51              0 (const int)
     22 0:51          Constant:
     23 0:51            0 (const int)
     24 0:51        true case
     25 0:52        Sequence
     26 0:52          move second child to first child ( temp float)
     27 0:52            f: direct index for structure ( global float)
     28 0:52              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     29 0:52              Constant:
     30 0:52                1 (const int)
     31 0:52            Constant:
     32 0:52              1.000000
     33 0:53          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     34 0:53            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     35 0:53              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     36 0:53              Constant:
     37 0:53                2 (const int)
     38 0:53            Constant:
     39 0:53              0 (const int)
     40 0:53              1.000000
     41 0:53              0 (const int)
     42 0:54          move second child to first child ( temp 6-element array of float)
     43 0:54            'fArray' ( temp 6-element array of float)
     44 0:54            Constant:
     45 0:54              0.000000
     46 0:54              0.000000
     47 0:54              0.000000
     48 0:54              0.000000
     49 0:54              0.000000
     50 0:54              0.000000
     51 0:55          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     52 0:55            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     53 0:55              'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     54 0:55              Constant:
     55 0:55                6 (const int)
     56 0:55            'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     57 0:56          move second child to first child ( temp structure{ global int i})
     58 0:56            'locals0' ( temp structure{ global int i})
     59 0:56            Constant:
     60 0:56              0 (const int)
     61 0:57          move second child to first child ( temp structure{ global structure{ global int i} s0_0})
     62 0:57            'locals00' ( temp structure{ global structure{ global int i} s0_0})
     63 0:57            Constant:
     64 0:57              0 (const int)
     65 0:51        false case
     66 0:59        Sequence
     67 0:59          move second child to first child ( temp float)
     68 0:59            f: direct index for structure ( global float)
     69 0:59              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     70 0:59              Constant:
     71 0:59                1 (const int)
     72 0:59            direct index ( temp float)
     73 0:59              'coord' ( smooth in 2-component vector of float)
     74 0:59              Constant:
     75 0:59                0 (const int)
     76 0:60          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     77 0:60            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     78 0:60              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
     79 0:60              Constant:
     80 0:60                2 (const int)
     81 0:60            Construct structure ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     82 0:60              Constant:
     83 0:60                1 (const int)
     84 0:60              direct index ( temp float)
     85 0:60                'coord' ( smooth in 2-component vector of float)
     86 0:60                Constant:
     87 0:60                  1 (const int)
     88 0:60              'foo0' ( uniform structure{ global int i})
     89 0:61          move second child to first child ( temp 6-element array of float)
     90 0:61            'fArray' ( temp 6-element array of float)
     91 0:61            Constant:
     92 0:61              0.000000
     93 0:61              1.000000
     94 0:61              2.000000
     95 0:61              3.000000
     96 0:61              4.000000
     97 0:61              5.000000
     98 0:62          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
     99 0:62            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    100 0:62              'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    101 0:62              Constant:
    102 0:62                6 (const int)
    103 0:62            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    104 0:62              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    105 0:62              Constant:
    106 0:62                2 (const int)
    107 0:63          move second child to first child ( temp structure{ global int i})
    108 0:63            'locals0' ( temp structure{ global int i})
    109 0:63            s0_1: direct index for structure ( global structure{ global int i})
    110 0:63              'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    111 0:63              Constant:
    112 0:63                2 (const int)
    113 0:64          move second child to first child ( temp structure{ global structure{ global int i} s0_0})
    114 0:64            'locals00' ( temp structure{ global structure{ global int i} s0_0})
    115 0:64            'foo00' ( uniform structure{ global structure{ global int i} s0_0})
    116 0:67      Test condition and select ( temp void)
    117 0:67        Condition
    118 0:67        Compare Greater Than ( temp bool)
    119 0:67          i: direct index for structure ( global int)
    120 0:67            'locals0' ( temp structure{ global int i})
    121 0:67            Constant:
    122 0:67              0 (const int)
    123 0:67          Constant:
    124 0:67            5 (const int)
    125 0:67        true case
    126 0:68        move second child to first child ( temp structure{ global int i})
    127 0:68          'locals0' ( temp structure{ global int i})
    128 0:68          s0_0: direct index for structure ( global structure{ global int i})
    129 0:68            'locals00' ( temp structure{ global structure{ global int i} s0_0})
    130 0:68            Constant:
    131 0:68              0 (const int)
    132 0:70      move second child to first child ( temp 4-component vector of float)
    133 0:70        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
    134 0:70        vector-scale ( temp 4-component vector of float)
    135 0:70          add ( temp float)
    136 0:70            add ( temp float)
    137 0:70              add ( temp float)
    138 0:70                Convert int to float ( temp float)
    139 0:70                  i: direct index for structure ( global int)
    140 0:70                    'locals0' ( temp structure{ global int i})
    141 0:70                    Constant:
    142 0:70                      0 (const int)
    143 0:70                f: direct index for structure ( global float)
    144 0:70                  direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    145 0:70                    'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    146 0:70                    Constant:
    147 0:70                      6 (const int)
    148 0:70                  Constant:
    149 0:70                    1 (const int)
    150 0:70              direct index ( temp float)
    151 0:70                'fArray' ( temp 6-element array of float)
    152 0:70                Constant:
    153 0:70                  3 (const int)
    154 0:70            f: direct index for structure ( global float)
    155 0:70              s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    156 0:70                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    157 0:70                Constant:
    158 0:70                  2 (const int)
    159 0:70              Constant:
    160 0:70                1 (const int)
    161 0:70          texture ( global 4-component vector of float)
    162 0:70            'sampler' ( uniform sampler2D)
    163 0:70            'coord' ( smooth in 2-component vector of float)
    164 0:?   Linker Objects
    165 0:?     'sampler' ( uniform sampler2D)
    166 0:?     'coord' ( smooth in 2-component vector of float)
    167 0:?     'foo0' ( uniform structure{ global int i})
    168 0:?     'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    169 0:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    170 0:?     'foo3' ( uniform structure{ global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    171 0:?     'foo00' ( uniform structure{ global structure{ global int i} s0_0})
    172 
    173 
    174 Linked fragment stage:
    175 
    176 
    177 Shader version: 130
    178 0:? Sequence
    179 0:41  Function Definition: main( ( global void)
    180 0:41    Function Parameters: 
    181 0:?     Sequence
    182 0:51      Test condition and select ( temp void)
    183 0:51        Condition
    184 0:51        Compare Greater Than ( temp bool)
    185 0:51          i: direct index for structure ( global int)
    186 0:51            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    187 0:51              s2_1: direct index for structure ( global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    188 0:51                'foo3' ( uniform structure{ global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    189 0:51                Constant:
    190 0:51                  0 (const int)
    191 0:51              Constant:
    192 0:51                9 (const int)
    193 0:51            Constant:
    194 0:51              0 (const int)
    195 0:51          Constant:
    196 0:51            0 (const int)
    197 0:51        true case
    198 0:52        Sequence
    199 0:52          move second child to first child ( temp float)
    200 0:52            f: direct index for structure ( global float)
    201 0:52              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    202 0:52              Constant:
    203 0:52                1 (const int)
    204 0:52            Constant:
    205 0:52              1.000000
    206 0:53          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    207 0:53            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    208 0:53              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    209 0:53              Constant:
    210 0:53                2 (const int)
    211 0:53            Constant:
    212 0:53              0 (const int)
    213 0:53              1.000000
    214 0:53              0 (const int)
    215 0:54          move second child to first child ( temp 6-element array of float)
    216 0:54            'fArray' ( temp 6-element array of float)
    217 0:54            Constant:
    218 0:54              0.000000
    219 0:54              0.000000
    220 0:54              0.000000
    221 0:54              0.000000
    222 0:54              0.000000
    223 0:54              0.000000
    224 0:55          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    225 0:55            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    226 0:55              'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    227 0:55              Constant:
    228 0:55                6 (const int)
    229 0:55            'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    230 0:56          move second child to first child ( temp structure{ global int i})
    231 0:56            'locals0' ( temp structure{ global int i})
    232 0:56            Constant:
    233 0:56              0 (const int)
    234 0:57          move second child to first child ( temp structure{ global structure{ global int i} s0_0})
    235 0:57            'locals00' ( temp structure{ global structure{ global int i} s0_0})
    236 0:57            Constant:
    237 0:57              0 (const int)
    238 0:51        false case
    239 0:59        Sequence
    240 0:59          move second child to first child ( temp float)
    241 0:59            f: direct index for structure ( global float)
    242 0:59              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    243 0:59              Constant:
    244 0:59                1 (const int)
    245 0:59            direct index ( temp float)
    246 0:59              'coord' ( smooth in 2-component vector of float)
    247 0:59              Constant:
    248 0:59                0 (const int)
    249 0:60          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    250 0:60            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    251 0:60              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    252 0:60              Constant:
    253 0:60                2 (const int)
    254 0:60            Construct structure ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    255 0:60              Constant:
    256 0:60                1 (const int)
    257 0:60              direct index ( temp float)
    258 0:60                'coord' ( smooth in 2-component vector of float)
    259 0:60                Constant:
    260 0:60                  1 (const int)
    261 0:60              'foo0' ( uniform structure{ global int i})
    262 0:61          move second child to first child ( temp 6-element array of float)
    263 0:61            'fArray' ( temp 6-element array of float)
    264 0:61            Constant:
    265 0:61              0.000000
    266 0:61              1.000000
    267 0:61              2.000000
    268 0:61              3.000000
    269 0:61              4.000000
    270 0:61              5.000000
    271 0:62          move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    272 0:62            direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    273 0:62              'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    274 0:62              Constant:
    275 0:62                6 (const int)
    276 0:62            s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    277 0:62              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    278 0:62              Constant:
    279 0:62                2 (const int)
    280 0:63          move second child to first child ( temp structure{ global int i})
    281 0:63            'locals0' ( temp structure{ global int i})
    282 0:63            s0_1: direct index for structure ( global structure{ global int i})
    283 0:63              'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    284 0:63              Constant:
    285 0:63                2 (const int)
    286 0:64          move second child to first child ( temp structure{ global structure{ global int i} s0_0})
    287 0:64            'locals00' ( temp structure{ global structure{ global int i} s0_0})
    288 0:64            'foo00' ( uniform structure{ global structure{ global int i} s0_0})
    289 0:67      Test condition and select ( temp void)
    290 0:67        Condition
    291 0:67        Compare Greater Than ( temp bool)
    292 0:67          i: direct index for structure ( global int)
    293 0:67            'locals0' ( temp structure{ global int i})
    294 0:67            Constant:
    295 0:67              0 (const int)
    296 0:67          Constant:
    297 0:67            5 (const int)
    298 0:67        true case
    299 0:68        move second child to first child ( temp structure{ global int i})
    300 0:68          'locals0' ( temp structure{ global int i})
    301 0:68          s0_0: direct index for structure ( global structure{ global int i})
    302 0:68            'locals00' ( temp structure{ global structure{ global int i} s0_0})
    303 0:68            Constant:
    304 0:68              0 (const int)
    305 0:70      move second child to first child ( temp 4-component vector of float)
    306 0:70        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
    307 0:70        vector-scale ( temp 4-component vector of float)
    308 0:70          add ( temp float)
    309 0:70            add ( temp float)
    310 0:70              add ( temp float)
    311 0:70                Convert int to float ( temp float)
    312 0:70                  i: direct index for structure ( global int)
    313 0:70                    'locals0' ( temp structure{ global int i})
    314 0:70                    Constant:
    315 0:70                      0 (const int)
    316 0:70                f: direct index for structure ( global float)
    317 0:70                  direct index ( temp structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    318 0:70                    'locals1Array' ( temp 10-element array of structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    319 0:70                    Constant:
    320 0:70                      6 (const int)
    321 0:70                  Constant:
    322 0:70                    1 (const int)
    323 0:70              direct index ( temp float)
    324 0:70                'fArray' ( temp 6-element array of float)
    325 0:70                Constant:
    326 0:70                  3 (const int)
    327 0:70            f: direct index for structure ( global float)
    328 0:70              s1_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    329 0:70                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    330 0:70                Constant:
    331 0:70                  2 (const int)
    332 0:70              Constant:
    333 0:70                1 (const int)
    334 0:70          texture ( global 4-component vector of float)
    335 0:70            'sampler' ( uniform sampler2D)
    336 0:70            'coord' ( smooth in 2-component vector of float)
    337 0:?   Linker Objects
    338 0:?     'sampler' ( uniform sampler2D)
    339 0:?     'coord' ( smooth in 2-component vector of float)
    340 0:?     'foo0' ( uniform structure{ global int i})
    341 0:?     'foo1' ( uniform structure{ global int i,  global float f,  global structure{ global int i} s0_1})
    342 0:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    343 0:?     'foo3' ( uniform structure{ global 12-element array of structure{ global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f,  global structure{ global int i} s0_1} s1_1})
    344 0:?     'foo00' ( uniform structure{ global structure{ global int i} s0_0})
    345 
    346