radv: print a warning when RADV_TRAP_HANDLER is used
[mesa.git] / src / amd / vulkan / radv_device.c
index 5139cf6fcbebb4cec341f6e9f34b36219170b10f..31f486d3d75615531c9fc29a595f14ad2c757561 100644 (file)
@@ -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.
                 */