Stefan Dösinger wrote:
Am Sonntag, 16. März 2008 15:00:49 schrieb Ivan Gyurdiev:
I don't quite understand why it's necessary to write ARB, GLSL, and NONE shader descriptors inside the ati_shader file. How will this infrastructure scale to a new shader backend added a year from now ?
Currently I am doing that so ATI cards which have ARB_fp or GLSL can use the fragment replacement code and d3d pshaders at the same time.
To me this suggests that there should be two separate shader backends, selected differently for "fixed pipeline replacement" purposes and for shaders. I don't like the argument that this is only an intermediate step - if no one writes the glsl/arb replacement code, it becomes permanent.
Ivan