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
7f886a2b
Commit
7f886a2b
authored
Sep 08, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add initial support for parsing structures.
parent
a2db7e2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
effect.c
dlls/d3d10/effect.c
+26
-0
No files found.
dlls/d3d10/effect.c
View file @
7f886a2b
...
...
@@ -457,6 +457,32 @@ static void parse_fx10_type(const char *ptr, const char *data)
TRACE
(
"
\t
unknown bits: %#x.
\n
"
,
tmp
&
~
(
D3D10_FX10_TYPE_COLUMN_MASK
|
D3D10_FX10_TYPE_ROW_MASK
|
D3D10_FX10_TYPE_BASETYPE_MASK
|
D3D10_FX10_TYPE_CLASS_MASK
));
}
else
if
(
unknown0
==
3
)
{
DWORD
member_count
;
unsigned
int
i
;
TRACE
(
"Type is a structure.
\n
"
);
read_dword
(
&
ptr
,
&
member_count
);
TRACE
(
"Member count: %u.
\n
"
,
member_count
);
for
(
i
=
0
;
i
<
member_count
;
++
i
)
{
read_dword
(
&
ptr
,
&
tmp
);
TRACE
(
"Member %u name at offset %#x.
\n
"
,
i
,
tmp
);
TRACE
(
"Member %u name: %s.
\n
"
,
i
,
debugstr_a
(
data
+
tmp
));
/* Member semantic? */
skip_dword_unknown
(
&
ptr
,
1
);
read_dword
(
&
ptr
,
&
tmp
);
TRACE
(
"Member %u offset in struct: %#x.
\n
"
,
i
,
tmp
);
read_dword
(
&
ptr
,
&
tmp
);
TRACE
(
"Member %u type info at offset %#x.
\n
"
,
i
,
tmp
);
}
}
}
static
HRESULT
parse_fx10_variable
(
struct
d3d10_effect_variable
*
v
,
const
char
**
ptr
,
const
char
*
data
)
...
...
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