versionsErrors.frag
ERROR: #version: versions before 150 do not allow a profile token
ERROR: 0:38: 'attribute' : not supported in this stage: fragment
ERROR: 0:40: 'sampler2DRect' : Reserved word. 
ERROR: 0:44: 'floating-point suffix' : not supported for this version or the enabled extensions 
ERROR: 4 compilation errors.  No code generated.


Shader version: 110
ERROR: node is still EOpNull!
0:42  Function Definition: main( ( global void)
0:42    Function Parameters: 
0:44    Sequence
0:44      move second child to first child ( temp 4-component vector of float)
0:44        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
0:44        Construct vec4 ( temp 4-component vector of float)
0:44          'color' ( smooth in 3-component vector of float)
0:44          Constant:
0:44            142.000000
0:45      Branch: Kill
0:?   Linker Objects
0:?     'color' ( smooth in 3-component vector of float)
0:?     'foo' ( uniform sampler2DRect)


Linked fragment stage:


Shader version: 110
ERROR: node is still EOpNull!
0:42  Function Definition: main( ( global void)
0:42    Function Parameters: 
0:44    Sequence
0:44      move second child to first child ( temp 4-component vector of float)
0:44        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
0:44        Construct vec4 ( temp 4-component vector of float)
0:44          'color' ( smooth in 3-component vector of float)
0:44          Constant:
0:44            142.000000
0:45      Branch: Kill
0:?   Linker Objects
0:?     'color' ( smooth in 3-component vector of float)
0:?     'foo' ( uniform sampler2DRect)