mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-13 18:30:17 +01:00
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> |
||
|---|---|---|
| .. | ||
| format_utils.h | ||
| meson.build | ||
| texcompress_bptc_tmp.h | ||
| texcompress_etc_tmp.h | ||
| texcompress_s3tc_tmp.h | ||
| u_format.c | ||
| u_format.h | ||
| u_format.yaml | ||
| u_format_bptc.c | ||
| u_format_bptc.h | ||
| u_format_etc.c | ||
| u_format_etc.h | ||
| u_format_fxt1.c | ||
| u_format_fxt1.h | ||
| u_format_latc.c | ||
| u_format_latc.h | ||
| u_format_other.c | ||
| u_format_other.h | ||
| u_format_pack.py | ||
| u_format_parse.py | ||
| u_format_rgtc.c | ||
| u_format_rgtc.h | ||
| u_format_s3tc.c | ||
| u_format_s3tc.h | ||
| u_format_table.py | ||
| u_format_tests.c | ||
| u_format_tests.h | ||
| u_format_unpack_neon.c | ||
| u_format_yuv.c | ||
| u_format_yuv.h | ||
| u_format_zs.c | ||
| u_format_zs.h | ||
| u_formats.h | ||