Home | History | Annotate | Download | only in baseResults
      1 dce.frag
      2 Shader version: 400
      3 0:? Sequence
      4 0:5  Sequence
      5 0:5    move second child to first child ( temp int)
      6 0:5      'c' ( global int)
      7 0:5      Constant:
      8 0:5        0 (const int)
      9 0:7  Function Definition: bar( ( global void)
     10 0:7    Function Parameters: 
     11 0:9    Sequence
     12 0:9      Test condition and select ( temp void)
     13 0:9        Condition
     14 0:9        Constant:
     15 0:9          false (const bool)
     16 0:9        true case
     17 0:10        Pre-Increment ( temp int)
     18 0:10          'c' ( global int)
     19 0:9        false case
     20 0:12        Pre-Increment ( temp int)
     21 0:12          'c' ( global int)
     22 0:14      Test condition and select ( temp int)
     23 0:14        Condition
     24 0:14        Constant:
     25 0:14          false (const bool)
     26 0:14        true case
     27 0:14        Pre-Increment ( temp int)
     28 0:14          'c' ( global int)
     29 0:14        false case
     30 0:14        Pre-Increment ( temp int)
     31 0:14          'c' ( global int)
     32 0:16      switch
     33 0:16      condition
     34 0:16        'c' ( global int)
     35 0:16      body
     36 0:16        Sequence
     37 0:17          case:  with expression
     38 0:17            Constant:
     39 0:17              1 (const int)
     40 0:?           Sequence
     41 0:18            Pre-Increment ( temp int)
     42 0:18              'c' ( global int)
     43 0:19            Branch: Break
     44 0:20            Pre-Increment ( temp int)
     45 0:20              'c' ( global int)
     46 0:21          case:  with expression
     47 0:21            Constant:
     48 0:21              2 (const int)
     49 0:?           Sequence
     50 0:22            Branch: Break
     51 0:23            Pre-Increment ( temp int)
     52 0:23              'c' ( global int)
     53 0:24          default: 
     54 0:?           Sequence
     55 0:25            Branch: Break
     56 0:28      Sequence
     57 0:28        Sequence
     58 0:28          move second child to first child ( temp int)
     59 0:28            'i' ( temp int)
     60 0:28            Constant:
     61 0:28              0 (const int)
     62 0:28        Loop with condition tested first
     63 0:28          Loop Condition
     64 0:28          Compare Less Than ( temp bool)
     65 0:28            'i' ( temp int)
     66 0:28            Constant:
     67 0:28              0 (const int)
     68 0:28          Loop Body
     69 0:29          Pre-Increment ( temp int)
     70 0:29            'c' ( global int)
     71 0:28          Loop Terminal Expression
     72 0:28          Pre-Increment ( temp int)
     73 0:28            'i' ( temp int)
     74 0:31      Sequence
     75 0:31        Sequence
     76 0:31          move second child to first child ( temp int)
     77 0:31            'i' ( temp int)
     78 0:31            Constant:
     79 0:31              0 (const int)
     80 0:31        Loop with condition tested first
     81 0:31          Loop Condition
     82 0:31          Compare Less Than ( temp bool)
     83 0:31            'i' ( temp int)
     84 0:31            Constant:
     85 0:31              10 (const int)
     86 0:31          Loop Body
     87 0:32          Sequence
     88 0:32            Test condition and select ( temp void)
     89 0:32              Condition
     90 0:32              Compare Less Than ( temp bool)
     91 0:32                'c' ( global int)
     92 0:32                Constant:
     93 0:32                  3 (const int)
     94 0:32              true case
     95 0:33              Sequence
     96 0:33                Branch: Break
     97 0:34                Pre-Increment ( temp int)
     98 0:34                  'c' ( global int)
     99 0:32              false case
    100 0:36              Sequence
    101 0:36                Branch: Continue
    102 0:37                Pre-Increment ( temp int)
    103 0:37                  'c' ( global int)
    104 0:31          Loop Terminal Expression
    105 0:31          Pre-Increment ( temp int)
    106 0:31            'i' ( temp int)
    107 0:41      Branch: Return
    108 0:43      Pre-Increment ( temp int)
    109 0:43        'c' ( global int)
    110 0:46  Function Definition: foo( ( global int)
    111 0:46    Function Parameters: 
    112 0:48    Sequence
    113 0:48      Test condition and select ( temp void)
    114 0:48        Condition
    115 0:48        Compare Greater Than ( temp bool)
    116 0:48          'c' ( global int)
    117 0:48          Constant:
    118 0:48            4 (const int)
    119 0:48        true case
    120 0:49        Sequence
    121 0:49          Branch: Return with expression
    122 0:49            Constant:
    123 0:49              4 (const int)
    124 0:50          Pre-Increment ( temp int)
    125 0:50            'c' ( global int)
    126 0:53      Branch: Return with expression
    127 0:53        Constant:
    128 0:53          5 (const int)
    129 0:55      Pre-Increment ( temp int)
    130 0:55        'c' ( global int)
    131 0:?   Linker Objects
    132 0:?     'flag' ( const bool)
    133 0:?       false (const bool)
    134 0:?     'c' ( global int)
    135 
    136 
    137 Linked fragment stage:
    138 
    139 ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point
    140 
    141 Shader version: 400
    142 0:? Sequence
    143 0:5  Sequence
    144 0:5    move second child to first child ( temp int)
    145 0:5      'c' ( global int)
    146 0:5      Constant:
    147 0:5        0 (const int)
    148 0:?   Linker Objects
    149 0:?     'flag' ( const bool)
    150 0:?       false (const bool)
    151 0:?     'c' ( global int)
    152 
    153