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
90df33f0
Commit
90df33f0
authored
Sep 23, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement d3d10_effect_shader_variable_GetGeometryShader().
parent
c0d20295
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 @
90df33f0
...
...
@@ -5641,9 +5641,25 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_shader_variable_GetVertexShader(
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetGeometryShader
(
ID3D10EffectShaderVariable
*
iface
,
UINT
index
,
ID3D10GeometryShader
**
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_GEOMETRYSHADER
)
{
WARN
(
"Shader is not a geometry shader.
\n
"
);
return
E_FAIL
;
}
s
=
v
->
data
;
if
((
*
shader
=
s
->
shader
.
gs
))
ID3D10GeometryShader_AddRef
(
*
shader
);
return
S_OK
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetPixelShader
(
...
...
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