d3dx9_36: Add stub for D3DXGetShaderConstantTableEx. Implement D3DXGetShaderConstantTable.
This commit is contained in:
parent
a19536587b
commit
88b2892a59
|
@ -157,8 +157,8 @@
|
|||
@ stdcall D3DXGetImageInfoFromResourceA(long str ptr)
|
||||
@ stdcall D3DXGetImageInfoFromResourceW(long wstr ptr)
|
||||
@ stdcall D3DXGetPixelShaderProfile(ptr)
|
||||
@ stub D3DXGetShaderConstantTable
|
||||
@ stub D3DXGetShaderConstantTableEx
|
||||
@ stdcall D3DXGetShaderConstantTable(ptr ptr)
|
||||
@ stdcall D3DXGetShaderConstantTableEx(ptr long ptr)
|
||||
@ stub D3DXGetShaderInputSemantics
|
||||
@ stub D3DXGetShaderOutputSemantics
|
||||
@ stub D3DXGetShaderSamplers
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue