summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-18 15:24:41 +0200
committerMarek Olšák <[email protected]>2016-08-26 15:50:10 +0200
commit7172906c0c5943141cbf23bc15de0aba8e565dae (patch)
tree72ae61d42af0857803509b97792d6c5c61b88bcc /src/gallium/drivers/radeonsi/si_debug.c
parent5ee3cac1380fec6971e9d25267589a586da0ecd8 (diff)
radeonsi: fix printing shaders and states on a VM fault
This was missed while rewriting the PIPE_DUMP flags. Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_debug.c4
1 files changed, 3 insertions, 1 deletions
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: