Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c51 return nir_u2u(b, &intrin->dest.ssa, bit_size); in sanitize_32bit_sysval()
59 return nir_imul(b, nir_u2u(b, group_size, bit_size), in build_global_group_size()
293 return nir_u2u(b, nir_vec3(b, id_x, id_y, id_z), bit_size); in lower_id_to_index_no_umod()
324 return nir_u2u(b, nir_vec3(b, id_x, id_y, id_z), bit_size); in lower_id_to_index()
480 return nir_u2u(b, index, bit_size); in lower_compute_system_value_instr()
500 return nir_u2u(b, nir_build_imm(b, 3, 32, workgroup_size_const), bit_size); in lower_compute_system_value_instr()
511 nir_u2u(b, group_size, bit_size)), in lower_compute_system_value_instr()
512 nir_u2u(b, local_id, bit_size)); in lower_compute_system_value_instr()
548 return nir_iadd(b, nir_u2u(b, nir_load_workgroup_id_zero_base(b), bit_size), in lower_compute_system_value_instr()
Dnir_lower_bit_size.c193 res = nir_u2u(b, res, old_bit_size); in lower_intrinsic_instr()
215 nir_ssa_def *new_src = nir_u2u(b, src->src.ssa, bit_size); in lower_phi_instr()
224 nir_ssa_def *new_dest = nir_u2u(b, &phi->dest.ssa, old_bit_size); in lower_phi_instr()
Dnir_builtin_builder.h241 return nir_u2u(b, val, a->bit_size); in nir_clz_u()
251 nir_u2u(b, nir_find_lsb(b, a), a->bit_size)); in nir_ctz_u()
Dnir_builder.h621 nir_u2u(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_u2u() function
899 nir_ssa_def *val = nir_u2u(b, nir_channel(b, src, i), dest_bit_size); in nir_pack_bits()
936 dest_comps[i] = nir_u2u(b, val, dest_bit_size); in nir_unpack_bits()
Dnir_lower_io.c1881 offset = nir_u2u(b, nir_amul_imm(b, index, stride), offset_bit_size); in nir_explicit_io_address_from_deref()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c175 nir_u2u(b, intr->src[0].ssa, 32)); in lower_load_kernel_input()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c932 dest->def = nir_u2u(&b->nb, nir_bit_count(&b->nb, src[0]), glsl_get_bit_size(dest_type)); in vtn_handle_alu()
1274 : nir_uadd_sat(&b->nb, nir_u2u(&b->nb, dest, dest_size), src[2]); in vtn_handle_integer_dot()
1278 : nir_u2u(&b->nb, dest, dest_size); in vtn_handle_integer_dot()
Dvtn_opencl.c291 ret = nir_u2u(&b->nb, ret, glsl_get_bit_size(dest_type->type)); in handle_alu()
Dspirv_to_nir.c3578 result = nir_u2u(&b->nb, result, glsl_get_bit_size(type->type)); in vtn_handle_image()
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c229 nir_u2u(&b, &load->dest.ssa, intrin->dest.ssa.bit_size); in lower_kernel_intrinsics()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp332 return nir_u2u(b, nir_vec(b, loads, state->global_dims), in clover_lower_nir_instr()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1925 load = nir_u2u(b, load, out_bitsizes[slot]); in ngg_gs_export_vertices()
2212 return nir_u2u(b, index, intrin->dest.ssa.bit_size); in lower_ms_load_output()
2310 components[i] = nir_u2u(b, nir_channel(b, load, i), dest_bit_size); in regroup_load_val()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ray_queries.c695 nir_iadd(b, rq_load_var(b, index, vars->trav.bvh_base), nir_u2u(b, bvh_node, 64)); in lower_rq_proceed()
Dradv_pipeline_rt.c1460 bvh_node = nir_iadd(&b, nir_load_var(&b, trav_vars.bvh_base), nir_u2u(&b, bvh_node, 64)); in build_traversal_shader()
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst1312 - nir/builder: Add nir_i2i and nir_u2u helpers which take a bit size