From: Samuel Pitoiset Date: Wed, 26 Aug 2020 08:07:45 +0000 (+0200) Subject: radv: print a warning when RADV_TRAP_HANDLER is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cacb388b3b720b63d17e08aabf2bd86d116f4506;p=mesa.git radv: print a warning when RADV_TRAP_HANDLER is used Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 5139cf6fcbe..31f486d3d75 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2821,6 +2821,10 @@ VkResult radv_CreateDevice( /* TODO: Add support for more hardware. */ assert(device->physical_device->rad_info.chip_class == GFX8); + fprintf(stderr, "**********************************************************************\n"); + fprintf(stderr, "* WARNING: RADV_TRAP_HANDLER is experimental and only for debugging! *\n"); + fprintf(stderr, "**********************************************************************\n"); + /* To get the disassembly of the faulty shaders, we have to * keep some shader info around. */