Home
last modified time | relevance | path

Searched refs:nir_build_deref_cast (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_printf.c53 nir_build_deref_cast(b, buffer_addr, nir_var_mem_global, in lower_printf_instr()
65 counter = nir_build_deref_cast(b, &counter->dest.ssa, in lower_printf_instr()
88 fmt_str_id_deref = nir_build_deref_cast(b, &fmt_str_id_deref->dest.ssa, in lower_printf_instr()
119 dst_arg_deref = nir_build_deref_cast(b, &dst_arg_deref->dest.ssa, in lower_printf_instr()
Dnir_lower_memcpy.c126 nir_build_deref_cast(&b, &dst->dest.ssa, dst->modes, in lower_memcpy_impl()
129 nir_build_deref_cast(&b, &src->dest.ssa, src->modes, in lower_memcpy_impl()
147 nir_build_deref_cast(&b, &dst->dest.ssa, dst->modes, in lower_memcpy_impl()
150 nir_build_deref_cast(&b, &src->dest.ssa, src->modes, in lower_memcpy_impl()
Dnir_opt_memcpy.c188 src = nir_build_deref_cast(b, &src->dest.ssa, in try_lower_memcpy()
208 src = nir_build_deref_cast(b, &src->dest.ssa, in try_lower_memcpy()
220 dst = nir_build_deref_cast(b, &dst->dest.ssa, in try_lower_memcpy()
Dnir_opt_load_store_vectorize.c648 return nir_build_deref_cast(b, &deref->dest.ssa, deref->modes, type, 0); in cast_deref()
724 deref = nir_build_deref_cast(b, &deref->dest.ssa, deref->modes, in subtract_deref()
Dnir_builder.h1255 nir_build_deref_cast(nir_builder *build, nir_ssa_def *parent, in nir_build_deref_cast() function
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c79 ret = nir_build_deref_cast(&b, nir_load_param(&b, p++), in implement_atomic_builtin()
90 src = &nir_build_deref_cast(&b, src, mode, data_type, 0)->dest.ssa; in implement_atomic_builtin()
113 nir_build_deref_cast(&b, nir_load_param(&b, 0), in implement_sub_group_ballot_builtin()
Dbrw_nir_rt.c121 nir_build_deref_cast(&b, call_data_addr, in lower_rt_io_derefs()
134 nir_build_deref_cast(&b, hit_attrib_addr, in lower_rt_io_derefs()
Dbrw_nir_lower_intersection_shader.c69 nir_build_deref_cast(b, commit_ptr, nir_var_function_temp, in lower_any_hit_for_intersection()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c176 nir_deref_instr *deref = nir_build_deref_cast(b, ptr, nir_var_mem_ubo, type, in lower_load_kernel_input()
Dclc_compiler.c578 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_load()
606 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_store()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c232 nir_deref_instr *cast = nir_build_deref_cast(&b, ptr, deref->modes, in lower_buffer_interface_derefs_impl()
Dglsl_to_nir.cpp901 nir_build_deref_cast(&b, nir_load_param(&b, 0), in visit()
2649 this->deref = nir_build_deref_cast(&b, nir_load_param(&b, i), in visit()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c413 tail = nir_build_deref_cast(&b->nb, desc, nir_mode, in vtn_pointer_dereference()
421 tail = nir_build_deref_cast(&b->nb, nir_load_shader_record_ptr(&b->nb), in vtn_pointer_dereference()
440 tail = nir_build_deref_cast(&b->nb, &tail->dest.ssa, tail->modes, in vtn_pointer_dereference()
1747 ptr->deref = nir_build_deref_cast(&b->nb, ssa, nir_mode, in vtn_pointer_from_ssa()
1770 ptr->deref = nir_build_deref_cast(&b->nb, ssa, nir_mode, in vtn_pointer_from_ssa()
Dvtn_cfg.c1093 nir_build_deref_cast(&b->nb, nir_load_param(&b->nb, 0), in vtn_emit_ret_store()
Dspirv_to_nir.c372 return nir_build_deref_cast(&b->nb, vtn_get_nir_ssa(b, value_id), in vtn_get_image()
391 return nir_build_deref_cast(&b->nb, vtn_get_nir_ssa(b, value_id), in vtn_get_sampler()
428 si.image = nir_build_deref_cast(&b->nb, nir_channel(&b->nb, si_vec2, 0), in vtn_get_sampled_image()
430 si.sampler = nir_build_deref_cast(&b->nb, nir_channel(&b->nb, si_vec2, 1), in vtn_get_sampled_image()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c104 nir_deref_instr *cast = nir_build_deref_cast(b, added, deref->modes, deref->type, 0); in lower_block_instr()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c874 nir_build_deref_cast(b, ptr, nir_var_mem_ssbo, deref->type, in lower_deref_ssbo()
1015 dst_deref = nir_build_deref_cast(b, &dst_deref->dest.ssa, dst_deref->modes, in lower_memcpy_deref()
1017 src_deref = nir_build_deref_cast(b, &src_deref->dest.ssa, src_deref->modes, in lower_memcpy_deref()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c787 nir_build_deref_cast(&b, arg_offset, nir_var_function_temp, deref->var->type, 0); in lower_rt_derefs()
793 replacement = nir_build_deref_cast(&b, nir_imm_int(&b, RADV_HIT_ATTRIB_OFFSET), in lower_rt_derefs()
886 nir_build_deref_cast(b, commit_ptr, nir_var_function_temp, glsl_bool_type(), 0); in lower_any_hit_for_intersection()