/external/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 102 nir_ssa_def *f0 = nir_imm_floatN_t(b, 0.0, vec->bit_size); in nir_normalize() 103 nir_ssa_def *f1 = nir_imm_floatN_t(b, 1.0, vec->bit_size); in nir_normalize() 104 nir_ssa_def *finf = nir_imm_floatN_t(b, INFINITY, vec->bit_size); in nir_normalize() 121 nir_ssa_def *f2 = nir_imm_floatN_t(b, 2.0, x->bit_size); in nir_smoothstep() 122 nir_ssa_def *f3 = nir_imm_floatN_t(b, 3.0, x->bit_size); in nir_smoothstep() 168 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0f, bit_size); in nir_atan() 221 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, bit_size); in nir_atan2() 222 nir_ssa_def *one = nir_imm_floatN_t(b, 1, bit_size); in nir_atan2() 253 nir_ssa_def *huge = nir_imm_floatN_t(b, huge_val, bit_size); in nir_atan2() 255 nir_imm_floatN_t(b, 0.25, bit_size), one); in nir_atan2()
|
D | nir_conversion_builder.h | 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() 265 low = nir_imm_floatN_t(b, ilow, src->bit_size); in nir_clamp_to_type_range() 266 high = nir_imm_floatN_t(b, ihigh, src->bit_size); in nir_clamp_to_type_range() 278 low = nir_imm_floatN_t(b, 0.0f, src->bit_size); in nir_clamp_to_type_range() 279 high = nir_imm_floatN_t(b, uhigh, src->bit_size); in nir_clamp_to_type_range() 326 low = nir_imm_floatN_t(b, flow, src->bit_size); in nir_clamp_to_type_range() 327 high = nir_imm_floatN_t(b, fhigh, src->bit_size); in nir_clamp_to_type_range()
|
D | nir_lower_frexp.c | 36 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, x->bit_size); in lower_frexp_sig() 111 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, x->bit_size); in lower_frexp_exp()
|
D | nir_lower_int64.c | 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() 763 x = nir_fmin(b, x, nir_imm_floatN_t(b, UINT64_MAX, x->bit_size)); in lower_f2() 768 x = nir_fmin(b, x, nir_imm_floatN_t(b, INT64_MAX, x->bit_size)); in lower_f2() 769 x = nir_fmax(b, x, nir_imm_floatN_t(b, INT64_MIN, x->bit_size)); in lower_f2() 773 nir_ssa_def *div = nir_imm_floatN_t(b, 1ULL << 32, x->bit_size); in lower_f2()
|
D | nir_builtin_builder.h | 172 nir_ssa_def *zero = nir_imm_floatN_t(b, 0.0, x->bit_size); in nir_fdim() 223 nir_ssa_def *nan = nir_imm_floatN_t(b, NAN, x->bit_size); in nir_nan()
|
D | nir_lower_flrp.c | 87 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_single_ffma() 120 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_strict()
|
D | nir_builder.h | 309 nir_imm_floatN_t(nir_builder *build, double x, unsigned bit_size) in nir_imm_floatN_t() function 318 return nir_imm_floatN_t(build, x, 16); in nir_imm_float16() 324 return nir_imm_floatN_t(build, x, 32); in nir_imm_float() 330 return nir_imm_floatN_t(build, x, 64); in nir_imm_double() 826 return nir_fadd(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fadd_imm() 832 return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fmul_imm()
|
D | nir_opt_comparison_pre.c | 166 nir_imm_floatN_t(bld, 0.0, orig_add->dest.dest.ssa.bit_size); in rewrite_compare_instruction()
|
D | nir_search.c | 544 cval = nir_imm_floatN_t(build, c->data.d, bit_size); in construct_value()
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 201 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0f, x->bit_size); in build_asin() 202 nir_ssa_def *half = nir_imm_floatN_t(b, 0.5f, x->bit_size); in build_asin() 215 nir_fsub(b, nir_imm_floatN_t(b, M_PI_2f, x->bit_size), in build_asin() 306 #define NIR_IMM_FP(n, v) (nir_imm_floatN_t(n, v, src[0]->bit_size)) 483 nir_imm_floatN_t(nb, -clamped_x, bit_size), in handle_glsl450_alu() 484 nir_imm_floatN_t(nb, clamped_x, bit_size)); in handle_glsl450_alu() 505 nir_ssa_def *one = nir_imm_floatN_t(nb, 1.0, src[0]->bit_size); in handle_glsl450_alu() 519 nir_fsub(nb, nir_imm_floatN_t(nb, M_PI_2f, src[0]->bit_size), in handle_glsl450_alu()
|
D | vtn_alu.c | 589 nir_ssa_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size); in vtn_handle_alu()
|
D | vtn_opencl.c | 739 nir_ssa_def *half = nir_imm_floatN_t(nb, 0.5, src->bit_size); in handle_round()
|