mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 15:04:21 +00:00
Fix a missing else causing doubles to get the wrong expanded format
This commit is contained in:
1 file changed
+1
-1
@@ -1468,7 +1468,7 @@ void VulkanReplay::InitPostVSBuffers(uint32_t eventId)
|
||||
|
||||
if(IsDoubleFormat(origFormat))
|
||||
expandedFormat = VK_FORMAT_R32G32B32A32_UINT;
|
||||
if(IsUIntFormat(origFormat))
|
||||
else if(IsUIntFormat(origFormat))
|
||||
expandedFormat = VK_FORMAT_R32G32B32A32_UINT;
|
||||
else if(IsSIntFormat(origFormat))
|
||||
expandedFormat = VK_FORMAT_R32G32B32A32_SINT;
|
||||
|
||||
Reference in new issue
Block a user