Module: wine Branch: master Commit: f4f6324248543064ee4a7ca46a63c776486ff560 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4f6324248543064ee4a7ca46a...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Nov 4 10:37:14 2009 +0100
d3d10: Add a D3D10GetVertexShaderProfile() stub.
---
dlls/d3d10/d3d10.spec | 2 +- dlls/d3d10/d3d10_main.c | 7 +++++++ include/d3d10shader.h | 2 ++ 3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d10/d3d10.spec b/dlls/d3d10/d3d10.spec index 0ea1d8f..332ab38 100644 --- a/dlls/d3d10/d3d10.spec +++ b/dlls/d3d10/d3d10.spec @@ -15,7 +15,7 @@ @ stub D3D10GetPixelShaderProfile @ stub D3D10GetShaderDebugInfo @ stub D3D10GetVersion -@ stub D3D10GetVertexShaderProfile +@ stdcall D3D10GetVertexShaderProfile(ptr) @ stub D3D10PreprocessShader @ stub D3D10ReflectShader @ stub D3D10RegisterLayers diff --git a/dlls/d3d10/d3d10_main.c b/dlls/d3d10/d3d10_main.c index 5746fba..84ea2b4 100644 --- a/dlls/d3d10/d3d10_main.c +++ b/dlls/d3d10/d3d10_main.c @@ -241,3 +241,10 @@ HRESULT WINAPI D3D10CreateEffectFromMemory(void *data, SIZE_T data_size, UINT fl
return S_OK; } + +LPCSTR WINAPI D3D10GetVertexShaderProfile(ID3D10Device *device) +{ + FIXME("device %p stub!\n", device); + + return "vs_4_0"; +} diff --git a/include/d3d10shader.h b/include/d3d10shader.h index 59221cc..7a0a470 100644 --- a/include/d3d10shader.h +++ b/include/d3d10shader.h @@ -130,4 +130,6 @@ typedef struct _D3D10_SIGNATURE_PARAMETER_DESC BYTE ReadWriteMask; } D3D10_SIGNATURE_PARAMETER_DESC;
+LPCSTR WINAPI D3D10GetVertexShaderProfile(ID3D10Device *device); + #endif /* __WINE_D3D10SHADER_H */