mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 02:10:17 +01:00
panvk: drop needless assert
The value can't be larger than 31 here anyway, due to the bitfield
width. So the assert is completely needless.
CID: 1633082
Fixes: b8bfbbdf66 ("panvk: check against texfeat_bit")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31767>
This commit is contained in:
parent
103ad15ece
commit
19fdfd6429
1 changed files with 0 additions and 2 deletions
|
|
@ -963,8 +963,6 @@ format_is_supported(struct panvk_physical_device *physical_device,
|
|||
uint32_t supported_compr_fmts =
|
||||
panfrost_query_compressed_formats(&physical_device->kmod.props);
|
||||
|
||||
assert(fmt.texfeat_bit < 32);
|
||||
|
||||
if (!(BITFIELD_BIT(fmt.texfeat_bit) & supported_compr_fmts))
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue