Henri Verbeet : d3d10: Use the shader variable class/ type debug functions in parse_fx10_type().

Alexandre Julliard julliard at winehq.org
Fri Sep 11 10:52:14 CDT 2009


Module: wine
Branch: master
Commit: b0c462080289ac4d064a788bfe2876011709b24b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b0c462080289ac4d064a788bfe2876011709b24b

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Sep 10 16:57:14 2009 +0200

d3d10: Use the shader variable class/type debug functions in parse_fx10_type().

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));
     }




More information about the wine-cvs mailing list