aco: improve printing of sgpr_null

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18270>
This commit is contained in:
Rhys Perry
2022-07-21 15:13:46 +01:00
committed by Marge Bot
parent a1022dbf07
commit 27305680e2
+2
View File
@@ -111,6 +111,8 @@ print_physReg(PhysReg reg, unsigned bytes, FILE* output, unsigned flags)
fprintf(output, "scc");
} else if (reg == 126) {
fprintf(output, "exec");
} else if (reg == 125) {
fprintf(output, "null");
} else {
bool is_vgpr = reg / 256;
unsigned r = reg % 256;