mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add names to VK_Pixel_History test images
This commit is contained in:
@@ -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, {},
|
||||
|
||||
Reference in New Issue
Block a user