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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user