diff --git a/util/test/demos/vk/vk_pixel_history.cpp b/util/test/demos/vk/vk_pixel_history.cpp index 89516dcc2..6d0b976ca 100644 --- a/util/test/demos/vk/vk_pixel_history.cpp +++ b/util/test/demos/vk/vk_pixel_history.cpp @@ -496,7 +496,8 @@ void main() VkImageView msdepthview = createImageView(vkh::ImageViewCreateInfo( msimgdepth.image, VK_IMAGE_VIEW_TYPE_2D, depthStencilFormat, {}, - vkh::ImageSubresourceRange(VK_IMAGE_ASPECT_DEPTH_BIT, 0, 1, 2, 1))); + vkh::ImageSubresourceRange(VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT, 0, 1, 2, + 1))); VkFramebuffer submsfb = createFramebuffer(vkh::FramebufferCreateInfo( submsrp, {submsview, msdepthview},