hk: Add HK_MAX_RTS to maxFragmentCombinedOutputResources
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

The spec also mentions "output Location decorated color attachments".

Signed-off-by: Mary Guillemard <mary@mary.zone>
Fixes: 564b061981 ("hk: Increase maxFragmentCombinedOutputResources to HK_MAX_DESCRIPTORS")
Reviewed-by: Janne Grunau <j@jannau.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40925>
This commit is contained in:
Mary Guillemard 2026-04-13 12:09:11 +02:00 committed by Marge Bot
parent 13f98d8658
commit 59d9bc7bee

View file

@ -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,