Jan Zerebecki : wined3d: Output unhandled renderstates with debug_d3drenderstate.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 4 16:15:37 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 166b6d861d283c36b1791d0e90342598176775b9
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=166b6d861d283c36b1791d0e90342598176775b9

Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date:   Tue Apr  4 15:34:28 2006 +0200

wined3d: Output unhandled renderstates with debug_d3drenderstate.

---

 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 03a7ec3..f355499 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-cvs mailing list