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
441ee394
Commit
441ee394
authored
Mar 19, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Mar 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add missing GetSamplerIndex method to ID3DXConstantTable.
parent
70b79445
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
shader.c
dlls/d3dx9_36/shader.c
+10
-0
d3dx9shader.h
include/d3dx9shader.h
+3
-0
No files found.
dlls/d3dx9_36/shader.c
View file @
441ee394
...
...
@@ -374,6 +374,15 @@ static HRESULT WINAPI ID3DXConstantTableImpl_GetConstantDesc(ID3DXConstantTable*
return
E_NOTIMPL
;
}
static
UINT
WINAPI
ID3DXConstantTableImpl_GetSamplerIndex
(
LPD3DXCONSTANTTABLE
iface
,
D3DXHANDLE
constant
)
{
ID3DXConstantTableImpl
*
This
=
(
ID3DXConstantTableImpl
*
)
iface
;
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
constant
);
return
(
UINT
)
-
1
;
}
static
D3DXHANDLE
WINAPI
ID3DXConstantTableImpl_GetConstant
(
ID3DXConstantTable
*
iface
,
D3DXHANDLE
constant
,
UINT
index
)
{
ID3DXConstantTableImpl
*
This
=
(
ID3DXConstantTableImpl
*
)
iface
;
...
...
@@ -571,6 +580,7 @@ static const struct ID3DXConstantTableVtbl ID3DXConstantTable_Vtbl =
/*** ID3DXConstantTable methods ***/
ID3DXConstantTableImpl_GetDesc
,
ID3DXConstantTableImpl_GetConstantDesc
,
ID3DXConstantTableImpl_GetSamplerIndex
,
ID3DXConstantTableImpl_GetConstant
,
ID3DXConstantTableImpl_GetConstantByName
,
ID3DXConstantTableImpl_GetConstantByElement
,
...
...
include/d3dx9shader.h
View file @
441ee394
...
...
@@ -129,6 +129,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
/*** ID3DXConstantTable methods ***/
STDMETHOD
(
GetDesc
)(
THIS_
D3DXCONSTANTTABLE_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
GetConstantDesc
)(
THIS_
D3DXHANDLE
hConstant
,
D3DXCONSTANT_DESC
*
pConstantDesc
,
UINT
*
pCount
)
PURE
;
STDMETHOD_
(
UINT
,
GetSamplerIndex
)(
THIS_
D3DXHANDLE
hConstant
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetConstant
)(
THIS_
D3DXHANDLE
hConstant
,
UINT
Index
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetConstantByName
)(
THIS_
D3DXHANDLE
hConstant
,
LPCSTR
pName
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetConstantElement
)(
THIS_
D3DXHANDLE
hConstant
,
UINT
Index
)
PURE
;
...
...
@@ -161,6 +162,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
/*** ID3DXConstantTable methods ***/
#define ID3DXConstantTable_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->lpVtbl->GetConstantDesc(p,a,b,c)
#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->lpVtbl->GetSamplerIndex(p,a)
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->lpVtbl->GetConstant(p,a,b)
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->lpVtbl->GetConstantByName(p,a,b)
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->lpVtbl->GetConstantElement(p,a,b)
...
...
@@ -191,6 +193,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
/*** ID3DXConstantTable methods ***/
#define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a)
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c)
#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->GetConstantDesc(a)
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b)
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b)
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b)
...
...
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