mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 03:18:06 +02:00
When allocating coherent memory (generally, suballocations) and looking up existing VkDeviceMemory entries, the device is critical to finding valid allocation blocks, otherwise allocations from other devices might be chosen, which invalidate things. This happens only in situations where a single process has multiple VkDevices, so it was rare enough not to be caught until now. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246> |
||
|---|---|---|
| .. | ||
| codegen | ||
| guest | ||