···651651 *
652652 * 1. Both Mesa and the Vulkan loader didn't support setting names on the
653653 * VkInstance, loader got support in 1.3.261 and Mesa hasn't as of writing.
654654+ * 2. For Mesa drivers we can not name VkSurfaceKHR objects on some systems as
655655+ * it causes memory corruption, asserts, crashes or functions failing. This
656656+ * is as of writing broken on the 23.2.1 release, fixed in main and scheduled
657657+ * for the 23.2.2 release.
654658 *
655659 * @ingroup aux_vk
656660 */
···687691#define VK_NAME_FRAMEBUFFER(VK, OBJ, NAME) VK_NAME_OBJ(VK, VkFramebuffer, FRAMEBUFFER, OBJ, NAME)
688692#define VK_NAME_COMMAND_POOL(VK, OBJ, NAME) VK_NAME_OBJ(VK, VkCommandPool, COMMAND_POOL, OBJ, NAME)
689693690690-#define VK_NAME_SURFACE(VK, OBJ, NAME) VK_NAME_OBJ(VK, VkSurfaceKHR, SURFACE_KHR, OBJ, NAME)
694694+#define VK_NAME_SURFACE(VK, OBJ, NAME) VK_NAME_OBJ_DISABLED(VK, VkSurfaceKHR, OBJ)
691695#define VK_NAME_SWAPCHAIN(VK, OBJ, NAME) VK_NAME_OBJ(VK, VkSwapchainKHR, SWAPCHAIN_KHR, OBJ, NAME)
692696// clang-format on
693697