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
f1d4ab32
Commit
f1d4ab32
authored
Sep 10, 2009
by
Rico Schüller
Committed by
Alexandre Julliard
Sep 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement ID3D10EffectVariable::GetDesc().
parent
3517d75f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
effect.c
dlls/d3d10/effect.c
+32
-2
No files found.
dlls/d3d10/effect.c
View file @
f1d4ab32
...
...
@@ -1677,9 +1677,39 @@ static struct ID3D10EffectType * STDMETHODCALLTYPE d3d10_effect_variable_GetType
static
HRESULT
STDMETHODCALLTYPE
d3d10_effect_variable_GetDesc
(
ID3D10EffectVariable
*
iface
,
D3D10_EFFECT_VARIABLE_DESC
*
desc
)
{
FIXME
(
"iface %p, desc %p stub!
\n
"
,
iface
,
desc
)
;
struct
d3d10_effect_variable
*
This
=
(
struct
d3d10_effect_variable
*
)
iface
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, desc %p
\n
"
,
iface
,
desc
);
if
(
This
==
&
null_variable
)
{
WARN
(
"Null variable specified
\n
"
);
return
E_FAIL
;
}
if
(
!
desc
)
{
WARN
(
"Invalid argument specified
\n
"
);
return
E_INVALIDARG
;
}
memset
(
desc
,
0
,
sizeof
(
*
desc
));
desc
->
Name
=
This
->
name
;
desc
->
Semantic
=
This
->
semantic
;
desc
->
Flags
=
This
->
flag
;
desc
->
Annotations
=
This
->
annotation_count
;
desc
->
BufferOffset
=
This
->
buffer_offset
;
if
(
This
->
flag
==
D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT
)
{
desc
->
ExplicitBindPoint
=
This
->
buffer_offset
;
}
else
if
(
This
->
flag
)
{
FIXME
(
"Unhandled flag %#x!
\n
"
,
This
->
flag
);
}
return
S_OK
;
}
static
struct
ID3D10EffectVariable
*
STDMETHODCALLTYPE
d3d10_effect_variable_GetAnnotationByIndex
(
...
...
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