Home
last modified time | relevance | path

Searched refs:lp_build_mul (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c134 srcf = lp_build_mul(&f32_bld, srcf, rescale_const); in lp_build_srgb_to_linear()
137 part_lin = lp_build_mul(&f32_bld, srcf, lin_const); in lp_build_srgb_to_linear()
197 tmp = lp_build_mul(&f32_bld, coeff, src); in lp_build_linear_to_srgb()
202 tmp = lp_build_mul(&f32_bld, tmp, exponent); in lp_build_linear_to_srgb()
214 pow_1 = lp_build_mul(&f32_bld, pow_approx, src); in lp_build_linear_to_srgb()
220 x2 = lp_build_mul(&f32_bld, src, src); in lp_build_linear_to_srgb()
221 pow_2 = lp_build_mul(&f32_bld, x2, tmp); in lp_build_linear_to_srgb()
230 pow_final = lp_build_mul(&f32_bld, tmp, coeff); in lp_build_linear_to_srgb()
268 x05 = lp_build_mul(&f32_bld, src, tmp); in lp_build_linear_to_srgb()
279 tmp = lp_build_mul(&f32_bld, x05, src); in lp_build_linear_to_srgb()
[all …]
Dlp_bld_sample.c274 cubesize = lp_build_mul(rho_bld, cubesize, cubesize); in lp_build_rho()
275 rho = lp_build_mul(rho_bld, cubesize, rho); in lp_build_rho()
291 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]); in lp_build_rho()
292 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]); in lp_build_rho()
293 ddx[i] = lp_build_mul(coord_bld, ddx[i], ddx[i]); in lp_build_rho()
294 ddy[i] = lp_build_mul(coord_bld, ddy[i], ddy[i]); in lp_build_rho()
301 ddmax[i] = lp_build_mul(coord_bld, floatdim, ddmax[i]); in lp_build_rho()
377 ddx_ddy[0] = lp_build_mul(coord_bld, ddx_ddy[0], floatdim); in lp_build_rho()
378 ddx_ddy[0] = lp_build_mul(coord_bld, ddx_ddy[0], ddx_ddy[0]); in lp_build_rho()
390 ddx_ddy[1] = lp_build_mul(coord_bld, ddx_ddy[1], floatdim); in lp_build_rho()
[all …]
Dlp_bld_sample_soa.c239 coord = lp_build_mul(coord_bld, coord, half); in lp_build_coord_mirror()
283 coord_f = lp_build_mul(coord_bld, coord_f, length_f); in lp_build_coord_repeat_npot_linear()
332 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
366 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
396 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
437 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
467 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
499 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
525 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
559 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
[all …]
Dlp_bld_sample_aos.c109 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_nearest_int()
166 coord = lp_build_mul(coord_bld, coord, length); in lp_build_sample_wrap_nearest_float()
173 coord = lp_build_mul(coord_bld, coord, length); in lp_build_sample_wrap_nearest_float()
219 coord_f = lp_build_mul(coord_bld, coord_f, length_f); in lp_build_coord_repeat_npot_linear_int()
384 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
406 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
465 coord = lp_build_mul(coord_bld, coord, length); in lp_build_sample_wrap_linear_float()
491 coord = lp_build_mul(coord_bld, coord, length); in lp_build_sample_wrap_linear_float()
516 coord = lp_build_mul(coord_bld, coord, length); in lp_build_sample_wrap_linear_float()
726 z_offset = lp_build_mul(&bld->int_coord_bld, r, img_stride_vec); in lp_build_sample_image_nearest()
[all …]
Dlp_bld_format_float.c133 normal = lp_build_mul(&f32_bld, rescale_src, magic); in lp_build_float_to_smallfloat()
339 res = lp_build_mul(&f32_bld, srcabs, magic); in lp_build_smallfloat_to_float()
449 return lp_build_mul(&f32_bld, src, scale); in lp_build_rgb9_to_float_helper()
Dlp_bld_arit.c1022 lp_build_mul(struct lp_build_context *bld, in lp_build_mul() function
1280 return lp_build_add(bld, lp_build_mul(bld, a, b), c); in lp_build_mad()
1337 return lp_build_mul(bld, a, factor); in lp_build_mul_imm()
1380 return lp_build_mul(bld, a, lp_build_rcp(bld, b)); in lp_build_div()
1435 res = lp_build_mul(bld, x, delta); in lp_build_lerp_simple()
1448 res = lp_build_mul(bld, x, delta); in lp_build_lerp_simple()
3132 return lp_build_exp2(bld, lp_build_mul(bld, lp_build_log2(bld, x), y)); in lp_build_pow()
3149 return lp_build_exp2(bld, lp_build_mul(bld, log2e, x)); in lp_build_exp()
3167 return lp_build_mul(bld, log2, lp_build_log2(bld, x)); in lp_build_log()
3183 return lp_build_mul(bld, log2, lp_build_log2_safe(bld, x)); in lp_build_log_safe()
[all …]
Dlp_bld_tgsi_aos.c491 dst0 = lp_build_mul(&bld->bld_base.base, src0, src1); in lp_emit_instruction_aos()
544 tmp0 = lp_build_mul(&bld->bld_base.base, src0, src1); in lp_emit_instruction_aos()
553 tmp0 = lp_build_mul(&bld->bld_base.base, src0, tmp0); in lp_emit_instruction_aos()
Dlp_bld_arit.h82 lp_build_mul(struct lp_build_context *bld,
Dlp_bld_tgsi_action.c564 a = lp_build_mul(bld, emit_data->args[1], emit_data->args[0]); in lrp_emit()
565 b = lp_build_mul(bld, emit_data->args[2], inv); in lrp_emit()
736 emit_data->output[emit_data->chan] = lp_build_mul(&bld_base->uint_bld, in umul_emit()
961 emit_data->output[emit_data->chan] = lp_build_mul(&bld_base->uint64_bld, in u64mul_emit()
Dlp_bld_tgsi_soa.c1159 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets()
2148 coords[i] = lp_build_mul(&bld->bld_base.base, coords[i], oow); in emit_tex()
2163 coords[2] = lp_build_mul(&bld->bld_base.base, coords[2], oow); in emit_tex()
2175 coords[4] = lp_build_mul(&bld->bld_base.base, coords[4], oow); in emit_tex()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c217 result = lp_build_mul(bld, result, src_factor); in lp_build_blend()
220 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
227 result = lp_build_mul(bld, result, src_factor); in lp_build_blend()
230 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
242 return lp_build_mul(bld, result, src_factor); in lp_build_blend()
312 src_term = lp_build_mul(bld, src, src_factor); in lp_build_blend()
313 dst_term = lp_build_mul(bld, dst, dst_factor); in lp_build_blend()
Dlp_bld_interp.c320 a = lp_build_mul(coeff_bld, a, oow); in attribs_update_simple()
534 a = lp_build_mul(coeff_bld, a, bld->oow); in coeffs_init()
621 lp_build_mul(coeff_bld, a, dwdq)); in attribs_update()
622 dadq = lp_build_mul(coeff_bld, dadq, oow); in attribs_update()
640 a = lp_build_mul(coeff_bld, a, oow); in attribs_update()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c741 offset = lp_build_mul(&blduivec, vb_stride, indices); in fetch_vector()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c2668 lp_build_mul(&ctx->bld_base.base, base_elt, in si_llvm_emit_clipvertex()