diff --git a/src/nouveau/compiler/nak/opt_copy_prop.rs b/src/nouveau/compiler/nak/opt_copy_prop.rs index b445752b912..24877d09f1c 100644 --- a/src/nouveau/compiler/nak/opt_copy_prop.rs +++ b/src/nouveau/compiler/nak/opt_copy_prop.rs @@ -600,7 +600,7 @@ impl CopyPropPass { if prmt.mode != PrmtMode::Index { return; } - let SrcRef::Imm32(sel) = prmt.sel.src_ref else { + let Some(sel) = prmt.sel.as_u32() else { return; };