Module: wine Branch: master Commit: b74642ff0b5a60de8df55e919466ee09641ef3a9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b74642ff0b5a60de8df55e9194...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Nov 4 10:37:16 2009 +0100
d3d10: Add a D3D10GetPixelShaderProfile() stub.
---
dlls/d3d10/d3d10.spec | 2 +- dlls/d3d10/d3d10_main.c | 7 +++++++ include/d3d10shader.h | 1 + 3 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d10/d3d10.spec b/dlls/d3d10/d3d10.spec index 26f714e..86e1236 100644 --- a/dlls/d3d10/d3d10.spec +++ b/dlls/d3d10/d3d10.spec @@ -12,7 +12,7 @@ @ stub D3D10GetInputAndOutputSignatureBlob @ stub D3D10GetInputSignatureBlob @ stub D3D10GetOutputSignatureBlob -@ stub D3D10GetPixelShaderProfile +@ stdcall D3D10GetPixelShaderProfile(ptr) @ stub D3D10GetShaderDebugInfo @ stub D3D10GetVersion @ stdcall D3D10GetVertexShaderProfile(ptr) diff --git a/dlls/d3d10/d3d10_main.c b/dlls/d3d10/d3d10_main.c index 6ccc254..10bf533 100644 --- a/dlls/d3d10/d3d10_main.c +++ b/dlls/d3d10/d3d10_main.c @@ -255,3 +255,10 @@ LPCSTR WINAPI D3D10GetGeometryShaderProfile(ID3D10Device *device)
return "gs_4_0"; } + +LPCSTR WINAPI D3D10GetPixelShaderProfile(ID3D10Device *device) +{ + FIXME("device %p stub!\n", device); + + return "ps_4_0"; +} diff --git a/include/d3d10shader.h b/include/d3d10shader.h index 3aaf6fe..582a1c9 100644 --- a/include/d3d10shader.h +++ b/include/d3d10shader.h @@ -132,5 +132,6 @@ typedef struct _D3D10_SIGNATURE_PARAMETER_DESC
LPCSTR WINAPI D3D10GetVertexShaderProfile(ID3D10Device *device); LPCSTR WINAPI D3D10GetGeometryShaderProfile(ID3D10Device *device); +LPCSTR WINAPI D3D10GetPixelShaderProfile(ID3D10Device *device);
#endif /* __WINE_D3D10SHADER_H */