Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c135 srcf = lp_build_mul(&f32_bld, srcf, rescale_const); in lp_build_srgb_to_linear()
138 part_lin = lp_build_mul(&f32_bld, srcf, lin_const); in lp_build_srgb_to_linear()
198 tmp = lp_build_mul(&f32_bld, coeff, src); in lp_build_linear_to_srgb()
203 tmp = lp_build_mul(&f32_bld, tmp, exponent); in lp_build_linear_to_srgb()
215 pow_1 = lp_build_mul(&f32_bld, pow_approx, src); in lp_build_linear_to_srgb()
221 x2 = lp_build_mul(&f32_bld, src, src); in lp_build_linear_to_srgb()
222 pow_2 = lp_build_mul(&f32_bld, x2, tmp); in lp_build_linear_to_srgb()
231 pow_final = lp_build_mul(&f32_bld, tmp, coeff); in lp_build_linear_to_srgb()
269 x05 = lp_build_mul(&f32_bld, src, tmp); in lp_build_linear_to_srgb()
280 tmp = lp_build_mul(&f32_bld, x05, src); in lp_build_linear_to_srgb()
[all …]
Dlp_bld_sample.c309 cubesize = lp_build_mul(rho_bld, cubesize, cubesize); in lp_build_rho()
310 rho = lp_build_mul(rho_bld, cubesize, rho); in lp_build_rho()
326 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]); in lp_build_rho()
327 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]); in lp_build_rho()
328 ddx[i] = lp_build_mul(coord_bld, ddx[i], ddx[i]); in lp_build_rho()
329 ddy[i] = lp_build_mul(coord_bld, ddy[i], ddy[i]); in lp_build_rho()
336 ddmax[i] = lp_build_mul(coord_bld, floatdim, ddmax[i]); in lp_build_rho()
412 ddx_ddy[0] = lp_build_mul(coord_bld, ddx_ddy[0], floatdim); in lp_build_rho()
413 ddx_ddy[0] = lp_build_mul(coord_bld, ddx_ddy[0], ddx_ddy[0]); in lp_build_rho()
425 ddx_ddy[1] = lp_build_mul(coord_bld, ddx_ddy[1], floatdim); in lp_build_rho()
[all …]
Dlp_bld_sample_soa.c248 coord = lp_build_mul(coord_bld, coord, half); in lp_build_coord_mirror()
292 coord_f = lp_build_mul(coord_bld, coord_f, length_f); in lp_build_coord_repeat_npot_linear()
341 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
375 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
405 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
446 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
476 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
508 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
534 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
568 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
[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_sample_aos.c109 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_nearest_int()
157 coord_f = lp_build_mul(coord_bld, coord_f, length_f); in lp_build_coord_repeat_npot_linear_int()
322 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
344 *offset0 = lp_build_mul(int_coord_bld, coord0, stride); in lp_build_sample_wrap_linear_int()
541 z_offset = lp_build_mul(&bld->int_coord_bld, r, img_stride_vec); in lp_build_sample_image_nearest()
877 z_offset = lp_build_mul(&bld->int_coord_bld, r, img_stride_vec); in lp_build_sample_image_linear()
Dlp_bld_arit.c971 lp_build_mul(struct lp_build_context *bld, in lp_build_mul() function
1237 return lp_build_add(bld, lp_build_mul(bld, a, b), c); in lp_build_mad()
1294 return lp_build_mul(bld, a, factor); in lp_build_mul_imm()
1337 return lp_build_mul(bld, a, lp_build_rcp(bld, b)); in lp_build_div()
1392 res = lp_build_mul(bld, x, delta); in lp_build_lerp_simple()
1405 res = lp_build_mul(bld, x, delta); in lp_build_lerp_simple()
3077 LLVMValueRef res = lp_build_exp2(bld, lp_build_mul(bld, lp_build_log2(bld, x), y)); in lp_build_pow()
3097 return lp_build_exp2(bld, lp_build_mul(bld, log2e, x)); in lp_build_exp()
3115 return lp_build_mul(bld, log2, lp_build_log2(bld, x)); in lp_build_log()
3131 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.h83 lp_build_mul(struct lp_build_context *bld,
Dlp_bld_nir.c671 result = lp_build_mul(flt_bld, src[1], result); in do_alu_action()
676 result = lp_build_mul(get_flt_bld(bld_base, src_bit_size[0]), in do_alu_action()
776 result = lp_build_mul(get_int_bld(bld_base, false, src_bit_size[0]), in do_alu_action()
1053 …LLVMValueRef array_off = lp_build_mul(&bld_base->uint_bld, lp_build_const_int_vec(bld_base->base.g… in get_deref_offset()
1985 coords[chan] = lp_build_mul(&bld_base->base, coords[chan], projector); in visit_tex()
1987 coords[4] = lp_build_mul(&bld_base->base, coords[4], projector); in visit_tex()
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.c784 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets()
2192 coords[i] = lp_build_mul(&bld->bld_base.base, coords[i], oow); in emit_tex()
2207 coords[2] = lp_build_mul(&bld->bld_base.base, coords[2], oow); in emit_tex()
2219 coords[4] = lp_build_mul(&bld->bld_base.base, coords[4], oow); in emit_tex()
Dlp_bld_nir_soa.c167 …index_vec = lp_build_mul(uint_bld, indirect_index, lp_build_const_int_vec(uint_bld->gallivm, uint_… in get_soa_array_offsets()
169 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets()
/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.c394 a = lp_build_mul(coeff_bld, a, oow); in attribs_update_simple()
490 a = lp_build_mul(coeff_bld, a, oow); in lp_build_interp_soa_indirect()
632 a = lp_build_mul(coeff_bld, a, oow); in lp_build_interp_soa()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1090 offset = lp_build_mul(&blduivec, vb_stride, indices); in fetch_vector()