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
1ba00603
Commit
1ba00603
authored
Sep 09, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Use debugstr_a()/debugstr_an() to trace external strings.
parent
ecc6a951
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
20 deletions
+6
-20
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+0
-7
inputlayout.c
dlls/d3d10core/inputlayout.c
+1
-4
shader.c
dlls/d3d10core/shader.c
+3
-6
utils.c
dlls/d3d10core/utils.c
+2
-3
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
1ba00603
...
...
@@ -63,13 +63,6 @@ static inline void read_dword(const char **ptr, DWORD *d)
void
skip_dword_unknown
(
const
char
**
ptr
,
unsigned
int
count
);
static
inline
void
read_tag
(
const
char
**
ptr
,
DWORD
*
t
,
char
t_str
[
5
])
{
read_dword
(
ptr
,
t
);
memcpy
(
t_str
,
t
,
4
);
t_str
[
4
]
=
'\0'
;
}
HRESULT
parse_dxbc
(
const
char
*
data
,
SIZE_T
data_size
,
HRESULT
(
*
chunk_handler
)(
const
char
*
data
,
DWORD
data_size
,
DWORD
tag
,
void
*
ctx
),
void
*
ctx
);
...
...
dlls/d3d10core/inputlayout.c
View file @
1ba00603
...
...
@@ -27,7 +27,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d10core);
static
HRESULT
isgn_handler
(
const
char
*
data
,
DWORD
data_size
,
DWORD
tag
,
void
*
ctx
)
{
struct
wined3d_shader_signature
*
is
=
ctx
;
char
tag_str
[
5
];
switch
(
tag
)
{
...
...
@@ -35,9 +34,7 @@ static HRESULT isgn_handler(const char *data, DWORD data_size, DWORD tag, void *
return
shader_parse_signature
(
data
,
data_size
,
is
);
default:
memcpy
(
tag_str
,
&
tag
,
4
);
tag_str
[
4
]
=
'\0'
;
FIXME
(
"Unhandled chunk %s
\n
"
,
tag_str
);
FIXME
(
"Unhandled chunk %s.
\n
"
,
debugstr_an
((
const
char
*
)
&
tag
,
4
));
return
S_OK
;
}
}
...
...
dlls/d3d10core/shader.c
View file @
1ba00603
...
...
@@ -27,7 +27,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d10core);
static
HRESULT
shdr_handler
(
const
char
*
data
,
DWORD
data_size
,
DWORD
tag
,
void
*
ctx
)
{
struct
d3d10_shader_info
*
shader_info
=
ctx
;
char
tag_str
[
5
];
HRESULT
hr
;
switch
(
tag
)
...
...
@@ -42,9 +41,7 @@ static HRESULT shdr_handler(const char *data, DWORD data_size, DWORD tag, void *
break
;
default:
memcpy
(
tag_str
,
&
tag
,
4
);
tag_str
[
4
]
=
'\0'
;
FIXME
(
"Unhandled chunk %s
\n
"
,
tag_str
);
FIXME
(
"Unhandled chunk %s
\n
"
,
debugstr_an
((
const
char
*
)
&
tag
,
4
));
break
;
}
...
...
@@ -118,8 +115,8 @@ HRESULT shader_parse_signature(const char *data, DWORD data_size, struct wined3d
TRACE
(
"semantic: %s, semantic idx: %u, sysval_semantic %#x, "
"type %u, register idx: %u, use_mask %#x, input_mask %#x
\n
"
,
e
[
i
].
semantic_name
,
e
[
i
].
semantic_idx
,
e
[
i
].
sysval_semantic
,
e
[
i
].
component_type
,
e
[
i
].
register_idx
,
(
e
[
i
].
mask
>>
8
)
&
0xff
,
e
[
i
].
mask
&
0xff
);
debugstr_a
(
e
[
i
].
semantic_name
),
e
[
i
].
semantic_idx
,
e
[
i
].
sysval_semantic
,
e
[
i
].
component_type
,
e
[
i
].
register_idx
,
(
e
[
i
].
mask
>>
8
)
&
0xff
,
e
[
i
].
mask
&
0xff
);
}
s
->
elements
=
e
;
...
...
dlls/d3d10core/utils.c
View file @
1ba00603
...
...
@@ -365,12 +365,11 @@ HRESULT parse_dxbc(const char *data, SIZE_T data_size,
HRESULT
hr
=
S_OK
;
DWORD
chunk_count
;
DWORD
total_size
;
char
tag_str
[
5
];
unsigned
int
i
;
DWORD
tag
;
read_
tag
(
&
ptr
,
&
tag
,
tag_str
);
TRACE
(
"tag: %s
\n
"
,
tag_str
);
read_
dword
(
&
ptr
,
&
tag
);
TRACE
(
"tag: %s
.
\n
"
,
debugstr_an
((
const
char
*
)
&
tag
,
4
)
);
if
(
tag
!=
TAG_DXBC
)
{
...
...
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