wined3d: Report the correct number of available 4-component
float vectors for GLSL
hverbeet at gmail.com
Wed Oct 4 03:17:22 CDT 2006
On 04/10/06, Mirek <thunder.m at czela.net> wrote:
> Unfortunately there are many issues with latest nVidia drivers and
> Windows apps in wine. In Half-Life 2 EO (characters brokes the game),
> 3DMark 2003 (first test with planes is very strange), GTA SA (almost
> everywhere in game), but other apps such as Flatout 2, Tomb Raider
> Legend, Need for Speed Most Wanted, 3DMark 2005 and 2006 working like
> with stable driver.
> I am using Nvidia GF 6800 GS PCI-E with Core 2 Extreme and GLSL
> functions no ARB.
It's possible those are actual bugs in our GLSL. The 96.25 drivers'
GLSL compiler seems to be quite a bit stricter than previous versions.
As for the constants issue, I see a few options, none of which I
- Keep it the way it currently is. Correct, but breaks the current
- Revert the patch. The code will be incorrect, and break with 96.25
and later drivers. The current stable drivers will work though.
- Add a version check. Quite ugly, but should work with both sets of
drivers. Good luck convincing Alexandre on that one :-)
Personally I'm leaning towards the first option, in part because
driver bugs are one of the reasons GLSL isn't enabled by default at
the moment, in part because the code is simply correct.
More information about the wine-devel