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:
parent
b52215ae56
commit
c23c8f18ca
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue