From b74642ff0b5a60de8df55e919466ee09641ef3a9 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 4 Nov 2009 10:37:16 +0100 Subject: [PATCH] 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 deletion(-) diff --git a/dlls/d3d10/d3d10.spec b/dlls/d3d10/d3d10.spec index 26f714e9f5d..86e1236a523 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 6ccc254070e..10bf5335606 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 3aaf6fed258..582a1c9fdc1 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 */