From 37d0cdc36f649a560e0b8e76176582be19a913dd Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Sun, 11 Aug 2024 23:09:59 +0200 Subject: [PATCH] nak: special case PhiDsts as not uniform Fixes: ab72be6c5e91 ("nak,compiler: Move AsSlice to common code") Reviewed-by: Faith Ekstrand Part-of: --- src/nouveau/compiler/nak/ir.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nouveau/compiler/nak/ir.rs b/src/nouveau/compiler/nak/ir.rs index 92ba1761d4e..e79ff3aeaa0 100644 --- a/src/nouveau/compiler/nak/ir.rs +++ b/src/nouveau/compiler/nak/ir.rs @@ -6597,7 +6597,10 @@ impl Instr { } pub fn is_uniform(&self) -> bool { - self.op.is_uniform() + match &self.op { + Op::PhiDsts(_) => false, + op => op.is_uniform(), + } } pub fn has_fixed_latency(&self, sm: u8) -> bool {