From 0c0d57cc702c0000f75e3707904eb76bc0c8bbbb Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 28 Apr 2021 16:30:07 +0100 Subject: [PATCH] Add names to VK_Pixel_History test images --- util/test/demos/vk/vk_pixel_history.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/test/demos/vk/vk_pixel_history.cpp b/util/test/demos/vk/vk_pixel_history.cpp index 5251e6106..89516dcc2 100644 --- a/util/test/demos/vk/vk_pixel_history.cpp +++ b/util/test/demos/vk/vk_pixel_history.cpp @@ -273,6 +273,7 @@ void main() vkh::ImageCreateInfo(mainWindow->scissor.extent.width, mainWindow->scissor.extent.height, 0, depthStencilFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT), VmaAllocationCreateInfo({0, VMA_MEMORY_USAGE_GPU_ONLY})); + setName(depthimg.image, "depthimg"); VkImageView dsvview = createImageView(vkh::ImageViewCreateInfo( depthimg.image, VK_IMAGE_VIEW_TYPE_2D, depthStencilFormat, {}, @@ -425,6 +426,7 @@ void main() vkh::ImageCreateInfo(mainWindow->scissor.extent.width, mainWindow->scissor.extent.height, 0, mainWindow->format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, 4, 5), VmaAllocationCreateInfo({0, VMA_MEMORY_USAGE_GPU_ONLY})); + setName(subimg.image, "subimg"); VkImageView subview = createImageView(vkh::ImageViewCreateInfo( subimg.image, VK_IMAGE_VIEW_TYPE_2D, mainWindow->format, {}, @@ -478,6 +480,7 @@ void main() mainWindow->scissor.extent.height, 0, mainWindow->format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, 1, 4, VK_SAMPLE_COUNT_4_BIT), VmaAllocationCreateInfo({0, VMA_MEMORY_USAGE_GPU_ONLY})); + setName(submsimg.image, "submsimg"); VkImageView submsview = createImageView(vkh::ImageViewCreateInfo( submsimg.image, VK_IMAGE_VIEW_TYPE_2D, mainWindow->format, {}, @@ -489,6 +492,7 @@ void main() depthStencilFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, 1, 4, VK_SAMPLE_COUNT_4_BIT), VmaAllocationCreateInfo({0, VMA_MEMORY_USAGE_GPU_ONLY})); + setName(msimgdepth.image, "msimgdepth"); VkImageView msdepthview = createImageView(vkh::ImageViewCreateInfo( msimgdepth.image, VK_IMAGE_VIEW_TYPE_2D, depthStencilFormat, {},