[PATCH 1/6] d3d10: Use the shader variable class/type debug functions in parse_fx10_type().

Henri Verbeet hverbeet at codeweavers.com
Thu Sep 10 09:57:14 CDT 2009


This got lost by 7c156c5753f57535b9c12ea3cb8ac17562b4f214.
---
 dlls/d3d10/effect.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 3ac6875..c80cf56 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -344,8 +344,8 @@ static HRESULT parse_fx10_type(struct d3d10_effect_type *t, const char *ptr, con
         TRACE("Type description: %#x.\n", tmp);
         TRACE("\tcolumns: %u.\n", t->column_count);
         TRACE("\trows: %u.\n", t->row_count);
-        TRACE("\tbasetype: %#x.\n", t->basetype);
-        TRACE("\tclass: %#x.\n", t->type_class);
+        TRACE("\tbasetype: %s.\n", debug_d3d10_shader_variable_type(t->basetype));
+        TRACE("\tclass: %s.\n", debug_d3d10_shader_variable_class(t->type_class));
         TRACE("\tunknown bits: %#x.\n", tmp & ~(D3D10_FX10_TYPE_COLUMN_MASK | D3D10_FX10_TYPE_ROW_MASK
                 | D3D10_FX10_TYPE_BASETYPE_MASK | D3D10_FX10_TYPE_CLASS_MASK));
     }
-- 
1.6.0.6




More information about the wine-patches mailing list