nak: Legalize ISBERD

This instruction can only take GPRs.

Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39716>
This commit is contained in:
Mary Guillemard 2026-02-05 09:30:46 +01:00 committed by Marge Bot
parent 6a8d09972e
commit a1996f6985

View file

@ -3751,8 +3751,8 @@ impl SM70Op for OpCS2R {
}
impl SM70Op for OpIsberd {
fn legalize(&mut self, _b: &mut LegalizeBuilder) {
// Nothing to do
fn legalize(&mut self, b: &mut LegalizeBuilder) {
b.copy_src_if_uniform(&mut self.idx);
}
fn encode(&self, e: &mut SM70Encoder<'_>) {