From 950d6d14723b42b0903c5d22c18032d39be2a4b6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 26 Sep 2022 13:08:02 +0900 Subject: [PATCH] [vulkan] Name the default magenta array view It hasn't caused any problems, but the more objects I can name, the better. --- libs/video/renderer/vulkan/vulkan_texture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/video/renderer/vulkan/vulkan_texture.c b/libs/video/renderer/vulkan/vulkan_texture.c index 5c4b9cba3..8c38805ec 100644 --- a/libs/video/renderer/vulkan/vulkan_texture.c +++ b/libs/video/renderer/vulkan/vulkan_texture.c @@ -481,6 +481,9 @@ Vulkan_Texture_Init (vulkan_ctx_t *ctx) VK_IMAGE_VIEW_TYPE_2D_ARRAY, VK_FORMAT_R8G8B8A8_UNORM, VK_IMAGE_ASPECT_COLOR_BIT); + qfv_device_t *device = ctx->device; + QFV_duSetObjectName (device, VK_OBJECT_TYPE_IMAGE_VIEW, tex->view, + "iview:default_magenta_array"); qfvPopDebug (ctx); }