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
1dcc63c1
Commit
1dcc63c1
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_GetPixelShader().
parent
90df33f0
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 @
1dcc63c1
...
...
@@ -5665,9 +5665,25 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_shader_variable_GetGeometryShader(
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetPixelShader
(
ID3D10EffectShaderVariable
*
iface
,
UINT
index
,
ID3D10PixelShader
**
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_PIXELSHADER
)
{
WARN
(
"Shader is not a pixel shader.
\n
"
);
return
E_FAIL
;
}
s
=
v
->
data
;
if
((
*
shader
=
s
->
shader
.
ps
))
ID3D10PixelShader_AddRef
(
*
shader
);
return
S_OK
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_shader_variable_GetInputSignatureElementDesc
(
...
...
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