Lines Matching refs:image_fmt
1169 VkFormatProperties image_fmt; in InitNoLayout() local
1172 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), format, &image_fmt); in InitNoLayout()
1175 if (IsCompatible(usage, image_fmt.linearTilingFeatures)) { in InitNoLayout()
1177 } else if (IsCompatible(usage, image_fmt.optimalTilingFeatures)) { in InitNoLayout()
1181 << ", supported linear features: " << image_fmt.linearTilingFeatures; in InitNoLayout()
1183 } else if (IsCompatible(usage, image_fmt.optimalTilingFeatures)) { in InitNoLayout()
1185 } else if (IsCompatible(usage, image_fmt.linearTilingFeatures)) { in InitNoLayout()
1189 << ", supported optimal features: " << image_fmt.optimalTilingFeatures; in InitNoLayout()
1245 VkFormatProperties image_fmt; in init() local
1246 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), create_info->format, &image_fmt); in init()
1250 if (!IsCompatible(create_info->usage, image_fmt.optimalTilingFeatures)) { in init()
1252 … << create_info->usage << ", supported optimal features: " << image_fmt.optimalTilingFeatures; in init()
1256 if (!IsCompatible(create_info->usage, image_fmt.linearTilingFeatures)) { in init()
1258 … << create_info->usage << ", supported linear features: " << image_fmt.linearTilingFeatures; in init()