mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
ail: use is_level_compressed
to get unit testing coverage. identified several bugs! Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
This commit is contained in:
parent
67d92e0bb6
commit
8dcdf5040b
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ ail_initialize_compression(struct ail_layout *layout)
|
|||
unsigned compbuf_B = 0;
|
||||
|
||||
for (unsigned l = 0; l < layout->levels; ++l) {
|
||||
if (width_sa < 16 && height_sa < 16)
|
||||
if (!ail_is_level_compressed(layout, l))
|
||||
break;
|
||||
|
||||
layout->level_offsets_compressed_B[l] = compbuf_B;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue