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
4a013688
Commit
4a013688
authored
Jul 11, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Improve debug_hlsl_type function.
parent
995fb30d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
utils.c
dlls/d3dcompiler_43/utils.c
+5
-5
No files found.
dlls/d3dcompiler_43/utils.c
View file @
4a013688
...
...
@@ -999,16 +999,16 @@ const char *debug_hlsl_type(const struct hlsl_type *type)
return
debugstr_a
(
type
->
name
);
if
(
type
->
type
==
HLSL_CLASS_STRUCT
)
name
=
"<anonymous struct>"
;
else
name
=
debug_base_type
(
type
);
return
"<anonymous struct>"
;
name
=
debug_base_type
(
type
);
if
(
type
->
type
==
HLSL_CLASS_SCALAR
)
return
wine_dbg_sprintf
(
"%s"
,
name
);
if
(
type
->
type
==
HLSL_CLASS_VECTOR
)
return
wine_dbg_sprintf
(
"
vector<%s, %u>
"
,
name
,
type
->
dimx
);
return
wine_dbg_sprintf
(
"
%s%u
"
,
name
,
type
->
dimx
);
if
(
type
->
type
==
HLSL_CLASS_MATRIX
)
return
wine_dbg_sprintf
(
"
matrix<%s, %u, %u>
"
,
name
,
type
->
dimx
,
type
->
dimy
);
return
wine_dbg_sprintf
(
"
%s%ux%u
"
,
name
,
type
->
dimx
,
type
->
dimy
);
return
"unexpected_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