lavapipe: Bump MAX_DESCRIPTOR_UNIFORM_BLOCK_SIZE

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 25e678a37d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
This commit is contained in:
Konstantin Seurer 2025-10-31 14:24:06 +01:00 committed by Dylan Baker
parent c70fd7f766
commit 51285c6715
2 changed files with 2 additions and 2 deletions

View file

@ -284,7 +284,7 @@
"description": "lavapipe: Bump MAX_DESCRIPTOR_UNIFORM_BLOCK_SIZE",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -100,7 +100,7 @@ extern "C" {
#define MAX_DESCRIPTORS 1000000 /* Required by vkd3d-proton */
#define MAX_PUSH_CONSTANTS_SIZE 256
#define MAX_PUSH_DESCRIPTORS 32
#define MAX_DESCRIPTOR_UNIFORM_BLOCK_SIZE 4096
#define MAX_DESCRIPTOR_UNIFORM_BLOCK_SIZE MAX_DESCRIPTORS
#define MAX_PER_STAGE_DESCRIPTOR_UNIFORM_BLOCKS 8
#define MAX_DGC_STREAMS 16
#define MAX_DGC_TOKENS 16