wined3d: Add a more formal framework for driver quirks.
commit7b7f0272219c97da68e8dd54adb0e225ff36e7f9
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 14 Apr 2009 18:06:15 +0000 (14 20:06 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Apr 2009 14:37:31 +0000 (20 16:37 +0200)
tree42c2983b71165d6f64546828df7fa592beaaf594
parentdbfe7b7b68c43a6456d85550acc32f08b4aeeec1
wined3d: Add a more formal framework for driver quirks.

This allows better defining of driver desc fixups without adding extra if
lines for each card.

For starters, there's a fixup for the advertised GLSL constants in ATI cards.
fglrx advertises 512 GLSL uniforms instead of the supported 1024(means 128
instead of 256 vec4's). This bug was confirmed by ATI.
dlls/wined3d/directx.c
dlls/wined3d/wined3d_gl.h