Home
last modified time | relevance | path

Searched refs:nir_build_deref_struct (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_split_var_copies.c73 split_deref_copy_instr(b, nir_build_deref_struct(b, dst, i), in split_deref_copy_instr()
74 nir_build_deref_struct(b, src, i), in split_deref_copy_instr()
Dnir_passthrough_gs.c102 copy_vars(b, nir_build_deref_struct(b, dst, i), nir_build_deref_struct(b, src, i)); in copy_vars()
Dnir_lower_io_to_temporaries.c150 nir_build_deref_struct(b, temp_deref, in emit_interp()
153 nir_build_deref_struct(b, new_interp_deref, in emit_interp()
Dnir_lower_variable_initializers.c38 build_constant_load(b, nir_build_deref_struct(b, deref, i), in build_constant_load()
Dnir_lower_printf.c141 nir_deref_instr *arg_deref = nir_build_deref_struct(b, args, i); in lower_printf_intrin()
Dnir_lower_const_arrays_to_uniforms.c395 new_deref_instr = nir_build_deref_struct(&b, new_deref_instr, in nir_lower_const_arrays_to_uniforms()
Dnir_builder.h1601 nir_build_deref_struct(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_struct() function
1722 return nir_build_deref_struct(b, parent, leader->strct.index); in nir_build_deref_follower()
Dnir_deref.c1212 nir_deref_instr *replace = nir_build_deref_struct(b, parent, 0); in opt_replace_struct_wrapper_cast()
/external/mesa3d/src/amd/vulkan/tests/
Dradv_nir_lower_hit_attrib_derefs_tests.cpp169 nir_deref_instr *member_deref = nir_build_deref_struct(b, var_deref, i); in TEST_F()
201 nir_deref_instr *member_deref = nir_build_deref_struct(b, var_deref, 0); in TEST_F()
226 nir_deref_instr *member_deref = nir_build_deref_struct(b, element_deref, 0); in TEST_F()
/external/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp1314 nir_build_deref_struct(b, nir_build_deref_var(b, ssbo0), 0); in TEST_F()
1318 nir_build_deref_struct(b, nir_build_deref_var(b, ssbo1), 0); in TEST_F()
1323 nir_build_deref_struct(b, nir_build_deref_var(b, out), 0); in TEST_F()
1357 nir_build_deref_struct(b, nir_build_deref_var(b, ssbo0), 0); in TEST_F()
1361 nir_build_deref_struct(b, nir_build_deref_var(b, ssbo1), 0); in TEST_F()
1366 nir_build_deref_struct(b, nir_build_deref_var(b, out), 0); in TEST_F()
1398 nir_deref_instr *ssbo_0_x = nir_build_deref_struct(b, ssbo_0, 0); in TEST_F()
1404 nir_deref_instr *ssbo_i_x = nir_build_deref_struct(b, ssbo_i, 0); in TEST_F()
1409 nir_build_deref_struct(b, nir_build_deref_var(b, out), 0); in TEST_F()
1441 nir_deref_instr *ssbo_0_x = nir_build_deref_struct(b, ssbo_0, 0); in TEST_F()
[all …]
Dload_store_vectorizer_tests.cpp1305 create_shared_load(nir_build_deref_struct(b, deref, 0), 0x1); in TEST_F()
1306 create_shared_load(nir_build_deref_array_imm(b, nir_build_deref_struct(b, deref, 1), 0), 0x2); in TEST_F()
1467 create_shared_load(nir_build_deref_struct(b, deref, 0), 0x1, 1); in TEST_F()
1468 create_shared_load(nir_build_deref_array_imm(b, nir_build_deref_struct(b, deref, 1), 0), 0x2); in TEST_F()
1764 …nir_deref_instr *load_deref = nir_build_deref_array(b, nir_build_deref_struct(b, deref, 0), index0… in TEST_F()
1767 create_shared_store(nir_build_deref_array(b, nir_build_deref_struct(b, deref, 1), index1), 0x2); in TEST_F()
/external/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_tcs_variant.cpp71 copy_vars(b, nir_build_deref_struct(b, dst, i), nir_build_deref_struct(b, src, i)); in copy_vars()
Dd3d12_gs_variant.cpp61 copy_vars(b, nir_build_deref_struct(b, dst, i), nir_build_deref_struct(b, src, i)); in copy_vars()
Dd3d12_nir_passes.c991 write_0(b, nir_build_deref_struct(b, deref, i)); in write_0()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_xfb_varying.c104 *deref = nir_build_deref_struct(b, *deref, idx); in get_deref()
Dgl_nir_lower_named_interface_blocks.c103 parent = nir_build_deref_struct(b, parent, (*p)->strct.index); in process_derefs()
Dgl_nir_lower_packed_varyings.c664 nir_build_deref_struct(&state->b, unpacked_var_deref, i); in lower_varying()
/external/mesa3d/src/microsoft/vulkan/
Ddzn_nir.c799 copy_vars(b, nir_build_deref_struct(b, dst, i), nir_build_deref_struct(b, src, i)); in copy_vars()
/external/mesa3d/src/vulkan/runtime/
Dvk_meta_clear.c67 nir_build_deref_struct(b, nir_build_deref_var(b, push), 0); in build_clear_shader()
Dvk_meta_blit_resolve.c124 nir_build_deref_struct(b, nir_build_deref_var(b, var), field); in load_struct_var()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c61 copy_vars(b, nir_build_deref_struct(b, dst, i), nir_build_deref_struct(b, src, i)); in copy_vars()
328 return nir_build_deref_struct(b, replicate_derefs(b, parent, new), old->strct.index); in replicate_derefs()
2286 nir_deref_instr *deref_struct = nir_build_deref_struct(b, deref_array, 0); in rewrite_atomic_ssbo_instr()
2359 nir_deref_instr *deref_struct = nir_build_deref_struct(b, deref_array, 0); in remove_bo_access_instr()
3138 nir_deref_instr *strct = nir_build_deref_struct(&b, var_deref, member); in lower_64bit_vars_function()
3161 nir_deref_instr *strct = nir_build_deref_struct(&b, deref, i); in lower_64bit_vars_function()
3201 nir_deref_instr *strct = nir_build_deref_struct(&b, var_deref, member); in lower_64bit_vars_function()
3231 nir_deref_instr *strct = nir_build_deref_struct(&b, deref, i); in lower_64bit_vars_function()
3809 deref = nir_build_deref_struct(b, deref, slot_offset); in add_derefs_instr()
/external/mesa3d/src/nouveau/vulkan/
Dnvk_query_pool.c714 nir_build_deref_struct(b, nir_build_deref_var(b, var), field); in load_struct_var()
Dnvk_cmd_indirect.c68 nir_build_deref_struct(b, nir_build_deref_var(b, var), field); in load_struct_var()
/external/mesa3d/src/compiler/spirv/
Dvtn_opencl.c840 nir_build_deref_struct(&b->nb, deref_var, i - 1); in handle_printf()
Dvtn_variables.c489 tail = nir_build_deref_struct(&b->nb, tail, field); in vtn_pointer_dereference()
565 nir_deref_instr *child = nir_build_deref_struct(&b->nb, deref, i); in _vtn_local_load_store()

12