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:

committed by
Marge Bot

parent
e3e3186855
commit
13d900de0d
@@ -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 *
|
||||
|
Reference in New Issue
Block a user