aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-03-14 12:02:13 +0100
committerSamuel Pitoiset <[email protected]>2018-03-15 17:19:54 +0100
commit14c27c251127628b7264ee630f9854762962279b (patch)
tree9ef1ae3bed62d39a19c282ca67a969caa2a5f470 /src/amd/vulkan/radv_debug.h
parent5be2757c3506004d9913ad2ea3ad4fbe6af70dce (diff)
radv: print some information when RADV_TRACE_FILE is set
Just to be sure all options are enabled when trying to generate a hang report. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r--src/amd/vulkan/radv_debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index 804f620690d..08877676b5d 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -61,4 +61,7 @@ radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_winsys_cs *cs);
void
radv_print_spirv(uint32_t *data, uint32_t size, FILE *fp);
+void
+radv_dump_enabled_options(struct radv_device *device, FILE *f);
+
#endif