agx: allocate scratch in spilling unit test

for assertion

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
Alyssa Rosenzweig
2024-09-25 19:22:54 -04:00
committed by Marge Bot
parent 2600224f77
commit e16ad50bfa
@@ -23,6 +23,7 @@
agx_builder *b = B; \
expected; \
} \
A->shader->scratch_size_B = 1024; \
agx_lower_spill(A->shader); \
ASSERT_SHADER_EQUAL(A->shader, B->shader); \
} while (0)