Every time I see this function I think it's part of isl. But it's not,
it's just a static function in an iris file. The point of the name was
that the function checks two isl_format enums...but the prefix is just
confusing. Just drop the prefix as it's a static function.
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19060>
}
static bool
-isl_formats_are_fast_clear_compatible(enum isl_format a, enum isl_format b)
+formats_are_fast_clear_compatible(enum isl_format a, enum isl_format b)
{
/* On gfx8 and earlier, the hardware was only capable of handling 0/1 clear
* values so sRGB curve application was a no-op for all fast-clearable
* the sampler. If we have a texture view, we would have to perform the
* clear color conversion manually. Just disable clear color.
*/
- if (!isl_formats_are_fast_clear_compatible(res->surf.format, view_format))
+ if (!formats_are_fast_clear_compatible(res->surf.format, view_format))
clear_supported = false;
if (isl_aux_usage_has_mcs(aux_usage) &&