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:

committed by
Marge Bot

parent
3353374287
commit
e287ba95b0
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user