diff options
author | Alex Corscadden <alexc@vmware.com> | 2010-08-17 11:35:29 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-08-21 09:44:12 +0100 |
commit | 29dde59ea718f70209788bcc3eaf1c3dd7c2ca69 (patch) | |
tree | b66406a0302d87d1509ce7df07f0e66e2bd9ec95 /src/gallium/drivers/trace | |
parent | f7188ac9ce75638003c916c9d5d42a75365ff1c4 (diff) | |
download | external_mesa3d-29dde59ea718f70209788bcc3eaf1c3dd7c2ca69.zip external_mesa3d-29dde59ea718f70209788bcc3eaf1c3dd7c2ca69.tar.gz external_mesa3d-29dde59ea718f70209788bcc3eaf1c3dd7c2ca69.tar.bz2 |
trace: Trace the correct version of the resource when setting the index buffer.
The trace driver was tracing the unwrapped version of the index buffer
when setting the index buffer. This caused an assert validating that
a resource belonged to the trace driver to fail. Instead, we'll log
the unmodified index buffer structure when setting the index buffer.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 84e5a6a..5d5bb41 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1002,7 +1002,7 @@ trace_context_set_index_buffer(struct pipe_context *_pipe, trace_dump_call_begin("pipe_context", "set_index_buffer"); trace_dump_arg(ptr, pipe); - trace_dump_arg(index_buffer, ib); + trace_dump_arg(index_buffer, _ib); pipe->set_index_buffer(pipe, ib); |