Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f9524196
Commit
f9524196
authored
Feb 14, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable the texcoord init workaround on radeon HD cards on MacOS.
parent
e40bb4a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
directx.c
dlls/wined3d/directx.c
+7
-1
No files found.
dlls/wined3d/directx.c
View file @
f9524196
...
...
@@ -3024,8 +3024,14 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info) {
*
* We don't want to enable this on all cards, as it adds an extra instruction per texcoord used. This
* makes the shader slower and eats instruction slots which should be available to the d3d app.
*
* ATI Radeon HD 2xxx cards on MacOS have the issue. Instead of checking for the buggy cards blacklist
* all radeon cards on Macs but whitelist the good ones, that way we're prepared for the future. If
* this workaround is activated on cards that do not need it it won't break things, just affect
* performance negatively
*/
if
(
gl_info
->
gl_vendor
==
VENDOR_INTEL
)
{
if
(
gl_info
->
gl_vendor
==
VENDOR_INTEL
||
(
gl_info
->
gl_vendor
==
VENDOR_ATI
&&
gl_info
->
gl_card
!=
CARD_ATI_RADEON_X1600
))
{
TRACE
(
"Enabling vertex texture coord fixes in vertex shaders
\n
"
);
gl_info
->
set_texcoord_w
=
TRUE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment