diff options
author | Georg Lehmann <dadschoorse@gmail.com> | 2023-02-21 20:08:42 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-03-07 11:53:23 +0000 |
commit | 097a97cc426a8e5fe428452425089bb02c3252b9 (patch) | |
tree | 373d2c90be5cc6b03f9e42e5dd4b01c1bc792dcc /src/amd/compiler/aco_print_ir.cpp | |
parent | 08542318e767bc14e53c6fdc7512a7a042285798 (diff) | |
download | mesa-097a97cc426a8e5fe428452425089bb02c3252b9.tar.gz |
aco: remove VOP[123C]P? structs
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21023>
Diffstat (limited to 'src/amd/compiler/aco_print_ir.cpp')
-rw-r--r-- | src/amd/compiler/aco_print_ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index 74fb7e58c25..623538bbfb8 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -749,7 +749,7 @@ aco_print_instr(enum amd_gfx_level gfx_level, const Instruction* instr, FILE* ou opsel[i] = valu.opsel & (1 << i); } } else if (instr->isVOP3P() && is_mad_mix) { - const VOP3P_instruction& vop3p = instr->vop3p(); + const VALU_instruction& vop3p = instr->valu(); for (unsigned i = 0; i < MIN2(num_operands, 3); ++i) { abs[i] = vop3p.neg_hi[i]; neg[i] = vop3p.neg_lo[i]; @@ -778,7 +778,7 @@ aco_print_instr(enum amd_gfx_level gfx_level, const Instruction* instr, FILE* ou fprintf(output, "|"); if (instr->isVOP3P() && !is_mad_mix) { - const VOP3P_instruction& vop3 = instr->vop3p(); + const VALU_instruction& vop3 = instr->valu(); if ((vop3.opsel_lo & (1 << i)) || !(vop3.opsel_hi & (1 << i))) { fprintf(output, ".%c%c", vop3.opsel_lo & (1 << i) ? 'y' : 'x', vop3.opsel_hi & (1 << i) ? 'y' : 'x'); |