hk: fix emrt compressed msaa arrays

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
Alyssa Rosenzweig 2024-10-01 14:39:18 -04:00 committed by Marge Bot
parent 698a1f1b63
commit 8c599576b3

View file

@ -469,7 +469,7 @@ pack_pbe(struct hk_device *dev, struct hk_image_view *view, unsigned view_plane,
cfg.sample_count_log2_sw = util_logbase2(image->vk.samples);
if (layout->tiling == AIL_TILING_TWIDDLED) {
if (layout->tiling != AIL_TILING_LINEAR) {
struct ail_tile tile_size = layout->tilesize_el[level];
cfg.tile_width_sw = tile_size.width_el;
cfg.tile_height_sw = tile_size.height_el;