Lines Matching refs:image_fmt
1009 VkFormatProperties image_fmt; in InitNoLayout() local
1012 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), format, &image_fmt); in InitNoLayout()
1015 if (IsCompatible(usage, image_fmt.linearTilingFeatures)) { in InitNoLayout()
1017 } else if (IsCompatible(usage, image_fmt.optimalTilingFeatures)) { in InitNoLayout()
1021 << ", supported linear features: " << image_fmt.linearTilingFeatures; in InitNoLayout()
1023 } else if (IsCompatible(usage, image_fmt.optimalTilingFeatures)) { in InitNoLayout()
1025 } else if (IsCompatible(usage, image_fmt.linearTilingFeatures)) { in InitNoLayout()
1029 << ", supported optimal features: " << image_fmt.optimalTilingFeatures; in InitNoLayout()
1083 VkFormatProperties image_fmt; in init() local
1084 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), create_info->format, &image_fmt); in init()
1088 if (!IsCompatible(create_info->usage, image_fmt.optimalTilingFeatures)) { in init()
1090 … << create_info->usage << ", supported optimal features: " << image_fmt.optimalTilingFeatures; in init()
1094 if (!IsCompatible(create_info->usage, image_fmt.linearTilingFeatures)) { in init()
1096 … << create_info->usage << ", supported linear features: " << image_fmt.linearTilingFeatures; in init()