[Bug 20053] Team-Fortress 2 and other source games suffer from black menu and missing UI textures in dx9 mode

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 14 11:03:06 CDT 2011


--- Comment #53 from Patrick Rudolph <patrick1804 at web.de> 2011-10-14 11:03:06 CDT ---
I investigated some more time and found this:

PS 2.0 = DirectX 9.0
PS 2.1 = DirectX 9.0a/b
PS 3.0 = DirectX 9.0c

by setting caps->PS20Caps.NumInstructionSlots = 512; HL2 detects PS3
by setting caps->PS20Caps.NumInstructionSlots = 511; HL2 detects PS2.0

actually HL2 uses PS2.1 whenever PS3 is detected (because if PS3 is supported,
PS2.1 has to be supported too).

Have a look at WINEDEBUG=+d3d_shader

The problem is somewhere inside the PS2.1 code.

The only way to force PS2.0 are the hacks recently posted.


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list