summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-11-27 11:43:54 +0000
committerJosé Fonseca <[email protected]>2013-11-28 12:19:42 +0000
commitfb5f5b81883f360dcbbf407a0f6f5606bc0c0495 (patch)
tree2029e9403af000749e6bee4056e791361319b3d0 /src/gallium/drivers/trace/tr_context.c
parenteb040bd54a22e831367939d0acbacdd256ab9d5b (diff)
trace: Dump PIPE_QUERY_* enums.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r--src/gallium/drivers/trace/tr_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index d9afb0aba7c..4ac7d9b50b2 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -33,6 +33,7 @@
#include "pipe/p_screen.h"
#include "tr_dump.h"
+#include "tr_dump_defines.h"
#include "tr_dump_state.h"
#include "tr_public.h"
#include "tr_screen.h"
@@ -135,7 +136,7 @@ trace_context_create_query(struct pipe_context *_pipe,
trace_dump_call_begin("pipe_context", "create_query");
trace_dump_arg(ptr, pipe);
- trace_dump_arg(uint, query_type);
+ trace_dump_arg(query_type, query_type);
query = pipe->create_query(pipe, query_type);