On 12/04/07, Ivan Gyurdiev ivg231@gmail.com wrote:
I'm not sure what needs to be done instead, since it all looks so broken...
- I would say this type of analysis about shader usage needs to go into
pass 1 (baseshader), since it is backend independent. It's kind of vertex-shader specific, but we're trying to merge vertex and pixel shaders, and remove code from these two files, not add more of it.
It should probably go into shader_get_registers_used() in baseshader.c, where we fill semantics_out, around line 255.