d3dx9_36: Add stub for D3DXCompileShader.

This commit is contained in:
Christian Costa 2010-02-11 07:38:08 +01:00 committed by Alexandre Julliard
parent 6b890be551
commit 8f63f180c9
2 changed files with 18 additions and 1 deletions

View File

@ -11,7 +11,7 @@
@ stub D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long)
@ stdcall D3DXColorAdjustSaturation(ptr ptr long)
@ stub D3DXCompileShader
@ stdcall D3DXCompileShader(ptr long ptr ptr ptr ptr long ptr ptr ptr)
@ stub D3DXCompileShaderFromFileA
@ stub D3DXCompileShaderFromFileW
@ stub D3DXCompileShaderFromResourceA

View File

@ -220,3 +220,20 @@ HRESULT WINAPI D3DXAssembleShaderFromResourceW(HMODULE module,
return D3DXAssembleShader(buffer, len, defines, include, flags,
shader, error_messages);
}
HRESULT WINAPI D3DXCompileShader(LPCSTR pSrcData,
UINT srcDataLen,
CONST D3DXMACRO* pDefines,
LPD3DXINCLUDE pInclude,
LPCSTR pFunctionName,
LPCSTR pProfile,
DWORD Flags,
LPD3DXBUFFER* ppShader,
LPD3DXBUFFER* ppErrorMsgs,
LPD3DXCONSTANTTABLE * ppConstantTable)
{
FIXME("(%p, %d, %p, %p, %p, %p, %d, %p, %p, %p): stub\n",
pSrcData, srcDataLen, pDefines, pInclude, pFunctionName,
pProfile, Flags, ppShader, ppErrorMsgs, ppConstantTable);
return D3DERR_INVALIDCALL;
}