diff options
author | Georg Lehmann <dadschoorse@gmail.com> | 2022-06-10 14:44:58 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-06-10 15:51:26 +0000 |
commit | 0ca6653ada36cecbd9a7a3e4960b4a1ae2dfc725 (patch) | |
tree | 9256687245898fc3f7bdca513209292ae2f20bc9 | |
parent | 1dd291529821210f4b0426b6e8bdb9c515b11af7 (diff) |
aco: Print r128/a16 MIMG bits separately.
These both exist since Navi and we can have instructions which are one but
not the other.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16969>
-rw-r--r-- | src/amd/compiler/aco_print_ir.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index aec35c219ed..11ede169dca 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -420,8 +420,10 @@ print_instr_format_specific(const Instruction* instr, FILE* output) fprintf(output, " da"); if (mimg.lwe) fprintf(output, " lwe"); - if (mimg.r128 || mimg.a16) - fprintf(output, " r128/a16"); + if (mimg.r128) + fprintf(output, " r128"); + if (mimg.a16) + fprintf(output, " a16"); if (mimg.d16) fprintf(output, " d16"); if (mimg.disable_wqm) |