Home
last modified time | relevance | path

Searched refs:nir_var_mem_shared (Results 1 – 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp160 if (modes & nir_var_mem_shared) in run_vectorizer()
161 nir_lower_vars_to_explicit_types(b->shader, nir_var_mem_shared, shared_type_info); in run_vectorizer()
277 case nir_var_mem_shared: in create_indirect_store()
861 nir_var_mem_shared); in TEST_F()
1189 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1198 EXPECT_TRUE(run_vectorizer(nir_var_mem_shared)); in TEST_F()
1223 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1233 EXPECT_FALSE(run_vectorizer(nir_var_mem_shared)); in TEST_F()
1240 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1250 EXPECT_TRUE(run_vectorizer(nir_var_mem_shared)); in TEST_F()
[all …]
Dvars_tests.cpp679 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 2); in TEST_F()
756 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 2); in TEST_F()
830 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 2); in TEST_F()
911 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 2); in TEST_F()
973 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 1); in TEST_F()
1024 nir_variable **y = create_many_int(nir_var_mem_shared, "y", 1); in TEST_F()
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c146 GLSL_TYPE_FLOAT, nir_var_mem_shared); in implement_intel_builtins()
151 GLSL_TYPE_FLOAT, nir_var_mem_shared); in implement_intel_builtins()
353 nir_var_mem_shared | nir_var_mem_global| in brw_kernel_from_spirv()
362 nir_var_mem_shared | nir_var_mem_global, in brw_kernel_from_spirv()
402 nir_var_mem_shared | nir_var_mem_global | nir_var_mem_constant, in brw_kernel_from_spirv()
433 nir_var_mem_shared | nir_var_mem_global, in brw_kernel_from_spirv()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_load_store_vectorize.c81 LOAD(nir_var_mem_shared, shared, -1, 0, -1) in get_info()
82 STORE(nir_var_mem_shared, shared, -1, 1, -1, 0) in get_info()
115 ATOMIC(nir_var_mem_shared, shared, add, -1, 0, -1, 1) in get_info()
116 ATOMIC(nir_var_mem_shared, shared, imin, -1, 0, -1, 1) in get_info()
117 ATOMIC(nir_var_mem_shared, shared, umin, -1, 0, -1, 1) in get_info()
118 ATOMIC(nir_var_mem_shared, shared, imax, -1, 0, -1, 1) in get_info()
119 ATOMIC(nir_var_mem_shared, shared, umax, -1, 0, -1, 1) in get_info()
120 ATOMIC(nir_var_mem_shared, shared, and, -1, 0, -1, 1) in get_info()
121 ATOMIC(nir_var_mem_shared, shared, or, -1, 0, -1, 1) in get_info()
122 ATOMIC(nir_var_mem_shared, shared, xor, -1, 0, -1, 1) in get_info()
[all …]
Dnir_opt_dead_write_vars.c125 nir_var_mem_shared | in remove_dead_write_vars_local()
140 nir_var_mem_shared | in remove_dead_write_vars_local()
151 clear_unused_for_modes(&unused_writes, nir_var_mem_shared); in remove_dead_write_vars_local()
Dnir_lower_io.c885 nir_var_mem_shared))) { in build_addr_iadd()
927 assert(var->data.mode & (nir_var_uniform | nir_var_mem_shared | in build_addr_for_var()
954 case nir_var_mem_shared: in build_addr_for_var()
985 case nir_var_mem_shared: in build_addr_for_var()
1018 case nir_var_mem_shared: in build_runtime_addr_mode_check()
1300 nir_var_mem_shared | nir_var_mem_global))); in canonicalize_generic_modes()
1363 nir_var_mem_shared)); in build_explicit_io_load()
1364 assert(modes & nir_var_mem_shared); in build_explicit_io_load()
1367 nir_var_mem_shared, in build_explicit_io_load()
1414 case nir_var_mem_shared: in build_explicit_io_load()
[all …]
Dnir_lower_task_shader.c93 .memory_modes = nir_var_mem_shared); in append_launch_mesh_workgroups_to_nv_task()
104 .memory_modes = nir_var_mem_shared); in append_launch_mesh_workgroups_to_nv_task()
214 .memory_modes = nir_var_mem_shared); in emit_shared_to_payload_copy()
Dnir_opt_combine_stores.c291 nir_var_mem_shared | in combine_stores_block()
322 nir_var_mem_shared | in combine_stores_block()
332 combine_stores_with_modes(state, nir_var_mem_shared); in combine_stores_block()
Dnir_opt_copy_prop_vars.c158 nir_var_mem_shared | in gather_vars_written()
173 nir_var_mem_shared | in gather_vars_written()
845 nir_var_mem_shared | in copy_prop_vars_block()
862 nir_var_mem_shared | in copy_prop_vars_block()
876 apply_barrier_for_modes(copies, nir_var_mem_shared); in copy_prop_vars_block()
Dnir_remove_dead_variables.c82 if ((deref->var->data.mode & nir_var_mem_shared) && in add_var_use_deref()
Dnir_lower_variable_initializers.c195 NIR_MEMORY_ACQ_REL, nir_var_mem_shared); in nir_zero_initialize_shared_memory()
Dnir_lower_io_to_scalar.c250 (intr->intrinsic == nir_intrinsic_load_shared && (mask & nir_var_mem_shared))) { in nir_lower_io_to_scalar_instr()
263 (intr->intrinsic == nir_intrinsic_store_shared && (mask & nir_var_mem_shared))) { in nir_lower_io_to_scalar_instr()
Dnir_opt_dead_cf.c255 nir_var_mem_shared | in node_is_dead()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c325 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in repack_invocations_in_workgroup()
817 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in compact_vertices_after_culling()
1232 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in add_deferred_attribute_culling()
1277 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in add_deferred_attribute_culling()
1469 .memory_modes = nir_var_mem_shared); in ac_nir_lower_ngg_nogs()
1476 … .memory_semantics = NIR_MEMORY_ACQ_REL, .memory_modes = nir_var_mem_shared); in ac_nir_lower_ngg_nogs()
1988 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in ngg_gs_finale()
2023 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in ngg_gs_finale()
2082 .memory_semantics=NIR_MEMORY_ACQ_REL, .memory_modes=nir_var_mem_shared); in ac_nir_lower_ngg_gs()
2494 mem_modes |= nir_var_mem_shared; in update_ms_scoped_barrier()
[all …]
Dac_nir_lower_tess_io_to_mem.c486 mem_modes |= nir_var_mem_shared; in update_hs_scoped_barrier()
560 .memory_semantics = NIR_MEMORY_ACQ_REL, .memory_modes = nir_var_mem_shared); in hs_emit_write_tess_factors()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c330 nir_var_mem_shared, in panvk_per_arch()
335 nir_var_mem_shared, in panvk_per_arch()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_atomics.c105 var->data.mode != nir_var_mem_shared) in lower_deref_instr()
Dgl_nir_linker.c56 nir_var_mem_shared, in gl_nir_opts()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Ddxil_spirv_nir.c652 nir_var_system_value | nir_var_mem_shared, in dxil_spirv_nir_passes()
668 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_mem_shared, in dxil_spirv_nir_passes()
671 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_shared, in dxil_spirv_nir_passes()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp540 nir_var_mem_shared | nir_var_mem_global | in spirv_to_nir()
557 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_shared, in spirv_to_nir()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c1015 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_mem_shared | nir_var_function_temp, NULL); in clc_spirv_to_dxil()
1019nir_var_mem_shared | nir_var_function_temp | nir_var_mem_global | nir_var_mem_constant, in clc_spirv_to_dxil()
1038 nir_var_mem_shared | nir_var_function_temp | nir_var_uniform, in clc_spirv_to_dxil()
/third_party/mesa3d/docs/relnotes/
D21.1.4.rst153 - ac/nir: Update TCS output barriers with nir_var_mem_shared.
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c786 nir_var_mem_shared, shared_type_info); in tu_shader_create()
788 nir_var_mem_shared, in tu_shader_create()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp414 nir_var_mem_shared, shared_type_info); in st_nir_preprocess()
416 nir_var_mem_shared, nir_address_format_32bit_offset); in st_nir_preprocess()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c490 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_mem_shared, shared_var_info); in lvp_shader_compile_to_ir()
491 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_shared, nir_address_format_32bit_offset); in lvp_shader_compile_to_ir()

123