Ignore needing to create initial state for buffers on vulkan

This commit is contained in:
baldurk
2020-04-13 17:58:46 +01:00
parent 7bfee85edc
commit e138fea5ce
+1 -1
View File
@@ -1224,7 +1224,7 @@ void WrappedVulkan::Create_InitialState(ResourceId id, WrappedVkRes *live, bool
GetResourceManager()->SetInitialContents(id, VkInitialContents(type, tag));
}
else if(type == eResDeviceMemory)
else if(type == eResDeviceMemory || type == eResBuffer)
{
// ignore, it was probably dirty but not referenced in the frame
}