mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 21:40:41 +00:00
Set cube flag properly
This commit is contained in:
@@ -275,8 +275,7 @@ void VulkanCreationInfo::Image::Init(const VkImageCreateInfo* pCreateInfo)
|
||||
if(pCreateInfo->usage & VK_IMAGE_USAGE_STORAGE_BIT)
|
||||
creationFlags |= eTextureCreate_UAV;
|
||||
|
||||
if(pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT)
|
||||
cube = true;
|
||||
cube = (pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) ? true : false;
|
||||
}
|
||||
|
||||
void VulkanCreationInfo::ImageView::Init(const VkImageViewCreateInfo* pCreateInfo)
|
||||
|
||||
Reference in New Issue
Block a user