wined3d: Mark vertex shader 3.0 as foggy shaders if they write out the fog coord

H. Verbeet hverbeet at
Thu Apr 12 12:00:29 CDT 2007

On 12/04/07, Ivan Gyurdiev <ivg231 at> 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.

More information about the wine-devel mailing list