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
63b20223
Commit
63b20223
authored
Sep 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement d3d10_effect_shader_variable_GetVertexShader().
parent
a03910c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
effect.c
dlls/d3d10/effect.c
+18
-2
No files found.
dlls/d3d10/effect.c
View file @
63b20223
...
...
@@ -5617,9 +5617,25 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_shader_variable_GetShaderDesc(
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetVertexShader
(
ID3D10EffectShaderVariable
*
iface
,
UINT
index
,
ID3D10VertexShader
**
shader
)
{
FIXME
(
"iface %p, index %u, shader %p stub!
\n
"
,
iface
,
index
,
shader
);
struct
d3d10_effect_variable
*
v
=
impl_from_ID3D10EffectVariable
((
ID3D10EffectVariable
*
)
iface
);
struct
d3d10_effect_shader_variable
*
s
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, index %u, shader %p.
\n
"
,
iface
,
index
,
shader
);
if
(
v
->
type
->
element_count
)
v
=
impl_from_ID3D10EffectVariable
(
iface
->
lpVtbl
->
GetElement
(
iface
,
index
));
if
(
v
->
type
->
basetype
!=
D3D10_SVT_VERTEXSHADER
)
{
WARN
(
"Shader is not a vertex shader.
\n
"
);
return
E_FAIL
;
}
s
=
v
->
data
;
if
((
*
shader
=
s
->
shader
.
vs
))
ID3D10VertexShader_AddRef
(
*
shader
);
return
S_OK
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetGeometryShader
(
...
...
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