Home
last modified time | relevance | path

Searched refs:nir_u2u (Results 1 – 12 of 12) 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()
312 return nir_u2u(b, nir_vec3(b, id_x, id_y, id_z), bit_size); in lower_compute_system_value_instr()
422 return nir_u2u(b, index, bit_size); in lower_compute_system_value_instr()
442 return nir_u2u(b, nir_build_imm(b, 3, 32, workgroup_size_const), bit_size); in lower_compute_system_value_instr()
453 nir_u2u(b, group_size, bit_size)), in lower_compute_system_value_instr()
454 nir_u2u(b, local_id, bit_size)); in lower_compute_system_value_instr()
490 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.h240 return nir_u2u(b, val, a->bit_size); in nir_clz_u()
250 nir_u2u(b, nir_find_lsb(b, a), a->bit_size)); in nir_ctz_u()
Dnir_builder.h808 nir_u2u(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_u2u() function
1035 nir_ssa_def *val = nir_u2u(b, nir_channel(b, src, i), dest_bit_size); in nir_pack_bits()
1072 dest_comps[i] = nir_u2u(b, val, dest_bit_size); in nir_unpack_bits()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c789 dest->def = nir_u2u(&b->nb, nir_bit_count(&b->nb, src[0]), glsl_get_bit_size(dest_type)); in vtn_handle_alu()
1129 : nir_uadd_sat(&b->nb, nir_u2u(&b->nb, dest, dest_size), src[2]); in vtn_handle_integer_dot()
1133 : nir_u2u(&b->nb, dest, dest_size); in vtn_handle_integer_dot()
Dvtn_opencl.c290 ret = nir_u2u(&b->nb, ret, glsl_get_bit_size(dest_type->type)); in handle_alu()
Dspirv_to_nir.c5546 nir_ssa_def *val = nir_u2u(&b->nb, nir_channel(&b->nb, unpacked, i), 32); in vtn_handle_write_packed_primitive_indices()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c194 nir_u2u(b, intr->src[0].ssa, 32)); in lower_load_kernel_input()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp303 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.c1586 out_val = nir_u2u(b, out_val, info->bit_size); in lower_ngg_gs_emit_vertex_with_counter()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c1878 bvh_node = nir_iadd(b, nir_load_var(b, trav_vars.bvh_base), nir_u2u(b, bvh_node, 64)); in insert_traversal()
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst1312 - nir/builder: Add nir_i2i and nir_u2u helpers which take a bit size