ac/debug: Dump indirect buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 1 Jan 2017 15:47:12 +0000 (16:47 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Jan 2017 20:44:08 +0000 (21:44 +0100)
commit8cb60c7dd3cb608615d3e5f89ad4198c0babdb3d
tree0a5a7651fced7daf712da778e22637529832b0e8
parent97dfff54105ac10b6e2daace020687eefdcc28c0
ac/debug: Dump indirect buffers.

This is for handling chained command buffers and secondary command
buffers. It doesn't handle the trace id for secondary command buffers
yet, but I don't think that is possible in general with just writes,
as we could call a secondary command buffer multiple times.

I think this is good enough for now, as the most useful case is the
chaining when we grow an IB.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_debug.c
src/amd/common/ac_debug.h
src/amd/common/sid.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
src/gallium/drivers/radeonsi/si_debug.c