Home | History | Annotate | Download | only in baseResults
      1 forwardRef.frag
      2 Shader version: 110
      3 0:? Sequence
      4 0:11  Function Definition: main( ( global void)
      5 0:11    Function Parameters: 
      6 0:13    Sequence
      7 0:13      Sequence
      8 0:13        move second child to first child ( temp 4-component vector of float)
      9 0:13          'color' ( temp 4-component vector of float)
     10 0:13          Construct vec4 ( temp 4-component vector of float)
     11 0:13            Function Call: foo(vf4; ( global float)
     12 0:13              'BaseColor' ( smooth in 4-component vector of float)
     13 0:15      Function Call: bar( ( global void)
     14 0:16      Sequence
     15 0:16        move second child to first child ( temp float)
     16 0:16          'f' ( temp float)
     17 0:16          Function Call: unreachableReturn( ( global float)
     18 0:18      move second child to first child ( temp 4-component vector of float)
     19 0:18        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
     20 0:18        vector-scale ( temp 4-component vector of float)
     21 0:18          'color' ( temp 4-component vector of float)
     22 0:18          'f' ( temp float)
     23 0:21  Function Definition: bar( ( global void)
     24 0:21    Function Parameters: 
     25 0:25  Function Definition: unreachableReturn( ( global float)
     26 0:25    Function Parameters: 
     27 0:27    Sequence
     28 0:27      Function Call: bar( ( global void)
     29 0:28      Test condition and select ( temp void)
     30 0:28        Condition
     31 0:28        Compare Less Than ( temp bool)
     32 0:28          'd' ( uniform float)
     33 0:28          Constant:
     34 0:28            4.200000
     35 0:28        true case
     36 0:29        Branch: Return with expression
     37 0:29          Constant:
     38 0:29            1.200000
     39 0:28        false case
     40 0:31        Branch: Return with expression
     41 0:31          Constant:
     42 0:31            4.500000
     43 0:34  Function Definition: foo(vf4; ( global float)
     44 0:34    Function Parameters: 
     45 0:34      'bar' ( in 4-component vector of float)
     46 0:36    Sequence
     47 0:36      Branch: Return with expression
     48 0:36        add ( temp float)
     49 0:36          direct index ( temp float)
     50 0:36            'bar' ( in 4-component vector of float)
     51 0:36            Constant:
     52 0:36              0 (const int)
     53 0:36          direct index ( temp float)
     54 0:36            'bar' ( in 4-component vector of float)
     55 0:36            Constant:
     56 0:36              1 (const int)
     57 0:?   Linker Objects
     58 0:?     'bigColor' ( uniform 4-component vector of float)
     59 0:?     'BaseColor' ( smooth in 4-component vector of float)
     60 0:?     'd' ( uniform float)
     61 
     62 
     63 Linked fragment stage:
     64 
     65 
     66 Shader version: 110
     67 0:? Sequence
     68 0:11  Function Definition: main( ( global void)
     69 0:11    Function Parameters: 
     70 0:13    Sequence
     71 0:13      Sequence
     72 0:13        move second child to first child ( temp 4-component vector of float)
     73 0:13          'color' ( temp 4-component vector of float)
     74 0:13          Construct vec4 ( temp 4-component vector of float)
     75 0:13            Function Call: foo(vf4; ( global float)
     76 0:13              'BaseColor' ( smooth in 4-component vector of float)
     77 0:15      Function Call: bar( ( global void)
     78 0:16      Sequence
     79 0:16        move second child to first child ( temp float)
     80 0:16          'f' ( temp float)
     81 0:16          Function Call: unreachableReturn( ( global float)
     82 0:18      move second child to first child ( temp 4-component vector of float)
     83 0:18        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
     84 0:18        vector-scale ( temp 4-component vector of float)
     85 0:18          'color' ( temp 4-component vector of float)
     86 0:18          'f' ( temp float)
     87 0:21  Function Definition: bar( ( global void)
     88 0:21    Function Parameters: 
     89 0:25  Function Definition: unreachableReturn( ( global float)
     90 0:25    Function Parameters: 
     91 0:27    Sequence
     92 0:27      Function Call: bar( ( global void)
     93 0:28      Test condition and select ( temp void)
     94 0:28        Condition
     95 0:28        Compare Less Than ( temp bool)
     96 0:28          'd' ( uniform float)
     97 0:28          Constant:
     98 0:28            4.200000
     99 0:28        true case
    100 0:29        Branch: Return with expression
    101 0:29          Constant:
    102 0:29            1.200000
    103 0:28        false case
    104 0:31        Branch: Return with expression
    105 0:31          Constant:
    106 0:31            4.500000
    107 0:34  Function Definition: foo(vf4; ( global float)
    108 0:34    Function Parameters: 
    109 0:34      'bar' ( in 4-component vector of float)
    110 0:36    Sequence
    111 0:36      Branch: Return with expression
    112 0:36        add ( temp float)
    113 0:36          direct index ( temp float)
    114 0:36            'bar' ( in 4-component vector of float)
    115 0:36            Constant:
    116 0:36              0 (const int)
    117 0:36          direct index ( temp float)
    118 0:36            'bar' ( in 4-component vector of float)
    119 0:36            Constant:
    120 0:36              1 (const int)
    121 0:?   Linker Objects
    122 0:?     'bigColor' ( uniform 4-component vector of float)
    123 0:?     'BaseColor' ( smooth in 4-component vector of float)
    124 0:?     'd' ( uniform float)
    125 
    126