mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-16 20:47:12 +00:00
Track CPU-based image layout transitions while idle. Closes #3778
* Similar to proper image transitions we must always track the state of images, even if we only serialise the calls during active capturing.
This commit is contained in:
@@ -1572,7 +1572,10 @@ VkResult WrappedVulkan::vkTransitionImageLayout(VkDevice device, uint32_t transi
|
||||
Serialise_vkTransitionImageLayout(ser, device, transitionCount, pTransitions);
|
||||
|
||||
m_FrameCaptureRecord->AddChunk(scope.Get());
|
||||
}
|
||||
|
||||
if(IsCaptureMode(m_State))
|
||||
{
|
||||
for(uint32_t i = 0; i < transitionCount; ++i)
|
||||
{
|
||||
const VkHostImageLayoutTransitionInfo &transition = pTransitions[i];
|
||||
|
||||
Reference in New Issue
Block a user