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
a262fde8
Commit
a262fde8
authored
Jun 01, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Fix get_regname debug function.
parent
350f0d39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
asmutils.c
dlls/d3dx9_36/asmutils.c
+8
-9
No files found.
dlls/d3dx9_36/asmutils.c
View file @
a262fde8
...
...
@@ -264,13 +264,10 @@ static const char *get_regname(const struct shader_reg *reg, shader_type st) {
return
wine_dbg_sprintf
(
"v%u"
,
reg
->
regnum
);
case
BWRITERSPR_CONST
:
return
wine_dbg_sprintf
(
"c%u"
,
reg
->
regnum
);
/* case BWRITERSPR_ADDR: */
case
BWRITERSPR_ADDR
:
return
wine_dbg_sprintf
(
"a%u"
,
reg
->
regnum
);
case
BWRITERSPR_TEXTURE
:
if
(
st
==
ST_VERTEX
)
{
return
wine_dbg_sprintf
(
"a%u"
,
reg
->
regnum
);
}
else
{
return
wine_dbg_sprintf
(
"t%u"
,
reg
->
regnum
);
}
return
wine_dbg_sprintf
(
"t%u"
,
reg
->
regnum
);
case
BWRITERSPR_RASTOUT
:
switch
(
reg
->
regnum
)
{
case
BWRITERSRO_POSITION
:
return
"oPos"
;
...
...
@@ -280,9 +277,10 @@ static const char *get_regname(const struct shader_reg *reg, shader_type st) {
}
case
BWRITERSPR_ATTROUT
:
return
wine_dbg_sprintf
(
"oD%u"
,
reg
->
regnum
);
/* case BWRITERSPR_TEXCRDOUT: */
case
BWRITERSPR_TEXCRDOUT
:
return
wine_dbg_sprintf
(
"oT%u"
,
reg
->
regnum
);
case
BWRITERSPR_OUTPUT
:
return
wine_dbg_sprintf
(
"o
[T]
%u"
,
reg
->
regnum
);
return
wine_dbg_sprintf
(
"o%u"
,
reg
->
regnum
);
case
BWRITERSPR_CONSTINT
:
return
wine_dbg_sprintf
(
"i%u"
,
reg
->
regnum
);
case
BWRITERSPR_COLOROUT
:
...
...
@@ -305,7 +303,8 @@ static const char *get_regname(const struct shader_reg *reg, shader_type st) {
return
wine_dbg_sprintf
(
"l%u"
,
reg
->
regnum
);
case
BWRITERSPR_PREDICATE
:
return
wine_dbg_sprintf
(
"p%u"
,
reg
->
regnum
);
default:
return
"unknown regname"
;
default:
return
wine_dbg_sprintf
(
"unknown regname %#x"
,
reg
->
type
);
}
}
...
...
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