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
37b7de2b
Commit
37b7de2b
authored
Jan 24, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add D3D10_EOO_PARSED_OBJECT_INDEX in parse_fx10_object().
parent
7a12bf98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
effect.c
dlls/d3d10/effect.c
+11
-0
No files found.
dlls/d3d10/d3d10_private.h
View file @
37b7de2b
...
...
@@ -49,6 +49,7 @@ enum d3d10_effect_object_operation
{
D3D10_EOO_VALUE
=
1
,
D3D10_EOO_PARSED_OBJECT
=
2
,
D3D10_EOO_PARSED_OBJECT_INDEX
=
3
,
D3D10_EOO_ANONYMOUS_SHADER
=
7
,
};
...
...
dlls/d3d10/effect.c
View file @
37b7de2b
...
...
@@ -965,6 +965,17 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
hr
=
S_OK
;
break
;
case
D3D10_EOO_PARSED_OBJECT_INDEX
:
/* This is a local object, we've parsed in parse_fx10_local_object, which has an array index. */
data_ptr
=
data
+
offset
;
read_dword
(
&
data_ptr
,
&
offset
);
read_dword
(
&
data_ptr
,
&
o
->
index
);
TRACE
(
"Shader = %s[%u].
\n
"
,
data
+
offset
,
o
->
index
);
o
->
data
=
e
->
lpVtbl
->
GetVariableByName
(
e
,
data
+
offset
);
hr
=
S_OK
;
break
;
case
D3D10_EOO_ANONYMOUS_SHADER
:
TRACE
(
"Anonymous shader
\n
"
);
...
...
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