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
54b53649
Commit
54b53649
authored
Feb 28, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Mar 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Implement ID3D11ShaderReflectionType::GetMemberTypeByName().
parent
3ca651cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
reflection.c
dlls/d3dcompiler_43/reflection.c
+24
-2
No files found.
dlls/d3dcompiler_43/reflection.c
View file @
54b53649
...
...
@@ -817,9 +817,31 @@ static ID3D11ShaderReflectionType * STDMETHODCALLTYPE d3dcompiler_shader_reflect
static
ID3D11ShaderReflectionType
*
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_type_GetMemberTypeByName
(
ID3D11ShaderReflectionType
*
iface
,
LPCSTR
name
)
{
FIXME
(
"iface %p, name %s stub!
\n
"
,
iface
,
name
);
struct
d3dcompiler_shader_reflection_type
*
This
=
impl_from_ID3D11ShaderReflectionType
(
iface
);
unsigned
int
i
;
return
NULL
;
TRACE
(
"iface %p, name %s
\n
"
,
iface
,
debugstr_a
(
name
));
if
(
!
name
)
{
WARN
(
"Invalid argument specified
\n
"
);
return
&
null_type
.
ID3D11ShaderReflectionType_iface
;
}
for
(
i
=
0
;
i
<
This
->
desc
.
Members
;
++
i
)
{
struct
d3dcompiler_shader_reflection_type_member
*
member
=
&
This
->
members
[
i
];
if
(
!
strcmp
(
member
->
name
,
name
))
{
TRACE
(
"Returning ID3D11ShaderReflectionType %p.
\n
"
,
member
->
type
);
return
&
member
->
type
->
ID3D11ShaderReflectionType_iface
;
}
}
WARN
(
"Invalid name specified
\n
"
);
return
&
null_type
.
ID3D11ShaderReflectionType_iface
;
}
static
LPCSTR
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_type_GetMemberTypeName
(
...
...
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