diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-11 22:28:42 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-14 10:37:57 +0200 |
commit | 49c72d84c27b698bca73978869e15cad4414ab7e (patch) | |
tree | 7eb3c4eeca166be5b85eb07553187268e313efb5 /src/amd/vulkan/radv_private.h | |
parent | 302e34d24bdac1abf5b14aadf7a3857f033e01b2 (diff) |
radv: dump the list of enabled options when a hang occured
Useful to know which debug/perftest options were enabled when
a hang report is generated.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 76149afb075..e5092a8923b 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -744,6 +744,13 @@ extern const struct radv_dynamic_state default_dynamic_state; void radv_dynamic_state_copy(struct radv_dynamic_state *dest, const struct radv_dynamic_state *src, uint32_t copy_mask); + +const char * +radv_get_debug_option_name(int id); + +const char * +radv_get_perftest_option_name(int id); + /** * Attachment state when recording a renderpass instance. * |