mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 13:30:12 +01:00
llvmpipe: set nir_shader_compiler_options::use_scoped_barrier
required for vk memory model Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15377>
This commit is contained in:
parent
e3e3186855
commit
13d900de0d
2 changed files with 2 additions and 0 deletions
|
|
@ -1907,6 +1907,7 @@ static void visit_intrinsic(struct lp_build_nir_context *bld_base,
|
|||
visit_shared_atomic(bld_base, instr, result);
|
||||
break;
|
||||
case nir_intrinsic_control_barrier:
|
||||
case nir_intrinsic_scoped_barrier:
|
||||
visit_barrier(bld_base);
|
||||
break;
|
||||
case nir_intrinsic_group_memory_barrier:
|
||||
|
|
|
|||
|
|
@ -628,6 +628,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
|
|||
.lower_device_index_to_zero = true,
|
||||
.support_16bit_alu = true,
|
||||
.lower_fisnormal = true,
|
||||
.use_scoped_barrier = true,
|
||||
};
|
||||
|
||||
static char *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue