[WINED3D 1/7] Remove dead vertex shader code
Jason Green
jave27 at gmail.com
Fri Jun 16 15:06:50 CDT 2006
- These routines are already handled in device.c, and aren't called
anywhere else in the code.
-------------- next part --------------
From nobody Mon Sep 17 00:00:00 2001
From: Jason <jason at jave02.(none)>
Date: Fri, 16 Jun 2006 14:17:01 -0400
Subject: [PATCH 1/7] Remove dead vertex shader code
- These routines are already handled in device.c, and aren't called anywhere else in the code.
---
dlls/wined3d/vertexshader.c | 61 -------------------------------------------
1 files changed, 0 insertions(+), 61 deletions(-)
ef9e7225858dc3409389e4cac41a3f265eca7b4f
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index d2028f2..8b62ff7 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -42,8 +42,6 @@ # define VSTRACE(A)
# define TRACE_VSVECTOR(name)
#endif
-#if 1 /* FIXME : Needs sorting when vshader code moved in properly */
-
/**
* DirectX9 SDK download
* http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
@@ -1182,65 +1180,6 @@ #endif
return WINED3D_OK;
}
-HRESULT WINAPI IWineD3DVertexShaderImpl_SetConstantF(IWineD3DVertexShader *iface, UINT StartRegister, CONST FLOAT *pConstantData, UINT Vector4fCount) {
- IWineD3DVertexShaderImpl *This = (IWineD3DVertexShaderImpl *)iface;
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-HRESULT WINAPI IWineD3DVertexShaderImpl_GetConstantF(IWineD3DVertexShader *iface, UINT StartRegister, FLOAT *pConstantData, UINT Vector4fCount) {
- IWineD3DVertexShaderImpl *This = (IWineD3DVertexShaderImpl *)iface;
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-HRESULT WINAPI IWineD3DVertexShaderImpl_SetConstantI(IWineD3DVertexShader *iface, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount) {
- IWineD3DVertexShaderImpl *This = (IWineD3DVertexShaderImpl *)iface;
- if (StartRegister + Vector4iCount > WINED3D_VSHADER_MAX_CONSTANTS) {
- ERR("(%p) : SetVertexShaderConstantI C[%u] invalid\n", This, StartRegister);
- return WINED3DERR_INVALIDCALL;
- }
- if (NULL == pConstantData) {
- return WINED3DERR_INVALIDCALL;
- }
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-HRESULT WINAPI IWineD3DVertexShaderImpl_GetConstantI(IWineD3DVertexShader *iface, UINT StartRegister, int *pConstantData, UINT Vector4iCount) {
- IWineD3DVertexShaderImpl *This = (IWineD3DVertexShaderImpl *)iface;
- TRACE("(%p) : C[%u] count=%u\n", This, StartRegister, Vector4iCount);
- if (StartRegister + Vector4iCount > WINED3D_VSHADER_MAX_CONSTANTS) {
- return WINED3DERR_INVALIDCALL;
- }
- if (NULL == pConstantData) {
- return WINED3DERR_INVALIDCALL;
- }
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-HRESULT WINAPI IWineD3DVertexShaderImpl_SetConstantB(IWineD3DVertexShader *iface, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount) {
- IWineD3DVertexShaderImpl *This = (IWineD3DVertexShaderImpl *)iface;
- if (StartRegister + BoolCount > WINED3D_VSHADER_MAX_CONSTANTS) {
- ERR("(%p) : SetVertexShaderConstantB C[%u] invalid\n", This, StartRegister);
- return WINED3DERR_INVALIDCALL;
- }
- if (NULL == pConstantData) {
- return WINED3DERR_INVALIDCALL;
- }
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-HRESULT WINAPI IWineD3DVertexShaderImpl_GetConstantB(IWineD3DVertexShader *iface, UINT StartRegister, BOOL *pConstantData, UINT BoolCount) {
- IWineD3DVertexShaderImpl* This = (IWineD3DVertexShaderImpl *)iface;
- FIXME("(%p) : stub\n", This);
- return WINED3D_OK;
-}
-
-#endif
-
/* *******************************************
IWineD3DVertexShader IUnknown parts follow
******************************************* */
--
1.3.3
More information about the wine-patches
mailing list