Searched refs:dest_bit_size (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_conversion_builder.h | 58 unsigned dest_bit_size, in nir_round_float_to_float() argument 62 if (dest_bit_size > src_bit_size) in nir_round_float_to_float() 66 nir_type_float | dest_bit_size, in nir_round_float_to_float() 68 nir_op high_conv = nir_type_conversion_op(nir_type_float | dest_bit_size, in nir_round_float_to_float() 81 nir_ssa_def *inf = nir_imm_floatN_t(b, INFINITY, dest_bit_size); in nir_round_float_to_float() 92 nir_ssa_def *neg_inf = nir_imm_floatN_t(b, -INFINITY, dest_bit_size); in nir_round_float_to_float() 97 nir_round_float_to_float(b, src, dest_bit_size, in nir_round_float_to_float() 99 nir_round_float_to_float(b, src, dest_bit_size, in nir_round_float_to_float() 111 unsigned dest_bit_size, in nir_round_int_to_float() argument 118 switch (dest_bit_size) { in nir_round_int_to_float() [all …]
|
D | nir_builder.h | 606 nir_i2i(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_i2i() argument 608 if (x->bit_size == dest_bit_size) in nir_i2i() 611 switch (dest_bit_size) { in nir_i2i() 621 nir_u2u(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_u2u() argument 623 if (x->bit_size == dest_bit_size) in nir_u2u() 626 switch (dest_bit_size) { in nir_u2u() 874 nir_pack_bits(nir_builder *b, nir_ssa_def *src, unsigned dest_bit_size) in nir_pack_bits() argument 876 assert(src->num_components * src->bit_size == dest_bit_size); in nir_pack_bits() 878 switch (dest_bit_size) { in nir_pack_bits() 897 nir_ssa_def *dest = nir_imm_intN_t(b, 0, dest_bit_size); in nir_pack_bits() [all …]
|
D | nir_validate.c | 391 unsigned dest_bit_size = nir_dest_bit_size(instr->dest.dest); in validate_alu_instr() local 393 validate_assert(state, dest_bit_size == nir_alu_type_get_type_size(dest_type)); in validate_alu_instr() 395 validate_assert(state, dest_bit_size == instr_bit_size); in validate_alu_instr() 402 validate_assert(state, dest_bit_size == 16 || dest_bit_size == 32 || in validate_alu_instr() 403 dest_bit_size == 64); in validate_alu_instr() 590 unsigned dest_bit_size = 0; in validate_intrinsic_instr() local 596 dest_bit_size = nir_alu_type_get_type_size(dest_type); in validate_intrinsic_instr() 598 validate_assert(state, dest_bit_size != 0); in validate_intrinsic_instr() 608 dest_bit_size = param->bit_size; in validate_intrinsic_instr() 620 dest_bit_size = glsl_get_bit_size(src->type); in validate_intrinsic_instr() [all …]
|
D | nir_lower_int64.c | 688 lower_2f(nir_builder *b, nir_ssa_def *x, unsigned dest_bit_size, in lower_2f() argument 695 nir_imm_floatN_t(b, -1, dest_bit_size), in lower_2f() 696 nir_imm_floatN_t(b, 1, dest_bit_size)); in lower_2f() 703 switch (dest_bit_size) { in lower_2f() 741 if (dest_bit_size == 32) in lower_2f()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 2300 regroup_load_val(nir_builder *b, nir_ssa_def *load, unsigned dest_bit_size) in regroup_load_val() argument 2302 if (dest_bit_size == load->bit_size) in regroup_load_val() 2310 components[i] = nir_u2u(b, nir_channel(b, load, i), dest_bit_size); in regroup_load_val()
|