Home
last modified time | relevance | path

Searched refs:nir_fabs (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_builtin_builder.c167 nir_ssa_def *abs_y_over_x = nir_fabs(b, y_over_x); in nir_atan()
231 nir_ssa_def *s = nir_bcsel(b, flip, nir_fabs(b, x), y); in nir_atan2()
232 nir_ssa_def *t = nir_bcsel(b, flip, y, nir_fabs(b, x)); in nir_atan2()
254 nir_ssa_def *scale = nir_bcsel(b, nir_fge(b, nir_fabs(b, t), huge), in nir_atan2()
276 nir_ssa_def *tan = nir_bcsel(b, nir_feq(b, nir_fabs(b, x), nir_fabs(b, y)), in nir_atan2()
277 one, nir_fabs(b, s_over_t)); in nir_atan2()
Dnir_builtin_builder.h67 res = nir_fmax(b, res, nir_fabs(b, nir_channel(b, vec, i))); in nir_fmax_abs_vec_comp()
199 nir_ssa_def *xabs = nir_fabs(b, x); in nir_maxmag()
200 nir_ssa_def *yabs = nir_fabs(b, y); in nir_maxmag()
211 nir_ssa_def *xabs = nir_fabs(b, x); in nir_minmag()
212 nir_ssa_def *yabs = nir_fabs(b, y); in nir_minmag()
Dnir_lower_frexp.c35 nir_ssa_def *abs_x = nir_fabs(b, x); in lower_frexp_sig()
110 nir_ssa_def *abs_x = nir_fabs(b, x); in lower_frexp_exp()
Dnir_lower_double_ops.c102 nir_feq(b, nir_fabs(b, src), in fix_inv_result()
302 nir_flt(b, nir_fabs(b, src), in lower_sqrt_rsq()
416 nir_ssa_def *res = nir_fsub(b, nir_fadd(b, nir_fabs(b, src), two52), two52); in lower_round_even()
419 return nir_bcsel(b, nir_flt(b, nir_fabs(b, src), two52), in lower_round_even()
Dnir_normalize_cubemap_coords.c59 nir_ssa_def *abs = nir_fabs(b, orig_coord); in normalize_cubemap_coords_block()
Dnir_lower_idiv.c69 af = nir_fabs(bld, af); in convert_instr()
70 bf = nir_fabs(bld, bf); in convert_instr()
Dnir_lower_tex.c545 nir_ssa_def *abs_p = nir_fabs(b, p); in lower_gradient_cube_map()
661 rho = nir_fmax(b, nir_fabs(b, dPdx), nir_fabs(b, dPdy)); in lower_gradient()
Dnir_lower_int64.c770 x = nir_fabs(b, x); in lower_f2()
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c540 nir_fabs(&b->nb, nir_fddx(&b->nb, src[0])), in vtn_handle_alu()
541 nir_fabs(&b->nb, nir_fddy(&b->nb, src[0]))); in vtn_handle_alu()
545 nir_fabs(&b->nb, nir_fddx_fine(&b->nb, src[0])), in vtn_handle_alu()
546 nir_fabs(&b->nb, nir_fddy_fine(&b->nb, src[0]))); in vtn_handle_alu()
550 nir_fabs(&b->nb, nir_fddx_coarse(&b->nb, src[0])), in vtn_handle_alu()
551 nir_fabs(&b->nb, nir_fddy_coarse(&b->nb, src[0]))); in vtn_handle_alu()
590 dest->def = nir_ieq(&b->nb, nir_fabs(&b->nb, src[0]), inf); in vtn_handle_alu()
Dvtn_glsl450.c203 nir_ssa_def *abs_x = nir_fabs(b, x); in build_asin()
340 nir_ssa_def *abs = nir_fabs(nb, src[0]); in handle_glsl450_alu()
352 nir_ssa_def *abs = nir_fabs(nb, src[0]); in handle_glsl450_alu()
495 nir_flog(nb, nir_fadd(nb, nir_fabs(nb, src[0]), in handle_glsl450_alu()
Dvtn_opencl.c743 return nir_bcsel(nb, nir_fge(nb, nir_fabs(nb, remainder), half), in handle_round()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c104 nir_fabs(&b, nir_fsub(&b, line_coord, in initialise_coverage_var()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c179 nir_fneg(b, nir_fabs(b, nir_channel(b, lw, 0))))); in nir_lower_aaline_block()
181 nir_fneg(b, nir_fabs(b, nir_channel(b, lw, 2))))); in nir_lower_aaline_block()
Dtgsi_to_nir.c901 def = nir_fabs(b, def); in ttn_get_src()
993 nir_ssa_def *abs_srcx = nir_fabs(b, ttn_channel(b, src[0], X)); in ttn_log()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_opt_peephole_ffma.c232 mul_src[i] = nir_fabs(b, mul_src[i]); in brw_nir_opt_peephole_ffma_block()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c315 nir_ssa_def *abs_srcx = nir_fabs(b, ptn_channel(b, src[0], X)); in ptn_log()
675 nir_frsq(b, nir_fabs(b, ptn_channel(b, src[0], X)))); in ptn_emit_instruction()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1922 result = type_is_float(types[0]) ? nir_fabs(&b, srcs[0]) in visit()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h684 nir_fabs(nir_builder *build, nir_ssa_def *src0) in nir_fabs() function