mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 12:30:11 +01:00
nir/schedule: add write dep also for shared_atomic
Otherwise it might change the order between a load_shared and a shared_atomic on the same location. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29918>
This commit is contained in:
parent
65298586b8
commit
3482ea599b
1 changed files with 2 additions and 0 deletions
|
|
@ -392,6 +392,8 @@ nir_schedule_intrinsic_deps(nir_deps_state *state,
|
|||
add_read_dep(state, state->store_shared, n);
|
||||
break;
|
||||
|
||||
case nir_intrinsic_shared_atomic:
|
||||
case nir_intrinsic_shared_atomic_swap:
|
||||
case nir_intrinsic_store_shared:
|
||||
case nir_intrinsic_store_shared2_amd:
|
||||
add_write_dep(state, &state->store_shared, n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue