prog_cache: Add some support for shader_programs in prog_cache.

This is used in the upcoming fixed function shader_program generation,
and shader_program and ARB programs are together in this code until
both fragment and vertex ff get converted.
2 files changed