d3d: Limit d3d8 and d3d9 vshader constants to 256.
commit9f1731edb6b20be5bbad527148c9a8f588e28b33
authorStefan Dösinger <stefan@codeweavers.com>
Sat, 25 Apr 2009 13:02:42 +0000 (25 15:02 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 27 Apr 2009 11:23:36 +0000 (27 13:23 +0200)
treef87376988b87820dc6d16651d40638af9242d6c3
parent7ded3afe93f7af048cca3b5103e06668ad69dee5
d3d: Limit d3d8 and d3d9 vshader constants to 256.

DX10 cards support 512(ATI) or 1024(Nvidia) vertex shader constants in
GL. The dx9 DXCapsViewer shows that dx10 windows drivers only claim
256 constants on Windows, so we can and should do the same.
dlls/d3d8/d3d8_private.h
dlls/d3d8/device.c
dlls/d3d8/directx.c
dlls/d3d9/d3d9_private.h
dlls/d3d9/directx.c
dlls/d3d9/vertexshader.c
dlls/wined3d/vertexshader.c