Files
mesa/src/util
Juan A. Suarez Romero 5b42da1be8 util/format: nr_channels is always <= 4
While the nr_channels is defined with 3 bits, which allows up to 7
channels, actually the number of channels is less or equal to 4.

This adds an assertion that helps static analyzers to avoid several
false positives related with this.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32589>
2024-12-11 18:34:47 +00:00
..
2024-12-02 15:15:52 +00:00
2023-11-02 21:03:46 +00:00
2023-12-06 07:22:02 +00:00
2024-04-22 01:42:52 +00:00
2023-10-09 23:37:52 +00:00
2024-01-16 02:15:22 +00:00
2024-10-09 22:53:05 +00:00
2024-08-13 20:35:23 +00:00
2023-10-25 17:27:47 +00:00
2024-10-30 12:59:10 +00:00
2024-10-30 12:59:10 +00:00
2023-10-30 12:35:07 +00:00
2024-11-13 23:33:15 +00:00
2024-06-07 18:29:20 +00:00
2024-07-15 19:28:59 +00:00
2024-11-08 08:09:49 -08:00
2022-11-24 04:33:07 +00:00
2024-06-07 18:29:20 +00:00