mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
ttn: Assume use_scoped_barrier
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23191>
This commit is contained in:
parent
7173cbccbf
commit
416d8ad384
1 changed files with 1 additions and 4 deletions
|
|
@ -1127,10 +1127,7 @@ ttn_ucmp(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src)
|
|||
static void
|
||||
ttn_barrier(nir_builder *b)
|
||||
{
|
||||
if (b->shader->options->use_scoped_barrier)
|
||||
nir_scoped_barrier(b, .execution_scope = NIR_SCOPE_WORKGROUP);
|
||||
else
|
||||
nir_control_barrier(b);
|
||||
nir_scoped_barrier(b, .execution_scope = NIR_SCOPE_WORKGROUP);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue