Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3484d46a
Commit
3484d46a
authored
Jul 07, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Replace some shader_is_pshader_version() calls with plain type checks.
parent
699f68cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
baseshader.c
dlls/wined3d/baseshader.c
+2
-2
No files found.
dlls/wined3d/baseshader.c
View file @
3484d46a
...
@@ -762,7 +762,7 @@ static void shader_dump_decl_usage(const struct wined3d_shader_semantic *semanti
...
@@ -762,7 +762,7 @@ static void shader_dump_decl_usage(const struct wined3d_shader_semantic *semanti
else
else
{
{
/* Pixel shaders 3.0 don't have usage semantics */
/* Pixel shaders 3.0 don't have usage semantics */
if
(
shader_
is_pshader_version
(
shader_version
->
type
)
&&
shader_version
->
major
<
3
)
if
(
shader_
version
->
major
<
3
&&
shader_version
->
type
==
WINED3D_SHADER_TYPE_PIXEL
)
return
;
return
;
else
else
TRACE
(
"_"
);
TRACE
(
"_"
);
...
@@ -844,7 +844,7 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
...
@@ -844,7 +844,7 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
break
;
break
;
case
WINED3DSPR_TEXTURE
:
/* vs: case WINED3DSPR_ADDR */
case
WINED3DSPR_TEXTURE
:
/* vs: case WINED3DSPR_ADDR */
TRACE
(
"%c"
,
shader_
is_pshader_version
(
shader_version
->
type
)
?
't'
:
'a'
);
TRACE
(
"%c"
,
shader_
version
->
type
==
WINED3D_SHADER_TYPE_PIXEL
?
't'
:
'a'
);
break
;
break
;
case
WINED3DSPR_RASTOUT
:
case
WINED3DSPR_RASTOUT
:
...
...
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