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:
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)
|
||||
|
||||
Reference in New Issue
Block a user