zink: Increase ZINK_FBFETCH_DESCRIPTOR_SIZE to 280

Work around the lavapipe descriptor buffer implementation.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
This commit is contained in:
Konstantin Seurer 2023-05-12 20:06:38 +02:00 committed by Marge Bot
parent 8f003569dd
commit 01357b4da7

View file

@ -79,8 +79,8 @@
/* enum zink_descriptor_type */
#define ZINK_MAX_DESCRIPTOR_SETS 6
#define ZINK_MAX_DESCRIPTORS_PER_TYPE (32 * ZINK_GFX_SHADER_COUNT)
/* max size from gpuinfo */
#define ZINK_FBFETCH_DESCRIPTOR_SIZE 64
/* Descriptor size reported by lavapipe. */
#define ZINK_FBFETCH_DESCRIPTOR_SIZE 280
/* suballocator defines */
#define NUM_SLAB_ALLOCATORS 3