nak: special case PhiDsts as not uniform

Fixes: ab72be6c5e ("nak,compiler: Move AsSlice to common code")

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30607>
This commit is contained in:
Thomas H.P. Andersen 2024-08-11 23:09:59 +02:00 committed by Marge Bot
parent c8c46bf900
commit 37d0cdc36f

View file

@ -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 {