Jason Green wrote:
The following 8 patches apply to Mike's tree and accomplish the following:
- Create a new function in baseshader named generate_base_shader()
which generates the bulk of the GL ARB shader string.
- Renames the GenerateProgramArbHW() in both ps & vs to
GenerateShader() and minimizes the number of specific things that need to go in them.
Merging things between pixel and vertex shaders is the right idea, but we need to think about supporting multiple output targets as well - arbfp/arbvp vs glsl. Any shader_addline() being called is output target specific.