Mesa (master): trace: Fix pipe_context::clear dumping.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Sat May 12 16:25:43 UTC 2012
Module: Mesa
Branch: master
Commit: fd687e06f048c0100c04a9e7c5b2270717a7adc2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd687e06f048c0100c04a9e7c5b2270717a7adc2
Author: José Fonseca <jfonseca at vmware.com>
Date: Sat May 12 16:59:41 2012 +0100
trace: Fix pipe_context::clear dumping.
---
src/gallium/drivers/trace/tr_context.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index 27bc6c5..ffaa3d0 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -1198,10 +1198,12 @@ trace_context_clear(struct pipe_context *_pipe,
trace_dump_arg(ptr, pipe);
trace_dump_arg(uint, buffers);
+ trace_dump_arg_begin("color");
if (color)
- trace_dump_arg_array(float, color->f, 4);
+ trace_dump_array(float, color->f, 4);
else
trace_dump_null();
+ trace_dump_arg_end();
trace_dump_arg(float, depth);
trace_dump_arg(uint, stencil);
More information about the mesa-commit
mailing list