From de1174791d7612c1d08d0ef7c6ebbd41fa7f8dfe Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 2 Jul 2023 13:30:44 -0400 Subject: [PATCH] agx: Fix bogus assert Dolphin uses all the uniforms. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/agx_usc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/lib/agx_usc.h b/src/asahi/lib/agx_usc.h index 18c701d68e9..04a77f779f3 100644 --- a/src/asahi/lib/agx_usc.h +++ b/src/asahi/lib/agx_usc.h @@ -67,7 +67,7 @@ static void agx_usc_uniform(struct agx_usc_builder *b, unsigned start_halfs, unsigned size_halfs, uint64_t buffer) { - assert((start_halfs + size_halfs) < (1 << 9) && "uniform file overflow"); + assert((start_halfs + size_halfs) <= (1 << 9) && "uniform file overflow"); assert(size_halfs <= 64 && "caller's responsibility to split"); if (start_halfs & BITFIELD_BIT(8)) {