vulkan: increase MESA_VK_MAX_DISCARD_RECTANGLES

Turing and newer Nvidia cards can work with up to 8 discard rectangles

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Signed-off-by: Lorenzo Rossi <git@rossilorenzo.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33476>
This commit is contained in:
Lorenzo Rossi 2025-10-22 00:18:57 +02:00 committed by Marge Bot
parent b18421ae3d
commit 4c62e09505

View file

@ -75,7 +75,7 @@
#define MESA_VK_MAX_VIEWPORTS 16
#define MESA_VK_MAX_SCISSORS 16
#define MESA_VK_MAX_DISCARD_RECTANGLES 4
#define MESA_VK_MAX_DISCARD_RECTANGLES 8
/* As of June 29, 2022, according to vulkan.gpuinfo.org, no reports list more
* than 16 samples for framebufferColorSampleCounts except one layer running