From: Marek Olšák Date: Wed, 29 Jan 2020 22:25:45 +0000 (-0500) Subject: radeonsi: don't report that multi-plane formats are supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35961b10da2dee4d3820ab1f250007412b06d876;p=mesa.git radeonsi: don't report that multi-plane formats are supported Fixes: a554b45d - st/mesa: don't lower YUV when driver supports it natively Closes: #2376 Acked-by: Pierre-Eric Pelloux-Prayer Tested-by: Marge Bot Part-of: --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 86c2daff0de..afa1029c1ac 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2242,13 +2242,6 @@ static bool si_is_format_supported(struct pipe_screen *screen, return false; } - if (util_format_get_num_planes(format) >= 2) { - return util_format_planar_is_supported(screen, format, target, - sample_count, - storage_sample_count, - usage); - } - if (MAX2(1, sample_count) < MAX2(1, storage_sample_count)) return false;