nir, intel: Move use_scoped_memory_barrier to nir_options
This option will be used later by GLSL, so move to a common struct. Because nir_options is filled in the compiler instead of the Vulkan driver, fix that up. GLSL will ignore that for now. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3913> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3913>
This commit is contained in:

committed by
Marge Bot

parent
6be766336a
commit
956e4b2d37
@@ -47,7 +47,8 @@
|
||||
.vectorize_io = true, \
|
||||
.use_interpolated_input_intrinsics = true, \
|
||||
.vertex_id_zero_based = true, \
|
||||
.lower_base_vertex = true
|
||||
.lower_base_vertex = true, \
|
||||
.use_scoped_memory_barrier = true
|
||||
|
||||
#define COMMON_SCALAR_OPTIONS \
|
||||
.lower_to_scalar = true, \
|
||||
|
Reference in New Issue
Block a user