aco: fix printing of some sdwa sels
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/7349>
This commit is contained in:
parent
70320f4117
commit
7e4aa8c8e9
|
@ -732,7 +732,7 @@ void aco_print_instr(const Instruction *instr, FILE *output)
|
|||
if (opsel[i] || (sel[i] & sdwa_sext))
|
||||
fprintf(output, ")");
|
||||
if (!(sel[i] & sdwa_isra)) {
|
||||
if (sel[i] & sdwa_udword) {
|
||||
if (sel[i] == sdwa_udword || sel[i] == sdwa_sdword) {
|
||||
/* print nothing */
|
||||
} else if (sel[i] & sdwa_isword) {
|
||||
unsigned index = sel[i] & sdwa_wordnum;
|
||||
|
|
Loading…
Reference in New Issue