etnaviv: Remove format desc null check

Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.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 14:59:12 +02:00 committed by Marge Bot
parent b52215ae56
commit c23c8f18ca
1 changed files with 0 additions and 2 deletions

View File

@ -276,8 +276,6 @@ static inline uint32_t
translate_vertex_format_normalize(enum pipe_format fmt)
{
const struct util_format_description *desc = util_format_description(fmt);
if (!desc)
return VIVS_FE_VERTEX_ELEMENT_CONFIG_NORMALIZE_OFF;
/* assumes that normalization of channel 0 holds for all channels;
* this holds for all vertex formats that we support */