mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
ac/llvm: replace LLVMBuildFence with ac_build_waitcnt(VSTORE)
No change in LLVM IR. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16304>
This commit is contained in:
parent
bed91084c8
commit
fb51a3c4b0
2 changed files with 2 additions and 2 deletions
|
|
@ -1818,7 +1818,7 @@ emit_gs_epilogue(struct radv_shader_context *ctx)
|
|||
}
|
||||
|
||||
if (ctx->ac.chip_class >= GFX10)
|
||||
LLVMBuildFence(ctx->ac.builder, LLVMAtomicOrderingRelease, false, "");
|
||||
ac_build_waitcnt(&ctx->ac, AC_WAIT_VSTORE);
|
||||
|
||||
ac_build_sendmsg(&ctx->ac, AC_SENDMSG_GS_OP_NOP | AC_SENDMSG_GS_DONE, ctx->gs_wave_id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ static void emit_gs_epilogue(struct si_shader_context *ctx)
|
|||
}
|
||||
|
||||
if (ctx->screen->info.chip_class >= GFX10)
|
||||
LLVMBuildFence(ctx->ac.builder, LLVMAtomicOrderingRelease, false, "");
|
||||
ac_build_waitcnt(&ctx->ac, AC_WAIT_VSTORE);
|
||||
|
||||
if (ctx->screen->use_ngg) {
|
||||
/* Implement PIPE_STAT_QUERY_GS_PRIMITIVES for non-ngg draws because we can't
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue