nak/sm50: Fix the encoding of ffma with cbuf in src2

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30381>
This commit is contained in:
Faith Ekstrand
2024-07-25 16:45:38 -05:00
committed by Marge Bot
parent 3353374287
commit e287ba95b0

View File

@@ -483,7 +483,7 @@ impl SM50Op for OpFFma {
e.set_reg_src_ref(39..47, self.srcs[2].src_ref);
}
SrcRef::CBuf(cb) => {
e.set_opcode(0x4980);
e.set_opcode(0x5180);
e.set_src_cb(20..39, cb);
e.set_reg_src_ref(39..47, self.srcs[1].src_ref);
}