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
7a12bf98
Commit
7a12bf98
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 in parse_fx10_object().
parent
f811cd3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
effect.c
dlls/d3d10/effect.c
+9
-0
No files found.
dlls/d3d10/d3d10_private.h
View file @
7a12bf98
...
@@ -48,6 +48,7 @@ enum d3d10_effect_object_type
...
@@ -48,6 +48,7 @@ enum d3d10_effect_object_type
enum
d3d10_effect_object_operation
enum
d3d10_effect_object_operation
{
{
D3D10_EOO_VALUE
=
1
,
D3D10_EOO_VALUE
=
1
,
D3D10_EOO_PARSED_OBJECT
=
2
,
D3D10_EOO_ANONYMOUS_SHADER
=
7
,
D3D10_EOO_ANONYMOUS_SHADER
=
7
,
};
};
...
...
dlls/d3d10/effect.c
View file @
7a12bf98
...
@@ -910,6 +910,7 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
...
@@ -910,6 +910,7 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
enum
d3d10_effect_object_operation
operation
;
enum
d3d10_effect_object_operation
operation
;
HRESULT
hr
;
HRESULT
hr
;
struct
d3d10_effect
*
effect
=
o
->
pass
->
technique
->
effect
;
struct
d3d10_effect
*
effect
=
o
->
pass
->
technique
->
effect
;
ID3D10Effect
*
e
=
(
ID3D10Effect
*
)
effect
;
read_dword
(
ptr
,
&
o
->
type
);
read_dword
(
ptr
,
&
o
->
type
);
TRACE
(
"Effect object is of type %#x.
\n
"
,
o
->
type
);
TRACE
(
"Effect object is of type %#x.
\n
"
,
o
->
type
);
...
@@ -956,6 +957,14 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
...
@@ -956,6 +957,14 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
}
}
break
;
break
;
case
D3D10_EOO_PARSED_OBJECT
:
/* This is a local object, we've parsed in parse_fx10_local_object. */
TRACE
(
"Shader = %s.
\n
"
,
data
+
offset
);
o
->
data
=
e
->
lpVtbl
->
GetVariableByName
(
e
,
data
+
offset
);
hr
=
S_OK
;
break
;
case
D3D10_EOO_ANONYMOUS_SHADER
:
case
D3D10_EOO_ANONYMOUS_SHADER
:
TRACE
(
"Anonymous shader
\n
"
);
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