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
104e422b
Commit
104e422b
authored
Jan 24, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement ID3D10EffectPass::GetPixelShaderDesc().
parent
3961b7b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
2 deletions
+33
-2
effect.c
dlls/d3d10/effect.c
+33
-2
No files found.
dlls/d3d10/effect.c
View file @
104e422b
...
@@ -2457,9 +2457,40 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_pass_GetGeometryShaderDesc(ID3D10E
...
@@ -2457,9 +2457,40 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_pass_GetGeometryShaderDesc(ID3D10E
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_pass_GetPixelShaderDesc
(
ID3D10EffectPass
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_pass_GetPixelShaderDesc
(
ID3D10EffectPass
*
iface
,
D3D10_PASS_SHADER_DESC
*
desc
)
D3D10_PASS_SHADER_DESC
*
desc
)
{
{
FIXME
(
"iface %p, desc %p stub!
\n
"
,
iface
,
desc
);
struct
d3d10_effect_pass
*
This
=
(
struct
d3d10_effect_pass
*
)
iface
;
unsigned
int
i
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, desc %p
\n
"
,
iface
,
desc
);
if
(
This
==
&
null_pass
)
{
WARN
(
"Null pass specified
\n
"
);
return
E_FAIL
;
}
if
(
!
desc
)
{
WARN
(
"Invalid argument specified
\n
"
);
return
E_INVALIDARG
;
}
for
(
i
=
0
;
i
<
This
->
object_count
;
++
i
)
{
struct
d3d10_effect_object
*
o
=
&
This
->
objects
[
i
];
if
(
o
->
type
==
D3D10_EOT_PIXELSHADER
)
{
desc
->
pShaderVariable
=
o
->
data
;
desc
->
ShaderIndex
=
o
->
index
;
return
S_OK
;
}
}
TRACE
(
"Returning null_shader_variable
\n
"
);
desc
->
pShaderVariable
=
(
ID3D10EffectShaderVariable
*
)
&
null_shader_variable
;
desc
->
ShaderIndex
=
0
;
return
S_OK
;
}
}
static
struct
ID3D10EffectVariable
*
STDMETHODCALLTYPE
d3d10_effect_pass_GetAnnotationByIndex
(
ID3D10EffectPass
*
iface
,
static
struct
ID3D10EffectVariable
*
STDMETHODCALLTYPE
d3d10_effect_pass_GetAnnotationByIndex
(
ID3D10EffectPass
*
iface
,
...
...
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