nak/legalize: Bindless cbufs must be pinned in non-uniform blocks

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
This commit is contained in:
Faith Ekstrand
2024-06-12 08:44:21 -05:00
committed by Marge Bot
parent c8e25b45fb
commit 06fc2d018e
+4
View File
@@ -997,6 +997,10 @@ fn legalize_instr(
copy_ssa_ref(b, vec, vec.file().unwrap().to_warp());
}
}
SrcRef::CBuf(CBufRef {
buf: CBuf::BindlessSSA(handle),
..
}) => assert!(pinned.contains(handle)),
_ => (),
}
}