wined3d: Output unhandled renderstates with debug_d3drenderstate.
Jan Zerebecki
jan.wine at zerebecki.de
Tue Apr 4 08:34:28 CDT 2006
If this patch is rejected from inclusion, please tell me why, as i would have to
ask anyway.
From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
wined3d: Output unhandled renderstates with debug_d3drenderstate.
Move WINED3DRS_WRAP8-15 to the rest of it's kind.
---
dlls/wined3d/device.c | 25 ++++++++++++-------------
1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 5df1ab2..51df0db 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3677,6 +3677,14 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
case WINED3DRS_WRAP5 :
case WINED3DRS_WRAP6 :
case WINED3DRS_WRAP7 :
+ case WINED3DRS_WRAP8 :
+ case WINED3DRS_WRAP9 :
+ case WINED3DRS_WRAP10 :
+ case WINED3DRS_WRAP11 :
+ case WINED3DRS_WRAP12 :
+ case WINED3DRS_WRAP13 :
+ case WINED3DRS_WRAP14 :
+ case WINED3DRS_WRAP15 :
/**
http://www.cosc.brocku.ca/Offerings/3P98/course/lectures/texture/
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/FixedFunction/Textures/texturewrapping.asp
@@ -3686,7 +3694,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
so far as I can tell, wrapping and texture-coordinate generate go hand in hand,
*/
- TRACE("(%p)->(%d,%ld) Texture wraping not yet supported\n",This, State, Value);
+ TRACE("(%p)->(%s,%ld) Texture wraping not yet supported\n",This, debug_d3drenderstate(State), Value);
break;
case WINED3DRS_MULTISAMPLEANTIALIAS :
{
@@ -3760,7 +3768,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
case WINED3DRS_ADAPTIVETESS_W :
case WINED3DRS_ENABLEADAPTIVETESSELLATION :
{
- FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value);
+ FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
break;
}
case WINED3DRS_TWOSIDEDSTENCILMODE :
@@ -3882,7 +3890,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
case WINED3DRS_BLENDFACTOR :
case WINED3DRS_SRGBWRITEENABLE :
{
- FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value);
+ FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
break;
}
case WINED3DRS_DEPTHBIAS :
@@ -3899,20 +3907,11 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRen
}
break;
}
- case WINED3DRS_WRAP8 :
- case WINED3DRS_WRAP9 :
- case WINED3DRS_WRAP10 :
- case WINED3DRS_WRAP11 :
- case WINED3DRS_WRAP12 :
- case WINED3DRS_WRAP13 :
- case WINED3DRS_WRAP14 :
- case WINED3DRS_WRAP15 :
case WINED3DRS_SEPARATEALPHABLENDENABLE :
case WINED3DRS_SRCBLENDALPHA :
case WINED3DRS_DESTBLENDALPHA :
case WINED3DRS_BLENDOPALPHA :
- /*Put back later: FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value); */
- FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value);
+ FIXME("(%p)->(%s,%ld) not handled yet\n", This, debug_d3drenderstate(State), Value);
break;
default:
FIXME("(%p)->(%d,%ld) unrecognized\n", This, State, Value);
More information about the wine-patches
mailing list