nvk: Adjust maxFragmentCombinedOutputResources to match max descriptors limit

This was set to the lowest allowed value by spec but it should really be
matching the max descriptors limit.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15249 for NVK
Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
(cherry picked from commit 13f98d8658)

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

View file

@ -684,7 +684,7 @@
"description": "nvk: Adjust maxFragmentCombinedOutputResources to match max descriptors limit",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -835,7 +835,7 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.maxFragmentInputComponents = 128,
.maxFragmentOutputAttachments = NVK_MAX_RTS,
.maxFragmentDualSrcAttachments = 1,
.maxFragmentCombinedOutputResources = 16,
.maxFragmentCombinedOutputResources = NVK_MAX_RTS + NVK_MAX_DESCRIPTORS,
/* Nvidia limits this to 48kB for consistency reasons, we could lift the
* limit if we wanted to.
*/