On 06/06/06, Raphael fenix@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 :-)