wined3d: Use the ARB native constant limit in the GLSL-ARB constants quirk.
commit641d6681d43776989bc7c105601dcc620ab71f5e
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 7 Oct 2009 20:10:44 +0000 (7 22:10 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 26 Oct 2009 10:42:10 +0000 (26 11:42 +0100)
treec18b713037a466a39bef3c611fe18abdd38092ff
parentf9c4d442a9f9e5cde378c91775c711d82e6d5291
wined3d: Use the ARB native constant limit in the GLSL-ARB constants quirk.

Geforce 8 and Geforce 9 cards support 256 env and 1024 native
constants. 1024 is the hardware limit we want to use if we overwrite
the GLSL reported value with the ARB value on Mac OS (because Mac OS
reports more constants than supported by HW on some cards).
dlls/wined3d/directx.c
dlls/wined3d/wined3d_gl.h