Commit a0c111ab authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋
Browse files

zink: add nir_intrinsic_memory_barrier_image handling

this is the last one
parent bdac5ff3
Pipeline #271780 waiting for manual action with stages
......@@ -2794,6 +2794,12 @@ emit_intrinsic(struct ntv_context *ctx, nir_intrinsic_instr *intr)
SpvMemorySemanticsMakeVisibleMask | SpvMemorySemanticsAcquireReleaseMask);
break;
case nir_intrinsic_memory_barrier_image:
spirv_builder_emit_memory_barrier(&ctx->builder, SpvScopeDevice,
SpvMemorySemanticsImageMemoryMask |
SpvMemorySemanticsAcquireReleaseMask);
break;
case nir_intrinsic_group_memory_barrier:
spirv_builder_emit_memory_barrier(&ctx->builder, SpvScopeWorkgroup,
SpvMemorySemanticsWorkgroupMemoryMask |
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment