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
88b2892a
Commit
88b2892a
authored
Feb 21, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Feb 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add stub for D3DXGetShaderConstantTableEx. Implement D3DXGetShaderConstantTable.
parent
a1953658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+2
-2
shader.c
dlls/d3dx9_36/shader.c
+20
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
88b2892a
...
...
@@ -157,8 +157,8 @@
@ stdcall D3DXGetImageInfoFromResourceA(long str ptr)
@ stdcall D3DXGetImageInfoFromResourceW(long wstr ptr)
@ stdcall D3DXGetPixelShaderProfile(ptr)
@ st
ub D3DXGetShaderConstantTable
@ st
ub D3DXGetShaderConstantTableEx
@ st
dcall D3DXGetShaderConstantTable(ptr ptr)
@ st
dcall D3DXGetShaderConstantTableEx(ptr long ptr)
@ stub D3DXGetShaderInputSemantics
@ stub D3DXGetShaderOutputSemantics
@ stub D3DXGetShaderSamplers
...
...
dlls/d3dx9_36/shader.c
View file @
88b2892a
...
...
@@ -237,3 +237,23 @@ HRESULT WINAPI D3DXCompileShader(LPCSTR pSrcData,
pProfile
,
Flags
,
ppShader
,
ppErrorMsgs
,
ppConstantTable
);
return
D3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
D3DXGetShaderConstantTableEx
(
CONST
DWORD
*
pFunction
,
DWORD
flags
,
LPD3DXCONSTANTTABLE
*
ppConstantTable
)
{
FIXME
(
"(%p, %x, %p): stub
\n
"
,
pFunction
,
flags
,
ppConstantTable
);
if
(
!
pFunction
||
!
ppConstantTable
)
return
D3DERR_INVALIDCALL
;
return
D3DXERR_INVALIDDATA
;
}
HRESULT
WINAPI
D3DXGetShaderConstantTable
(
CONST
DWORD
*
pFunction
,
LPD3DXCONSTANTTABLE
*
ppConstantTable
)
{
TRACE
(
"(%p, %p): Forwarded to D3DXGetShaderConstantTableEx
\n
"
,
pFunction
,
ppConstantTable
);
return
D3DXGetShaderConstantTableEx
(
pFunction
,
0
,
ppConstantTable
);
}
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