trace: Trace the correct version of the resource when setting the index buffer.
authorAlex Corscadden <alexc@vmware.com>
Tue, 17 Aug 2010 18:35:29 +0000 (11:35 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 21 Aug 2010 08:44:12 +0000 (09:44 +0100)
commit29dde59ea718f70209788bcc3eaf1c3dd7c2ca69
treeb66406a0302d87d1509ce7df07f0e66e2bd9ec95
parentf7188ac9ce75638003c916c9d5d42a75365ff1c4
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>
src/gallium/drivers/trace/tr_context.c