flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT;
if (base_isl_format == ISL_FORMAT_R32_SINT ||
- base_isl_format == ISL_FORMAT_R32_UINT)
+ base_isl_format == ISL_FORMAT_R32_UINT ||
+ base_isl_format == ISL_FORMAT_R32_FLOAT)
flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT;
if (flags) {
external_props->externalMemoryProperties = android_image_props;
break;
}
- /* fallthrough if ahw not supported */
+ /* fallthrough - if ahw not supported */
default:
/* From the Vulkan 1.0.42 spec:
*