From 20e2267be57f75da2ea53be01ccd13ac1459bdc1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 18 Jul 2025 21:31:31 -0400 Subject: [PATCH] hk: readvertise required bgra4 format spec dealt with. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/vulkan/hk_image.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/asahi/vulkan/hk_image.c b/src/asahi/vulkan/hk_image.c index 04b78884b25..b6bcb9e61f6 100644 --- a/src/asahi/vulkan/hk_image.c +++ b/src/asahi/vulkan/hk_image.c @@ -40,11 +40,10 @@ hk_get_image_plane_format_features(struct hk_physical_device *pdev, { VkFormatFeatureFlags2 features = 0; - /* These optional formats need custom borders for opaque black, so hide for + /* This optional format needs hacks for opaque black, so hide for * performance. We might specially enable this for Proton / behind a driconf. */ - if (vk_format == VK_FORMAT_A8_UNORM_KHR || - vk_format == VK_FORMAT_B4G4R4A4_UNORM_PACK16) + if (vk_format == VK_FORMAT_A8_UNORM_KHR) return 0; enum pipe_format p_format = hk_format_to_pipe_format(vk_format);