mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 20:31:02 +00:00
Don't try and use wrapped image from transition on replay
This commit is contained in:
@@ -60,7 +60,7 @@ void VulkanResourceManager::RecordTransitions(vector< pair<ResourceId, ImageRegi
|
||||
{
|
||||
const VkImageMemoryBarrier &t = transitions[ti];
|
||||
|
||||
ResourceId id = GetNonDispWrapper(t.image)->id;
|
||||
ResourceId id = m_State < WRITING ? GetNonDispWrapper(t.image)->id : GetResID(t.image);
|
||||
|
||||
uint32_t nummips = t.subresourceRange.mipLevels;
|
||||
uint32_t numslices = t.subresourceRange.arraySize;
|
||||
|
||||
Reference in New Issue
Block a user