next-wait is from a quirk of packing that the dependency indices are
"off by one"; we don't emulate this quirk in the IR since it's easy
enough to patch over in the disassembler. Let's not confuse anybody with
it.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4097>
fprintf(fp, "\tid(%u)", clause->scoreboard_id);
if (clause->dependencies) {
- fprintf(fp, ", next-wait(");
+ fprintf(fp, ", wait(");
for (unsigned i = 0; i < 8; ++i) {
if (clause->dependencies & (1 << i))