agx: Add invert_cond (ccn) to IR

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11023>
This commit is contained in:
Alyssa Rosenzweig
2021-05-23 17:17:16 -04:00
committed by Alyssa Rosenzweig
parent 21cf528e76
commit ad4dfb3321
3 changed files with 13 additions and 0 deletions

View File

@@ -176,6 +176,15 @@ agx_print_instr(agx_instr *I, FILE *fp)
fprintf(fp, "n=%u", I->nest);
}
if ((info.immediates & AGX_IMMEDIATE_INVERT_COND) && I->invert_cond) {
if (print_comma)
fprintf(fp, ", ");
else
print_comma = true;
fprintf(fp, "inv");
}
fprintf(fp, "\n");
}