mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Fix 32-bit compilation error with explicit VK_NULL_HANDLE comparison
This commit is contained in:
@@ -1149,7 +1149,7 @@ bool WrappedVulkan::Serialise_vkCreateImage(Serialiser *localSerialiser, VkDevic
|
||||
// of capability or because we disabled it as a workaround then we don't need this
|
||||
// capability (and it might be the bug we're trying to work around by disabling the
|
||||
// pipeline)
|
||||
if(GetDebugManager()->m_MS2ArrayPipe)
|
||||
if(GetDebugManager()->m_MS2ArrayPipe != VK_NULL_HANDLE)
|
||||
info.usage |= VK_IMAGE_USAGE_STORAGE_BIT;
|
||||
}
|
||||
else
|
||||
@@ -1227,7 +1227,7 @@ VkResult WrappedVulkan::vkCreateImage(VkDevice device, const VkImageCreateInfo *
|
||||
{
|
||||
if(!IsDepthOrStencilFormat(createInfo_adjusted.format))
|
||||
{
|
||||
if(GetDebugManager()->m_MS2ArrayPipe)
|
||||
if(GetDebugManager()->m_MS2ArrayPipe != VK_NULL_HANDLE)
|
||||
createInfo_adjusted.usage |= VK_IMAGE_USAGE_STORAGE_BIT;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user