Home
last modified time | relevance | path

Searched refs:nir_vector_extract (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_rt_common.c226 k = nir_bcsel(b, nir_flt(b, nir_vector_extract(b, dir, kz), nir_imm_float(b, 0.0f)), in intersect_ray_amd_software_tri()
234 nir_ssa_def *sz = nir_frcp(b, nir_vector_extract(b, dir, kz)); in intersect_ray_amd_software_tri()
235 nir_ssa_def *sx = nir_fmul(b, nir_vector_extract(b, dir, kx), sz); in intersect_ray_amd_software_tri()
236 nir_ssa_def *sy = nir_fmul(b, nir_vector_extract(b, dir, ky), sz); in intersect_ray_amd_software_tri()
245 nir_fsub(b, nir_vector_extract(b, v_a, kx), nir_fmul(b, sx, nir_vector_extract(b, v_a, kz))); in intersect_ray_amd_software_tri()
247 nir_fsub(b, nir_vector_extract(b, v_a, ky), nir_fmul(b, sy, nir_vector_extract(b, v_a, kz))); in intersect_ray_amd_software_tri()
249 nir_fsub(b, nir_vector_extract(b, v_b, kx), nir_fmul(b, sx, nir_vector_extract(b, v_b, kz))); in intersect_ray_amd_software_tri()
251 nir_fsub(b, nir_vector_extract(b, v_b, ky), nir_fmul(b, sy, nir_vector_extract(b, v_b, kz))); in intersect_ray_amd_software_tri()
253 nir_fsub(b, nir_vector_extract(b, v_c, kx), nir_fmul(b, sx, nir_vector_extract(b, v_c, kz))); in intersect_ray_amd_software_tri()
255 nir_fsub(b, nir_vector_extract(b, v_c, ky), nir_fmul(b, sy, nir_vector_extract(b, v_c, kz))); in intersect_ray_amd_software_tri()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_ubo_vec4.c135 result = nir_vector_extract(b, result, component); in nir_lower_ubo_vec4_lower()
169 channels[i] = nir_vector_extract(b, in nir_lower_ubo_vec4_lower()
Dnir_lower_array_deref_of_vec.c151 nir_vector_extract(&b, &intrin->dest.ssa, index); in nir_lower_array_deref_of_vec_impl()
Dnir_lower_subgroups.c741 nir_vector_extract(b, int_val, in lower_subgroups_instr()
Dnir_builder.h533 nir_vector_extract(nir_builder *b, nir_ssa_def *vec, nir_ssa_def *c) in nir_vector_extract() function
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c116 nir_vector_extract(b, vec2_null_or_size, in brw_nir_clamp_image_1d_2d_array_sizes_instr()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_amd.c224 def = nir_vector_extract(&b->nb, &intrin->dest.ssa, in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
Dvtn_opencl.c869 outres[i] = nir_vector_extract(&b->nb, input, nir_channel(&b->nb, mask, i)); in handle_shuffle()
894 nir_ssa_def *val0 = nir_vector_extract(&b->nb, input0, vmask); in handle_shuffle2()
895 nir_ssa_def *val1 = nir_vector_extract(&b->nb, input1, vmask); in handle_shuffle2()
Dvtn_glsl450.c698 def = nir_vector_extract(&b->nb, def, vec_deref->arr.index.ssa); in handle_glsl450_interpolation()
Dvtn_variables.c556 val->def = nir_vector_extract(&b->nb, val->def, src->arr.index.ssa); in vtn_local_load()
Dspirv_to_nir.c4058 ssa->def = nir_vector_extract(&b->nb, vtn_get_nir_ssa(b, w[3]), in vtn_handle_composite()
/third_party/mesa3d/src/intel/blorp/
Dblorp_clear.c85 color = nir_pad_vec4(&b, nir_vector_extract(&b, color, comp)); in blorp_params_get_clear_kernel_fs()
155 color = nir_pad_vec4(&b, nir_vector_extract(&b, color, comp)); in blorp_params_get_clear_kernel_cs()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c156 def[0] = nir_vector_extract(b, load, nir_imm_int(b, 0)); in lower_64bit_vertex_attribs_instr()
157 def[1] = nir_vector_extract(b, load, nir_imm_int(b, 1)); in lower_64bit_vertex_attribs_instr()
158 def[2] = nir_vector_extract(b, load2, nir_imm_int(b, 0)); in lower_64bit_vertex_attribs_instr()
160 def[3] = nir_vector_extract(b, load2, nir_imm_int(b, 1)); in lower_64bit_vertex_attribs_instr()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp2354 result = nir_vector_extract(&b, srcs[0], srcs[1]); in visit()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst2587 - nir: Use nir_vector_extract to generate code for ir_binop_vector_extract
3470 - radv: Replace nir_vector_extract with nir_channel