[PATCH 2/5] d3d10: Add a D3D10GetVertexShaderProfile() stub.
Henri Verbeet
hverbeet at codeweavers.com
Wed Nov 4 03:37:14 CST 2009
---
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 */
--
1.6.4.4
More information about the wine-patches
mailing list