If depth-stencil-multisampled texture is bound to frame-buffer, VlukanDebugManager::CopyBufferToTex2DMS() method crashes at
ObjDisp(cmd)->CmdEndRenderPass(Unwrap(cmd)
Steps to reproduce
Create depth-stencil-multisampled texture with 4 samples.
Bound above texture as depth-stencil attachment to frame-buffer.
Draw.
Capature -> it's OK.
Open Capture -> crash occurs when applying initial-state.
Callstck
nvoglv64.dll!00007fff0bb0c904()
nvoglv64.dll!00007fff0baf5bfe()
nvoglv64.dll!00007fff0baf484f()
renderdoc.dll!VulkanDebugManager::CopyDepthBufferToTex2DMS() Line 677
renderdoc.dll!VulkanDebugManager::CopyBufferToTex2DMS() Line 343
renderdoc.dll!WrappedVulkan::Apply_InitialState() Line 1827
renderdoc.dll!VulkanResourceManager::Apply_InitialState() Line 1023
renderdoc.dll!ResourceManager<VulkanResourceManagerConfiguration>::ApplyInitialContents() Line 1355
renderdoc.dll!WrappedVulkan::ApplyInitialContents() Line 3106
renderdoc.dll!WrappedVulkan::ContextReplayLog() Line 2854
renderdoc.dll!WrappedVulkan::ReadLogInitialisation() Line 2719
renderdoc.dll!VulkanReplay::ReadLogInitialisation() Line 225
renderdoc.dll!ReplayController::PostCreateInit() Line 2148
renderdoc.dll!ReplayController::CreateDevice() Line 2115
renderdoc.dll!CaptureFile::OpenCapture() Line 371
qrenderdoc.exe!ReplayMananger::run() Line 452
qrenderdoc.exe!ReplayManager::OpenCapture::__I2::<lambda> Line 59
...
Environment
RenderDoc version: latest source code(2022-10-24). It also happens in 1.88 ~ 1.22 release.
Description
If depth-stencil-multisampled texture is bound to frame-buffer,
VlukanDebugManager::CopyBufferToTex2DMS()
method crashes atObjDisp(cmd)->CmdEndRenderPass(Unwrap(cmd)
Steps to reproduce
Callstck
Environment