[2/2] wined3d: Take abs() of vertex z coordinate as FFP fog coordinate (try 5)

Matteo Bruni matteo.mystral at gmail.com
Fri Nov 7 13:05:45 CST 2014


2014-11-07 19:53 GMT+01:00 Joachim Priesner <joachim.priesner at web.de>:
> Hi Matteo,
>
>> Where are you setting the value of c0 in the d3d8 test?
>
> In the vertex declaration (line 797), which is apparently the only way to do it in d3d8.

Ah, right. It's not the only way since you can also use
SetVertexShaderConstant(), but that works too.

> I could move the vertex declaration directly before the shader code like in test_scalar_instructions, would that make it clear enough?

I think that would be nicer, yes.

>
> Best
> Joachim

Thanks,
Matteo.



More information about the wine-devel mailing list