From afdc6891c17f5ece89b6976dd67865428be2f795 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 19 Apr 2024 22:04:29 -0400 Subject: [PATCH] asahi: mv AGX_MAX_OCCLUSION_QUERIES define Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/agx_helpers.h | 3 ++- src/gallium/drivers/asahi/agx_query.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/asahi/lib/agx_helpers.h b/src/asahi/lib/agx_helpers.h index f5f2f1af25c..21a8d88ca1b 100644 --- a/src/asahi/lib/agx_helpers.h +++ b/src/asahi/lib/agx_helpers.h @@ -11,7 +11,8 @@ #include "agx_pack.h" #include "agx_ppp.h" -#define AGX_MAX_VIEWPORTS (16) +#define AGX_MAX_OCCLUSION_QUERIES (65536) +#define AGX_MAX_VIEWPORTS (16) #define agx_push(ptr, T, cfg) \ for (unsigned _loop = 0; _loop < 1; ++_loop, ptr += AGX_##T##_LENGTH) \ diff --git a/src/gallium/drivers/asahi/agx_query.c b/src/gallium/drivers/asahi/agx_query.c index ba31b1cee84..f2de946479a 100644 --- a/src/gallium/drivers/asahi/agx_query.c +++ b/src/gallium/drivers/asahi/agx_query.c @@ -46,8 +46,6 @@ is_timer(struct agx_query *query) } } -#define AGX_MAX_OCCLUSION_QUERIES (65536) - struct agx_oq_heap { /* The GPU allocation itself */ struct agx_bo *bo;