softpipe: Remove format desc null check

Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17490>
This commit is contained in:
Konstantin Seurer 2022-07-12 15:22:38 +02:00 committed by Marge Bot
parent 435cb21e11
commit 90030469dd
1 changed files with 0 additions and 2 deletions

View File

@ -414,8 +414,6 @@ softpipe_is_format_supported( struct pipe_screen *screen,
return false;
format_desc = util_format_description(format);
if (!format_desc)
return false;
if (sample_count > 1)
return false;