projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1022db
)
aco: improve printing of sgpr_null
author
Rhys Perry
<pendingchaos02@gmail.com>
Thu, 21 Jul 2022 14:13:46 +0000
(15:13 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 30 Sep 2022 11:44:38 +0000
(11:44 +0000)
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>
src/amd/compiler/aco_print_ir.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_print_ir.cpp
b/src/amd/compiler/aco_print_ir.cpp
index
b90ac06
..
1ebe9a3
100644
(file)
--- a/
src/amd/compiler/aco_print_ir.cpp
+++ b/
src/amd/compiler/aco_print_ir.cpp
@@
-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;