- Allocation management with reference counting in ShaderBase
- better inheritance with glsl parser
A few other ideas:
#defines, defines could be used to replace branching in shaders because is so expensive (http://stackoverflow.com/a/14836396/4038621), and alter constants
say you've got some shader: