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
09e258a1
Commit
09e258a1
authored
Aug 26, 2009
by
Rico Schüller
Committed by
Alexandre Julliard
Aug 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Identify some more unknowns in parse_fx10.
parent
57bc4909
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
19 deletions
+26
-19
d3d10_private.h
dlls/d3d10/d3d10_private.h
+7
-1
effect.c
dlls/d3d10/effect.c
+19
-18
No files found.
dlls/d3d10/d3d10_private.h
View file @
09e258a1
...
...
@@ -114,15 +114,21 @@ struct d3d10_effect
ID3D10Device
*
device
;
DWORD
version
;
DWORD
local_buffer_count
;
DWORD
localobjects_count
;
DWORD
variable_count
;
DWORD
object_count
;
DWORD
sharedbuffers_count
;
DWORD
sharedobjects_count
;
DWORD
technique_count
;
DWORD
index_offset
;
DWORD
texture_count
;
DWORD
dephstencilstate_count
;
DWORD
blendstate_count
;
DWORD
rasterizerstate_count
;
DWORD
samplerstate_count
;
DWORD
rendertargetview_count
;
DWORD
depthstencilview_count
;
DWORD
shader_call_count
;
DWORD
shader_compile_count
;
struct
d3d10_effect_local_buffer
*
local_buffers
;
struct
d3d10_effect_technique
*
techniques
;
...
...
dlls/d3d10/effect.c
View file @
09e258a1
...
...
@@ -547,19 +547,18 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
read_dword
(
&
ptr
,
&
e
->
local_buffer_count
);
TRACE
(
"Local buffer count: %u.
\n
"
,
e
->
local_buffer_count
);
/* Number of variables in local buffers? */
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 0: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
e
->
variable_count
);
TRACE
(
"Variable count: %u
\n
"
,
e
->
variable_count
);
read_dword
(
&
ptr
,
&
e
->
localobjects
_count
);
TRACE
(
"
Localobjects count: %u
\n
"
,
e
->
localobjects
_count
);
read_dword
(
&
ptr
,
&
e
->
object
_count
);
TRACE
(
"
Object count: %u
\n
"
,
e
->
object
_count
);
read_dword
(
&
ptr
,
&
e
->
sharedbuffers_count
);
TRACE
(
"Sharedbuffers count: %u
\n
"
,
e
->
sharedbuffers_count
);
/* Number of variables in shared buffers? */
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown
1
: %u
\n
"
,
unknown
);
FIXME
(
"Unknown
0
: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
e
->
sharedobjects_count
);
TRACE
(
"Sharedobjects count: %u
\n
"
,
e
->
sharedobjects_count
);
...
...
@@ -571,9 +570,10 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
TRACE
(
"Index offset: %#x
\n
"
,
e
->
index_offset
);
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 2: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 3: %u
\n
"
,
unknown
);
FIXME
(
"Unknown 1: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
e
->
texture_count
);
TRACE
(
"Texture count: %u
\n
"
,
e
->
texture_count
);
read_dword
(
&
ptr
,
&
e
->
dephstencilstate_count
);
TRACE
(
"Depthstencilstate count: %u
\n
"
,
e
->
dephstencilstate_count
);
...
...
@@ -587,16 +587,17 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
read_dword
(
&
ptr
,
&
e
->
samplerstate_count
);
TRACE
(
"Samplerstate count: %u
\n
"
,
e
->
samplerstate_count
);
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 4: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 5: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
e
->
rendertargetview_count
);
TRACE
(
"Rendertargetview count: %u
\n
"
,
e
->
rendertargetview_count
);
/* Number of function calls in all passes? */
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 6: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
unknown
);
FIXME
(
"Unknown 7: %u
\n
"
,
unknown
);
read_dword
(
&
ptr
,
&
e
->
depthstencilview_count
);
TRACE
(
"Depthstencilview count: %u
\n
"
,
e
->
depthstencilview_count
);
read_dword
(
&
ptr
,
&
e
->
shader_call_count
);
TRACE
(
"Shader call count: %u
\n
"
,
e
->
shader_call_count
);
read_dword
(
&
ptr
,
&
e
->
shader_compile_count
);
TRACE
(
"Shader compile count: %u
\n
"
,
e
->
shader_compile_count
);
return
parse_fx10_body
(
e
,
ptr
,
data_size
-
(
ptr
-
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