agx: Fix bogus assert

Dolphin uses all the uniforms.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
This commit is contained in:
Alyssa Rosenzweig
2023-07-02 13:30:44 -04:00
committed by Marge Bot
parent 80e103d718
commit de1174791d

View File

@@ -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)) {