trace: fix a segfault when tracing indirect draw calls
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 24 Jan 2016 16:50:46 +0000 (17:50 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 24 Jan 2016 18:53:53 +0000 (19:53 +0100)
commit429371f22acb16862f0df7592d4c085d4a10c767
tree9898ff50227787b7965884bb0cbc537429814a7a
parent24ea81a4916091f487d132e22aaaaf0e88742d36
trace: fix a segfault when tracing indirect draw calls

Like other resources, the indirect draw buffer must be unwrapped.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/trace/tr_context.c