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
cacff4b3
Commit
cacff4b3
authored
Feb 10, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Feb 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Implement ID3DShaderReflection::GetResourceBindingDescByName().
parent
162233eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
reflection.c
dlls/d3dcompiler_43/reflection.c
+25
-2
No files found.
dlls/d3dcompiler_43/reflection.c
View file @
cacff4b3
...
...
@@ -296,9 +296,32 @@ static struct ID3D11ShaderReflectionVariable * STDMETHODCALLTYPE d3dcompiler_sha
static
HRESULT
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_GetResourceBindingDescByName
(
ID3D11ShaderReflection
*
iface
,
LPCSTR
name
,
D3D11_SHADER_INPUT_BIND_DESC
*
desc
)
{
FIXME
(
"iface %p, name %s, desc %p stub!
\n
"
,
iface
,
name
,
desc
);
struct
d3dcompiler_shader_reflection
*
This
=
impl_from_ID3D11ShaderReflection
(
iface
);
unsigned
int
i
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, name %s, desc %p
\n
"
,
iface
,
debugstr_a
(
name
),
desc
);
if
(
!
desc
||
!
name
)
{
WARN
(
"Invalid argument specified
\n
"
);
return
E_INVALIDARG
;
}
for
(
i
=
0
;
i
<
This
->
bound_resource_count
;
++
i
)
{
D3D11_SHADER_INPUT_BIND_DESC
*
d
=
&
This
->
bound_resources
[
i
];
if
(
!
strcmp
(
d
->
Name
,
name
))
{
TRACE
(
"Returning D3D11_SHADER_INPUT_BIND_DESC %p.
\n
"
,
d
);
*
desc
=
*
d
;
return
S_OK
;
}
}
WARN
(
"Invalid name specified
\n
"
);
return
E_INVALIDARG
;
}
static
UINT
STDMETHODCALLTYPE
d3dcompiler_shader_reflection_GetMovInstructionCount
(
...
...
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