Home
last modified time | relevance | path

Searched refs:nir_var_mem_ubo (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c86 if (nir_deref_mode_is(deref, nir_var_mem_ubo)) { in get_block_array_index()
132 if (var->data.mode == nir_var_mem_ubo) { in get_block_index_offset()
193 if (!nir_deref_mode_is_one_of(deref, nir_var_mem_ubo | in lower_buffer_interface_derefs_impl()
253 if (!nir_deref_mode_is_one_of(deref, nir_var_mem_ubo | in lower_buffer_interface_derefs_impl()
279 if (!nir_deref_mode_is_one_of(deref, nir_var_mem_ubo | in lower_buffer_interface_derefs_impl()
336 nir_foreach_variable_with_modes(var, shader, nir_var_mem_ubo | nir_var_mem_ssbo) { in gl_nir_lower_buffers()
356 nir_lower_explicit_io(shader, nir_var_mem_ubo | nir_var_mem_ssbo, in gl_nir_lower_buffers()
Dgl_nir_linker.h40 nir_var_mem_ubo | \
/third_party/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp208 case nir_var_mem_ubo: in create_indirect_load()
391 create_load(nir_var_mem_ubo, 0, 0, 0x1); in TEST_F()
392 create_load(nir_var_mem_ubo, 0, 4, 0x2); in TEST_F()
397 EXPECT_TRUE(run_vectorizer(nir_var_mem_ubo)); in TEST_F()
413 create_load(nir_var_mem_ubo, 0, 0, 0x1, 32, 2); in TEST_F()
414 create_load(nir_var_mem_ubo, 0, 4, 0x2, 32, 2); in TEST_F()
419 EXPECT_TRUE(run_vectorizer(nir_var_mem_ubo)); in TEST_F()
436 create_load(nir_var_mem_ubo, 0, 0, 0x1, 32, 4); in TEST_F()
437 create_load(nir_var_mem_ubo, 0, 4, 0x2, 32, 1); in TEST_F()
442 EXPECT_TRUE(run_vectorizer(nir_var_mem_ubo)); in TEST_F()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_uniforms_to_ubo.c136 nir_foreach_variable_with_modes(var, shader, nir_var_mem_ubo) { in nir_lower_uniforms_to_ubo()
151 nir_variable *ubo = nir_variable_create(shader, nir_var_mem_ubo, type, in nir_lower_uniforms_to_ubo()
Dnir_lower_amul.c257 if (var->data.mode == nir_var_mem_ubo) { in nir_lower_amul()
Dnir_opt_access.c345 nir_var_mem_ubo | in nir_opt_access()
Dnir_opt_gcm.c267 nir_var_mem_ubo | nir_var_mem_ssbo)))) { in pin_intrinsic()
Dnir_print.c453 case nir_var_mem_ubo: in get_variable_mode_str()
527 var->data.mode == nir_var_mem_ubo || in print_var_decl()
Dnir.h128 nir_var_mem_ubo = (1 << 5), enumerator
145 nir_var_mem_ubo,
147 nir_var_vec_indexable_modes = nir_var_mem_ubo | nir_var_mem_ssbo |
5642 return (var->data.mode == nir_var_mem_ubo && in nir_variable_is_in_ubo()
Dnir_opt_load_store_vectorize.c76 LOAD(nir_var_mem_ubo, ubo, 0, 1, -1) in get_info()
987 nir_var_mem_push_const | nir_var_mem_ubo)) in check_for_aliasing()
Dnir_opt_loop_unroll.c771 nir_variable_mode mem_modes = nir_var_mem_ssbo | nir_var_mem_ubo | nir_var_mem_global; in is_indirect_load()
Dnir_divergence_analysis.c602 case nir_var_mem_ubo: in nir_variable_mode_is_uniform()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c58 nir, nir_var_mem_ubo, in add_runtime_data_var()
229 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_ubo | nir_var_mem_ssbo, in spirv_to_dxil()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c417 nir_variable_create(nir, nir_var_mem_ubo, in add_kernel_inputs_var()
436 nir_variable_create(nir, nir_var_mem_ubo, in add_work_properties_var()
652 if (alignment >= (deref->modes == nir_var_mem_ubo ? 16 : 4)) in split_unaligned_loads_stores()
1030 …NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_uniform | nir_var_mem_ubo | nir_var_mem_constan… in clc_spirv_to_dxil()
1141 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_ubo, in clc_spirv_to_dxil()
Dclc_nir.c195 nir_deref_instr *deref = nir_build_deref_cast(b, ptr, nir_var_mem_ubo, type, in lower_load_kernel_input()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c993 nir_foreach_variable_with_modes(var, shader, nir_var_mem_ssbo | nir_var_mem_ubo) { in unbreak_bos()
998 if (var->data.mode == nir_var_mem_ubo) in unbreak_bos()
1020 …nir_variable *var = nir_variable_create(shader, nir_var_mem_ubo, glsl_struct_type(fields, 1, "stru… in unbreak_bos()
1400 nir_var_mem_ubo | in zink_shader_create()
1404 if (var->data.mode == nir_var_mem_ubo) { in zink_shader_create()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c870 nir_var_mem_ubo | nir_var_mem_ssbo, in brw_preprocess_nir()
1004 .modes = nir_var_mem_ubo | nir_var_mem_ssbo | in brw_vectorize_lower_mem_access()
1011 options.robust_modes = nir_var_mem_ubo | nir_var_mem_ssbo | in brw_vectorize_lower_mem_access()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.c244 .modes = nir_var_mem_ubo, in ir3_optimize_loop()
246 .robust_modes = compiler->robust_ubo_access ? nir_var_mem_ubo : 0, in ir3_optimize_loop()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_dispatch.c162 nir_variable_create(b.shader, nir_var_mem_ubo, in GENX()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c643 nir_var_uniform | nir_var_mem_ubo | nir_var_mem_ssbo, in tu_lower_io()
749 nir_var_mem_ubo | nir_var_mem_ssbo, in tu_shader_create()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c480 if (var->data.mode == nir_var_mem_ubo) { in d3d12_lower_state_vars()
522 nir_variable *ubo = nir_variable_create(nir, nir_var_mem_ubo, type, in d3d12_lower_state_vars()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c514 nir_var_mem_ubo | nir_var_mem_ssbo, in panvk_per_arch()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c710 if (!nir_deref_mode_is_one_of(deref, nir_var_mem_ubo | nir_var_mem_ssbo)) in try_lower_direct_buffer_intrinsic()
742 assert(nir_deref_mode_is(deref, nir_var_mem_ubo)); in try_lower_direct_buffer_intrinsic()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c411 base->mode == vtn_variable_mode_ssbo ? nir_var_mem_ssbo : nir_var_mem_ubo; in vtn_pointer_dereference()
1482 nir_mode = nir_var_mem_ubo; in vtn_storage_class_to_mode()
1554 nir_mode = nir_var_mem_ubo; in vtn_storage_class_to_mode()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp314 nir_var_mem_ubo | in process_declaration()

12