mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
[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:
parent
1d50940c2a
commit
950d6d1472
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue