[vulkan] Name the default magenta array view

It hasn't caused any problems, but the more objects I can name, the
better.
This commit is contained in:
Bill Currie 2022-09-26 13:08:02 +09:00
parent 1d50940c2a
commit 950d6d1472

View file

@ -481,6 +481,9 @@ Vulkan_Texture_Init (vulkan_ctx_t *ctx)
VK_IMAGE_VIEW_TYPE_2D_ARRAY, VK_IMAGE_VIEW_TYPE_2D_ARRAY,
VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_UNORM,
VK_IMAGE_ASPECT_COLOR_BIT); 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); qfvPopDebug (ctx);
} }