Lines Matching refs:round
37 nir_rounding_mode round)
39 switch (round) {
59 nir_rounding_mode round)
72 switch (round) {
112 nir_rounding_mode round)
139 nir_round_int_to_float(b, abs, nir_type_uint, dest_bit_size, round);
142 switch (round) {
171 switch (round) {
413 /* Float down-casts don't round */
438 nir_rounding_mode round,
454 round = nir_simplify_conversion_rounding(src_type, dest_type, round);
473 if (!clamp && round == nir_rounding_mode_undef) {
477 (round == nir_rounding_mode_rtne ||
478 round == nir_rounding_mode_rtz)) {
484 nir_op op = nir_type_conversion_op(src_type, dest_type, round);
494 /* round with selected rounding mode */
495 if (!trivial_convert && round != nir_rounding_mode_undef) {
498 dest = nir_round_float_to_float(b, dest, dest_bit_size, round);
500 dest = nir_round_float_to_int(b, dest, round);
503 dest = nir_round_int_to_float(b, dest, src_type, dest_bit_size, round);
506 round = nir_rounding_mode_undef;
510 nir_op op = nir_type_conversion_op(src_type, dest_type, round);