D3D9: Add a test for setting / getting vertex shader constants

H. Verbeet hverbeet at gmail.com
Tue Jun 6 16:53:06 CDT 2006


On 06/06/06, Raphael <fenix at club-internet.fr> wrote:
> Simple testing :)
>
> can you add border tests in future:
>
> hret = IDirect3DDevice9_SetVertexShaderConstantB(device_ptr,
> MAX_VSHADER_CONSTANTS  - 4, bool_in, 4);
>
>  hret = IDirect3DDevice9_SetVertexShaderConstantB(device_ptr,
> MAX_VSHADER_CONSTANTS  - 2, bool_in, 4);
>
> I'm interested to see how windows handle that :)

Sure. This test is only for checking if the values don't get
overwritten though, so we want to use safe indices here :-)



More information about the wine-devel mailing list