Searched refs:dest_bit_size (Results 1 – 4 of 4) 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 | 793 nir_i2i(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_i2i() argument 795 if (x->bit_size == dest_bit_size) in nir_i2i() 798 switch (dest_bit_size) { in nir_i2i() 808 nir_u2u(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_u2u() argument 810 if (x->bit_size == dest_bit_size) in nir_u2u() 813 switch (dest_bit_size) { in nir_u2u() 1010 nir_pack_bits(nir_builder *b, nir_ssa_def *src, unsigned dest_bit_size) in nir_pack_bits() argument 1012 assert(src->num_components * src->bit_size == dest_bit_size); in nir_pack_bits() 1014 switch (dest_bit_size) { in nir_pack_bits() 1033 nir_ssa_def *dest = nir_imm_intN_t(b, 0, dest_bit_size); in nir_pack_bits() [all …]
|
D | nir_validate.c | 390 unsigned dest_bit_size = nir_dest_bit_size(instr->dest.dest); in validate_alu_instr() local 392 validate_assert(state, dest_bit_size == nir_alu_type_get_type_size(dest_type)); in validate_alu_instr() 394 validate_assert(state, dest_bit_size == instr_bit_size); in validate_alu_instr() 401 validate_assert(state, dest_bit_size == 16 || dest_bit_size == 32 || in validate_alu_instr() 402 dest_bit_size == 64); in validate_alu_instr() 589 unsigned dest_bit_size = 0; in validate_intrinsic_instr() local 595 dest_bit_size = nir_alu_type_get_type_size(dest_type); in validate_intrinsic_instr() 597 validate_assert(state, dest_bit_size != 0); in validate_intrinsic_instr() 607 dest_bit_size = param->bit_size; in validate_intrinsic_instr() 619 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()
|