agx: fix reg cache printing

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36399>
This commit is contained in:
Alyssa Rosenzweig
2025-07-31 08:35:57 -04:00
parent d15bfdf0a7
commit 17f2a3af7a
+6 -6
View File
@@ -56,12 +56,6 @@ agx_print_index(agx_index index, bool is_float, FILE *fp)
return;
case AGX_INDEX_NORMAL:
if (index.cache)
fprintf(fp, "$");
if (index.discard)
fprintf(fp, "`");
if (index.kill)
fprintf(fp, "*");
@@ -87,6 +81,12 @@ agx_print_index(agx_index index, bool is_float, FILE *fp)
break;
case AGX_INDEX_REGISTER:
if (index.cache)
fprintf(fp, "$");
if (index.discard)
fprintf(fp, "^");
agx_print_reg(index, index.value, fp);
break;