2014-11-07 19:53 GMT+01:00 Joachim Priesner joachim.priesner@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.