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
e4f91774
Commit
e4f91774
authored
Dec 06, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove fglrx GLSL constant quirks.
Fglrx does not support r500 and earlier GPUs any longer, making those quirks obsolete and a problem for r300g.
parent
acf1343f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
directx.c
dlls/wined3d/directx.c
+1
-8
No files found.
dlls/wined3d/directx.c
View file @
e4f91774
...
@@ -807,8 +807,6 @@ static void quirk_apple_glsl_constants(struct wined3d_gl_info *gl_info)
...
@@ -807,8 +807,6 @@ static void quirk_apple_glsl_constants(struct wined3d_gl_info *gl_info)
static
void
quirk_amd_dx9
(
struct
wined3d_gl_info
*
gl_info
)
static
void
quirk_amd_dx9
(
struct
wined3d_gl_info
*
gl_info
)
{
{
quirk_arb_constants
(
gl_info
);
/* MacOS advertises GL_ARB_texture_non_power_of_two on ATI r500 and earlier cards, although
/* MacOS advertises GL_ARB_texture_non_power_of_two on ATI r500 and earlier cards, although
* these cards only support GL_ARB_texture_rectangle(D3DPTEXTURECAPS_NONPOW2CONDITIONAL).
* these cards only support GL_ARB_texture_rectangle(D3DPTEXTURECAPS_NONPOW2CONDITIONAL).
* If real NP2 textures are used, the driver falls back to software. We could just remove the
* If real NP2 textures are used, the driver falls back to software. We could just remove the
...
@@ -826,11 +824,6 @@ static void quirk_amd_dx9(struct wined3d_gl_info *gl_info)
...
@@ -826,11 +824,6 @@ static void quirk_amd_dx9(struct wined3d_gl_info *gl_info)
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
]
=
FALSE
;
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
]
=
FALSE
;
gl_info
->
supported
[
WINED3D_GL_NORMALIZED_TEXRECT
]
=
TRUE
;
gl_info
->
supported
[
WINED3D_GL_NORMALIZED_TEXRECT
]
=
TRUE
;
}
}
/* fglrx has the same structural issues as the one described in quirk_apple_glsl_constants, although
* it is generally more efficient. Reserve just 8 constants. */
TRACE_
(
d3d_caps
)(
"Reserving 8 GLSL constants for compiler private use.
\n
"
);
gl_info
->
reserved_glsl_constants
=
max
(
gl_info
->
reserved_glsl_constants
,
8
);
}
}
static
void
quirk_no_np2
(
struct
wined3d_gl_info
*
gl_info
)
static
void
quirk_no_np2
(
struct
wined3d_gl_info
*
gl_info
)
...
@@ -932,7 +925,7 @@ static const struct driver_quirk quirk_table[] =
...
@@ -932,7 +925,7 @@ static const struct driver_quirk quirk_table[] =
{
{
match_amd_r300_to_500
,
match_amd_r300_to_500
,
quirk_amd_dx9
,
quirk_amd_dx9
,
"AMD
GLSL constant and
normalized texrect quirk"
"AMD normalized texrect quirk"
},
},
/* MacOS advertises more GLSL vertex shader uniforms than supported by the hardware, and if more are
/* MacOS advertises more GLSL vertex shader uniforms than supported by the hardware, and if more are
* used it falls back to software. While the compiler can detect if the shader uses all declared
* used it falls back to software. While the compiler can detect if the shader uses all declared
...
...
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