From 59d9bc7bee0e8bdc50191ebaa45855d1711c3364 Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Mon, 13 Apr 2026 12:09:11 +0200 Subject: [PATCH] hk: Add HK_MAX_RTS to maxFragmentCombinedOutputResources The spec also mentions "output Location decorated color attachments". Signed-off-by: Mary Guillemard Fixes: 564b06198147 ("hk: Increase maxFragmentCombinedOutputResources to HK_MAX_DESCRIPTORS") Reviewed-by: Janne Grunau Part-of: --- src/asahi/vulkan/hk_physical_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/vulkan/hk_physical_device.c b/src/asahi/vulkan/hk_physical_device.c index cf4836f5c23..fc1f737e868 100644 --- a/src/asahi/vulkan/hk_physical_device.c +++ b/src/asahi/vulkan/hk_physical_device.c @@ -739,7 +739,7 @@ hk_get_device_properties(const struct agx_device *dev, .maxFragmentInputComponents = max_vgt_output_components, .maxFragmentOutputAttachments = HK_MAX_RTS, .maxFragmentDualSrcAttachments = 1, - .maxFragmentCombinedOutputResources = HK_MAX_DESCRIPTORS, + .maxFragmentCombinedOutputResources = HK_MAX_RTS + HK_MAX_DESCRIPTORS, .maxComputeSharedMemorySize = HK_MAX_SHARED_SIZE, .maxComputeWorkGroupCount = {0x7fffffff, 65535, 65535}, .maxComputeWorkGroupInvocations = 1024,