Add names to VK_Pixel_History test images

This commit is contained in:
baldurk
2021-04-28 16:30:07 +01:00
parent 57edff9f9e
commit 0c0d57cc70
+4
View File
@@ -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, {},