Home
last modified time | relevance | path

Searched refs:nir_imm_floatN_t (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_builtin_builder.c87 x = nir_fmul(b, x, nir_imm_floatN_t(b, 1.0, x->bit_size)); in nir_nextafter()
115 nir_ssa_def *f0 = nir_imm_floatN_t(b, 0.0, vec->bit_size); in nir_normalize()
116 nir_ssa_def *f1 = nir_imm_floatN_t(b, 1.0, vec->bit_size); in nir_normalize()
117 nir_ssa_def *finf = nir_imm_floatN_t(b, INFINITY, vec->bit_size); in nir_normalize()
134 nir_ssa_def *f2 = nir_imm_floatN_t(b, 2.0, x->bit_size); in nir_smoothstep()
135 nir_ssa_def *f3 = nir_imm_floatN_t(b, 3.0, x->bit_size); in nir_smoothstep()
181 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0f, bit_size); in nir_atan()
235 nir_ssa_def *zero = nir_imm_floatN_t(b, 0, bit_size); in nir_atan2()
236 nir_ssa_def *one = nir_imm_floatN_t(b, 1, bit_size); in nir_atan2()
267 nir_ssa_def *huge = nir_imm_floatN_t(b, huge_val, bit_size); in nir_atan2()
[all …]
Dnir_conversion_builder.h81 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()
263 *low = nir_imm_floatN_t(b, ilow, src_bit_size); in nir_get_clamp_limits()
264 *high = nir_imm_floatN_t(b, ihigh, src_bit_size); in nir_get_clamp_limits()
276 *low = nir_imm_floatN_t(b, 0.0f, src_bit_size); in nir_get_clamp_limits()
277 *high = nir_imm_floatN_t(b, uhigh, src_bit_size); in nir_get_clamp_limits()
324 *low = nir_imm_floatN_t(b, flow, src_bit_size); in nir_get_clamp_limits()
325 *high = nir_imm_floatN_t(b, fhigh, src_bit_size); in nir_get_clamp_limits()
Dnir_lower_blend.c87 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0, src->bit_size); in nir_alpha_saturate()
104 return nir_imm_floatN_t(b, 0.0, src->bit_size); in nir_blend_factor_value()
287 nir_ssa_def *zero = nir_imm_floatN_t(b, 0.0, dst->bit_size); in nir_blend()
288 nir_ssa_def *one = nir_imm_floatN_t(b, 1.0, dst->bit_size); in nir_blend()
Dnir_lower_frexp.c36 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()
Dnir_builder.h315 nir_imm_floatN_t(nir_builder *build, double x, unsigned bit_size) in nir_imm_floatN_t() function
324 return nir_imm_floatN_t(build, x, 16); in nir_imm_float16()
330 return nir_imm_floatN_t(build, x, 32); in nir_imm_float()
336 return nir_imm_floatN_t(build, x, 64); in nir_imm_double()
900 return nir_fadd(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fadd_imm()
906 return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fmul_imm()
986 return nir_ffma(build, src0, nir_imm_floatN_t(build, src1, src0->bit_size), in nir_ffma_imm12()
987 nir_imm_floatN_t(build, src2, src0->bit_size)); in nir_ffma_imm12()
993 return nir_ffma(build, src0, nir_imm_floatN_t(build, src1, src0->bit_size), src2); in nir_ffma_imm1()
999 return nir_ffma(build, src0, src1, nir_imm_floatN_t(build, src2, src0->bit_size)); in nir_ffma_imm2()
Dnir_builtin_builder.h151 nir_ssa_def *zero = nir_imm_floatN_t(b, 0.0, x->bit_size); in nir_fdim()
202 nir_ssa_def *nan = nir_imm_floatN_t(b, NAN, x->bit_size); in nir_nan()
Dnir_lower_int64.c695 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()
779 res = nir_bcsel(b, nir_flt(b, x_sign, nir_imm_floatN_t(b, 0, x->bit_size)), in lower_f2()
Dnir_lower_texcoord_replace.c95 nir_ssa_def *one = nir_imm_floatN_t(&b, 1.0, new_coord->bit_size); in nir_lower_texcoord_replace_impl()
Dnir_lower_flrp.c87 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()
Dnir_opt_comparison_pre.c162 nir_imm_floatN_t(bld, 0.0, orig_add->dest.dest.ssa.bit_size); in rewrite_compare_instruction()
Dnir_lower_tex.c344 nir_imm_floatN_t(b, offset_vals[0], a->bit_size), in convert_yuv_to_rgb()
345 nir_imm_floatN_t(b, offset_vals[1], a->bit_size), in convert_yuv_to_rgb()
346 nir_imm_floatN_t(b, offset_vals[2], a->bit_size), in convert_yuv_to_rgb()
Dnir_search.c543 cval = nir_imm_floatN_t(build, c->data.d, bit_size); in construct_value()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c201 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()
213 nir_a_minus_bc(b, nir_imm_floatN_t(b, M_PI_2f, x->bit_size), in build_asin()
301 #define NIR_IMM_FP(n, v) (nir_imm_floatN_t(n, v, src[0]->bit_size))
480 nir_imm_floatN_t(nb, -clamped_x, bit_size), in handle_glsl450_alu()
481 nir_imm_floatN_t(nb, clamped_x, bit_size)); in handle_glsl450_alu()
500 nir_ssa_def *one = nir_imm_floatN_t(nb, 1.0, src[0]->bit_size); in handle_glsl450_alu()
514 nir_fsub(nb, nir_imm_floatN_t(nb, M_PI_2f, src[0]->bit_size), in handle_glsl450_alu()
Dvtn_opencl.c846 nir_ssa_def *half = nir_imm_floatN_t(nb, 0.5, src->bit_size); in handle_round()
Dvtn_alu.c598 nir_ssa_def *inf = nir_imm_floatN_t(&b->nb, INFINITY, src[0]->bit_size); in vtn_handle_alu()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c549 nir_imm_floatN_t(&b, 1.0f / nsamples, type_sz)); in pan_blitter_get_blit_shader()