mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
pan/va: Validate FAU before packing
These are pre-conditions required for packing. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
This commit is contained in:
parent
fd1906afea
commit
b8f912e547
1 changed files with 2 additions and 0 deletions
|
|
@ -836,6 +836,8 @@ bi_pack_valhall(bi_context *ctx, struct util_dynarray *emission)
|
|||
{
|
||||
unsigned orig_size = emission->size;
|
||||
|
||||
va_validate(stderr, ctx);
|
||||
|
||||
bi_foreach_block(ctx, block) {
|
||||
bi_foreach_instr_in_block(block, I) {
|
||||
unsigned flow = va_pack_flow(block, I);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue