From 8c599576b3894c36467702ff33b48cb49852da65 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 1 Oct 2024 14:39:18 -0400 Subject: [PATCH] hk: fix emrt compressed msaa arrays Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/vulkan/hk_image_view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/vulkan/hk_image_view.c b/src/asahi/vulkan/hk_image_view.c index 995b06f5eb9..531a0813ffa 100644 --- a/src/asahi/vulkan/hk_image_view.c +++ b/src/asahi/vulkan/hk_image_view.c @@ -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;