From: Marek Olšák Date: Thu, 18 Aug 2016 13:24:41 +0000 (+0200) Subject: radeonsi: fix printing shaders and states on a VM fault X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7172906c0c5943141cbf23bc15de0aba8e565dae;p=mesa.git radeonsi: fix printing shaders and states on a VM fault This was missed while rewriting the PIPE_DUMP flags. Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 7e75d3ff99b..8ce9cafb4f6 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -827,7 +827,9 @@ void si_check_vm_faults(struct r600_common_context *ctx, switch (ring) { case RING_GFX: - si_dump_debug_state(&sctx->b.b, f, 0); + si_dump_debug_state(&sctx->b.b, f, + PIPE_DUMP_CURRENT_STATES | + PIPE_DUMP_CURRENT_SHADERS); break; case RING_DMA: