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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40868>
This commit is contained in:
Mary Guillemard 2026-04-09 12:01:15 +02:00 committed by Marge Bot
parent ad35eb6297
commit 13f98d8658

View file

@ -852,7 +852,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.
*/