Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c156 return lp_build_sub(bld, term1, term2); in lp_build_blend_func()
158 return lp_build_sub(bld, term2, term1); in lp_build_blend_func()
218 return lp_build_sub(bld, result, dst); in lp_build_blend()
221 return lp_build_sub(bld, src, result); in lp_build_blend()
228 return lp_build_sub(bld, dst, result); in lp_build_blend()
231 return lp_build_sub(bld, result, src); in lp_build_blend()
Dlp_bld_depth.c213 res = lp_build_sub(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
221 res = lp_build_sub(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
Dlp_state_setup.c293 exp = lp_build_sub(&int_scalar_bld, exp, c23_shifted); in lp_do_offset_tri()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_quad.c68 return lp_build_sub(bld, a_right, a_left); in lp_build_ddx()
78 return lp_build_sub(bld, a_bottom, a_top); in lp_build_ddy()
Dlp_bld_sample.c1178 lf = lp_build_sub(bld, const127, level); in lp_build_minify()
1568 maxmy0 = lp_build_sub(ivec_bld, max_coord, y0); in lp_build_cube_new_coords()
1571 next_xcoords[0][0] = lp_build_sub(ivec_bld, max_coord, next_xcoords[1][0]); in lp_build_cube_new_coords()
1572 maxmy1 = lp_build_sub(ivec_bld, max_coord, y1); in lp_build_cube_new_coords()
1575 next_xcoords[0][1] = lp_build_sub(ivec_bld, max_coord, next_xcoords[1][1]); in lp_build_cube_new_coords()
1580 maxmx0 = lp_build_sub(ivec_bld, max_coord, x0); in lp_build_cube_new_coords()
1583 tmp = lp_build_sub(ivec_bld, max_coord, next_xcoords[3][0]); in lp_build_cube_new_coords()
1585 maxmx1 = lp_build_sub(ivec_bld, max_coord, x1); in lp_build_cube_new_coords()
1588 tmp = lp_build_sub(ivec_bld, max_coord, next_xcoords[3][1]); in lp_build_cube_new_coords()
1612 tmp = lp_build_sub(ivec_bld, max_coord, next_ycoords[3][0]); in lp_build_cube_new_coords()
[all …]
Dlp_bld_sample_soa.c250 fract = lp_build_sub(coord_bld, coord, fract); in lp_build_coord_mirror()
286 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear()
293 coord_f = lp_build_sub(coord_bld, coord_f, half); in lp_build_coord_repeat_npot_linear()
334 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear()
342 coord = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
391 coord = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
417 coord = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
431 coord0 = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
459 coord = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
477 coord = lp_build_sub(coord_bld, coord, half); in lp_build_sample_wrap_linear()
[all …]
Dlp_bld_tgsi_action.c313 lp_build_sub(&bld_base->base, emit_data->args[0] /* src0.x */, floor_x); in exp_emit()
339 lp_build_sub(&bld_base->base, emit_data->args[0], tmp); in frc_emit()
563 inv = lp_build_sub(bld, bld_base->base.one, emit_data->args[0]); in lrp_emit()
1521 emit_data->output[emit_data->chan] = lp_build_sub(&bld_base->int_bld, in ineg_emit_cpu()
2112 emit_data->output[emit_data->chan] = lp_build_sub(&bld_base->dbl_bld, in dneg_emit_cpu()
2221 emit_data->output[emit_data->chan] = lp_build_sub(&bld_base->int64_bld, in i64neg_emit_cpu()
2413 LLVMValueRef one_shl_bits_dec_one = lp_build_sub( in bfi_emit_cpu()
2447 emit_data->output[emit_data->chan] = lp_build_sub( in umsb_emit_cpu()
2486 LLVMValueRef r_32_sub_bits = lp_build_sub( in ibfe_emit_cpu()
2490 lp_build_sub(uint_bld, r_32_sub_bits, emit_data->args[1]); in ibfe_emit_cpu()
[all …]
Dlp_bld_sample_aos.c94 length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_nearest_int()
150 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear_int()
241 length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_linear_int()
Dlp_bld_arit.h71 lp_build_sub(struct lp_build_context *bld,
Dlp_bld_tgsi_aos.c552 tmp0 = lp_build_sub(&bld->bld_base.base, src1, src2); in lp_emit_instruction_aos()
560 dst0 = lp_build_sub(&bld->bld_base.base, src0, tmp0); in lp_emit_instruction_aos()
Dlp_bld_format_float.c371 denorm = lp_build_sub(&f32_bld, denorm, in lp_build_smallfloat_to_float()
Dlp_bld_arit.c767 lp_build_sub(struct lp_build_context *bld, in lp_build_sub() function
1372 delta = lp_build_sub(bld, v1, v0); in lp_build_lerp_simple()
2208 res = lp_build_sub(bld, res, tmp); in lp_build_floor()
2308 return lp_build_sub(bld, a, lp_build_floor(bld, a)); in lp_build_fract()
2519 return lp_build_sub(&intbld, itrunc, mask); in lp_build_iceil()
3458 lp_build_sub(bld, mant, bld->one), in lp_build_log2_approx()
Dlp_bld_nir.c642 result = lp_build_sub(flt_bld, src[0], tmp); in do_alu_action()
672 result = lp_build_sub(flt_bld, src[0], result); in do_alu_action()
828 result = lp_build_sub(get_int_bld(bld_base, false, src_bit_size[0]), in do_alu_action()
891 …result = lp_build_sub(uint_bld, lp_build_const_int_vec(gallivm, uint_bld->type, src_bit_size[0] - … in do_alu_action()
Dlp_bld_format_s3tc.c533 delta_lo = lp_build_sub(&bld2, v1_lo, v0_lo); in lp_build_lerp23()
534 delta_hi = lp_build_sub(&bld2, v1_hi, v0_hi); in lp_build_lerp23()
1243 delta = lp_build_sub(&bld2, v1, v0); in lp_build_lerp23_single()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c2098 tmp = lp_build_sub(&bld, bsize, bld.one); in draw_llvm_generate()