mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
microsoft/compiler: Fix barrier flag for shared memory
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10010>
This commit is contained in:
parent
c1bd3d3afc
commit
91dbad7956
1 changed files with 1 additions and 1 deletions
|
|
@ -2046,7 +2046,7 @@ emit_barrier(struct ntd_context *ctx, nir_intrinsic_instr *intr)
|
|||
}
|
||||
|
||||
if (modes & nir_var_mem_shared)
|
||||
flags |= DXIL_BARRIER_MODE_UAV_FENCE_THREAD_GROUP;
|
||||
flags |= DXIL_BARRIER_MODE_GROUPSHARED_MEM_FENCE;
|
||||
|
||||
func = dxil_get_function(&ctx->mod, "dx.op.barrier", DXIL_NONE);
|
||||
if (!func)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue