hk: Add HK_MAX_RTS to maxFragmentCombinedOutputResources

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>
(cherry picked from commit 59d9bc7bee)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40979>
This commit is contained in:
Mary Guillemard 2026-04-13 12:09:11 +02:00 committed by Eric Engestrom
parent dc1f5880e7
commit d37fccbc4a
2 changed files with 2 additions and 2 deletions

View file

@ -674,7 +674,7 @@
"description": "hk: Add HK_MAX_RTS to maxFragmentCombinedOutputResources",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "564b06198147abec0074b142b751d5219592409b",
"notes": null

View file

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