pan/va: Serialize memory stores

We could do better :(

Fixes spilling.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16314>
This commit is contained in:
Alyssa Rosenzweig 2022-05-03 16:47:27 -04:00 committed by Marge Bot
parent 5831c44121
commit 040a3ef24e

View file

@ -976,7 +976,7 @@ va_lower_flow_control(bi_context *ctx)
/* We may need to wait */
if (I->op == BI_OPCODE_BARRIER)
va_add_flow(ctx, I, VA_FLOW_WAIT);
else if (valhall_opcodes[I->op].nr_staging_dests > 0 || I->op == BI_OPCODE_BLEND)
else if (bi_opcode_props[I->op].message)
va_add_flow(ctx, I, VA_FLOW_WAIT0);
/* Lastly, we may need to reconverge. If we need reconvergence, it