Matteo Bruni : d3dcompiler: Add a trace to the scope push/pop functions.
Alexandre Julliard
julliard at winehq.org
Wed Jul 11 17:39:21 CDT 2012
Module: wine
Branch: master
Commit: 995fb30d58e08b4def6112533f8a19823712a5a2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=995fb30d58e08b4def6112533f8a19823712a5a2
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Wed Jul 11 17:27:52 2012 +0200
d3dcompiler: Add a trace to the scope push/pop functions.
---
dlls/d3dcompiler_43/utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index 886d506..880a484 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -927,6 +927,7 @@ void push_scope(struct hlsl_parse_ctx *ctx)
ERR("Out of memory!\n");
return;
}
+ TRACE("Pushing a new scope\n");
list_init(&new_scope->vars);
list_init(&new_scope->types);
new_scope->upper = ctx->cur_scope;
@@ -940,6 +941,7 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx)
if (!prev_scope)
return FALSE;
+ TRACE("Popping current scope\n");
ctx->cur_scope = prev_scope;
return TRUE;
}
More information about the wine-cvs
mailing list