/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_buffers.c | 86 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()
|
D | gl_nir_linker.h | 40 nir_var_mem_ubo | \
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | load_store_vectorizer_tests.cpp | 208 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/ |
D | nir_lower_uniforms_to_ubo.c | 136 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()
|
D | nir_lower_amul.c | 257 if (var->data.mode == nir_var_mem_ubo) { in nir_lower_amul()
|
D | nir_opt_access.c | 345 nir_var_mem_ubo | in nir_opt_access()
|
D | nir_opt_gcm.c | 267 nir_var_mem_ubo | nir_var_mem_ssbo)))) { in pin_intrinsic()
|
D | nir_print.c | 453 case nir_var_mem_ubo: in get_variable_mode_str() 527 var->data.mode == nir_var_mem_ubo || in print_var_decl()
|
D | nir.h | 128 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()
|
D | nir_opt_load_store_vectorize.c | 76 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()
|
D | nir_opt_loop_unroll.c | 771 nir_variable_mode mem_modes = nir_var_mem_ssbo | nir_var_mem_ubo | nir_var_mem_global; in is_indirect_load()
|
D | nir_divergence_analysis.c | 602 case nir_var_mem_ubo: in nir_variable_mode_is_uniform()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | spirv_to_dxil.c | 58 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/ |
D | clc_compiler.c | 417 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()
|
D | clc_nir.c | 195 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/ |
D | zink_compiler.c | 993 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/ |
D | brw_nir.c | 870 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/ |
D | ir3_nir.c | 244 .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/ |
D | pan_indirect_dispatch.c | 162 nir_variable_create(b.shader, nir_var_mem_ubo, in GENX()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_shader.c | 643 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/ |
D | d3d12_nir_passes.c | 480 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/ |
D | panvk_vX_shader.c | 514 nir_var_mem_ubo | nir_var_mem_ssbo, in panvk_per_arch()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_apply_pipeline_layout.c | 710 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/ |
D | vtn_variables.c | 411 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/ |
D | sfn_nir.cpp | 314 nir_var_mem_ubo | in process_declaration()
|