mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
41b911d1d0
Use a separate compute shader module for MSAA copy, and output directly into the destination buffer instead of creating staging resources. Support case where there is no depth stencil attachment to get post mod values in per fragment reporting. Previously used the original framebuffer that might not have had depth/stencil view, so couldn't count the fragments. Now use the sub image. To get the post mod color, we need to blend with the premod color, so we use vkCmdCopyImage to copy from the original image.