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.
I could move the vertex declaration directly before the shader code like in test_scalar_instructions, would that make it clear enough?
Best Joachim