nak: Make OpAtom::cmpr a GPR source

We set it to Zero for atomics other than CmpExch.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26743>
This commit is contained in:
Faith Ekstrand 2023-12-11 14:35:18 -06:00 committed by Marge Bot
parent 3b6e6e985e
commit d24eb539c5

View file

@ -3658,7 +3658,7 @@ pub struct OpAtom {
#[src_type(GPR)]
pub addr: Src,
#[src_type(SSA)]
#[src_type(GPR)]
pub cmpr: Src,
#[src_type(SSA)]