mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
lavapipe: don't remove queue family barriers.
This fixes the remaining barrier issues. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23453>
This commit is contained in:
parent
91e919f1bf
commit
bfed41d322
1 changed files with 2 additions and 1 deletions
|
|
@ -224,7 +224,8 @@ remove_scoped_barriers_impl(nir_builder *b, nir_instr *instr, void *data)
|
|||
return false;
|
||||
if (data) {
|
||||
if (nir_intrinsic_memory_scope(intr) == NIR_SCOPE_WORKGROUP ||
|
||||
nir_intrinsic_memory_scope(intr) == NIR_SCOPE_DEVICE)
|
||||
nir_intrinsic_memory_scope(intr) == NIR_SCOPE_DEVICE ||
|
||||
nir_intrinsic_memory_scope(intr) == NIR_SCOPE_QUEUE_FAMILY)
|
||||
return false;
|
||||
}
|
||||
nir_instr_remove(instr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue