diff options
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r-- | src/amd/vulkan/radv_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index cbb095f747b..c5e83347279 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -37,6 +37,7 @@ enum { RADV_DEBUG_UNSAFE_MATH = 0x80, RADV_DEBUG_ALL_BOS = 0x100, RADV_DEBUG_NO_IBS = 0x200, + RADV_DEBUG_DUMP_SPIRV = 0x400, }; enum { @@ -50,4 +51,7 @@ radv_init_trace(struct radv_device *device); void radv_dump_trace(struct radv_device *device, struct radeon_winsys_cs *cs); +void +radv_print_spirv(struct radv_shader_module *module, FILE *fp); + #endif |