/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 106 coord_f = lp_build_add(coord_bld, coord_f, offset); in lp_build_sample_wrap_nearest_int() 248 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int() 258 coord_f = lp_build_add(&bld->coord_bld, coord_f, offset); in lp_build_sample_wrap_linear_int() 266 lp_build_add(int_coord_bld, coord0, in lp_build_sample_wrap_linear_int() 273 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int() 312 coord_f = lp_build_add(&bld->coord_bld, coord_f, offset); in lp_build_sample_wrap_linear_int() 324 lp_build_add(int_coord_bld, *offset0, stride), in lp_build_sample_wrap_linear_int() 345 *offset1 = lp_build_add(int_coord_bld, in lp_build_sample_wrap_linear_int() 493 s_ipart = lp_build_add(&i32, s_ipart, offsets[0]); in lp_build_sample_image_nearest() 495 t_ipart = lp_build_add(&i32, t_ipart, offsets[1]); in lp_build_sample_image_nearest() [all …]
|
D | lp_bld_sample_soa.c | 146 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa() 251 coord = lp_build_add(coord_bld, fract, fract); in lp_build_coord_mirror() 345 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear() 349 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 359 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear() 367 lp_build_add(int_coord_bld, coord0, int_coord_bld->one), in lp_build_sample_wrap_linear() 379 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear() 395 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() 409 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear() 422 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear() [all …]
|
D | lp_bld_sample.c | 340 rho_xvec = lp_build_add(coord_bld, ddx[0], ddx[1]); in lp_build_rho() 341 rho_yvec = lp_build_add(coord_bld, ddy[0], ddy[1]); in lp_build_rho() 343 rho_xvec = lp_build_add(coord_bld, rho_xvec, ddx[2]); in lp_build_rho() 344 rho_yvec = lp_build_add(coord_bld, rho_yvec, ddy[2]); in lp_build_rho() 416 rho_vec = lp_build_add(coord_bld, ddx_ddys, ddx_ddyt); in lp_build_rho() 428 rho_vec = lp_build_add(coord_bld, rho_vec, ddx_ddy[1]); in lp_build_rho() 613 lod = lp_build_add(bld, lod, in lp_build_brilinear_lod() 958 level = lp_build_add(leveli_bld, lod_ipart, first_level); in lp_build_nearest_mip_level() 1020 *level0_out = lp_build_add(leveli_bld, lod_ipart, first_level); in lp_build_linear_mip_levels() 1021 *level1_out = lp_build_add(leveli_bld, *level0_out, leveli_bld->one); in lp_build_linear_mip_levels() [all …]
|
D | lp_bld_format_srgb.c | 227 tmp = lp_build_add(&f32_bld, pow_1, pow_2); in lp_build_linear_to_srgb() 241 pow_final = lp_build_add(&f32_bld, pow_final, in lp_build_linear_to_srgb() 294 pow_final = lp_build_add(&f32_bld, tmp, tmp2); in lp_build_linear_to_srgb()
|
D | lp_bld_nir_soa.c | 168 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets() 181 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets() 369 …swizzle_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm,… in emit_load_var() 372 …attrib_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm, … in emit_load_var() 408 …swizzle_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm,… in emit_load_var() 411 …attrib_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm, … in emit_load_var() 428 …LLVMValueRef attrib_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_… in emit_load_var() 486 …attrib_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm, … in emit_load_var() 566 …swizzle_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm,… in emit_store_tcs_chan() 569 …attrib_index_val = lp_build_add(&bld_base->uint_bld, indir_index, lp_build_const_int_vec(gallivm, … in emit_store_tcs_chan() [all …]
|
D | lp_bld_format_float.c | 378 normal = lp_build_add(&i32_bld, srcabs, exp_adj); in lp_build_smallfloat_to_float() 494 scale = lp_build_add(&i32_bld, exp, bias); in lp_build_rgb9e5_to_float()
|
D | lp_bld_tgsi_aos.c | 497 dst0 = lp_build_add(&bld->bld_base.base, src0, src1); in lp_emit_instruction_aos() 545 dst0 = lp_build_add(&bld->bld_base.base, tmp0, src2); in lp_emit_instruction_aos() 554 dst0 = lp_build_add(&bld->bld_base.base, tmp0, src2); in lp_emit_instruction_aos()
|
D | lp_bld_arit.c | 443 lp_build_add(struct lp_build_context *bld, in lp_build_add() function 1237 return lp_build_add(bld, lp_build_mul(bld, a, b), c); in lp_build_mad() 1265 return lp_build_add(bld, a, a); in lp_build_mul_imm() 1388 x = lp_build_add(bld, x, lp_build_shr_imm(bld, x, half_width - 1)); in lp_build_lerp_simple() 1424 res = lp_build_add(&narrow_bld, v0, res); in lp_build_lerp_simple() 1427 res = lp_build_add(bld, v0, res); in lp_build_lerp_simple() 2280 res = lp_build_add(bld, trunc, tmp); in lp_build_ceil() 2464 return lp_build_add(&intbld, itrunc, mask); in lp_build_ifloor() 3459 lp_build_add(bld, mant, bld->one) in lp_build_log2_approx()
|
D | lp_bld_arit.h | 57 lp_build_add(struct lp_build_context *bld,
|
D | lp_bld_tgsi_soa.c | 710 index = lp_build_add(uint_bld, base, rel); in get_indirect_index() 783 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets() 796 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets() 855 index_vec = lp_build_add(uint_bld, index_vec, swizzle_vec); in emit_fetch_constant() 861 index_vec2 = lp_build_add(uint_bld, index_vec2, swizzle_vec2); in emit_fetch_constant() 3488 index_vec = lp_build_add(uint_bld, index_vec, in load_emit() 3513 …LLVMValueRef loop_index = lp_build_add(uint_bld, index, lp_build_const_int_vec(gallivm, uint_bld->… in load_emit() 3632 …LLVMValueRef loop_index = lp_build_add(uint_bld, index, lp_build_const_int_vec(gallivm, uint_bld->… in store_emit() 3815 …index = lp_build_add(uint_bld, index, lp_build_const_int_vec(gallivm, uint_bld->type, emit_data->c… in atomic_emit()
|
D | lp_bld_format_s3tc.c | 543 *res0 = lp_build_add(bld, tmp, v0); in lp_build_lerp23() 551 *res1 = lp_build_add(bld, tmp, v0); in lp_build_lerp23() 668 addlo = lp_build_add(&bld2, v0_lo, v1_lo); in s3tc_dxt1_full_to_rgba_aos() 669 addhi = lp_build_add(&bld2, v0_hi, v1_hi); in s3tc_dxt1_full_to_rgba_aos() 1251 return lp_build_add(bld, res, v01); in lp_build_lerp23_single() 1372 vhalf = lp_build_add(&bld16, v0, v1); in s3tc_decode_block_dxt1()
|
D | lp_bld_tgsi_action.c | 566 emit_data->output[emit_data->chan] = lp_build_add(bld, a, b); in lrp_emit() 1263 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->base, in add_emit_cpu() 1935 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->uint_bld, in uadd_emit_cpu() 2356 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->uint64_bld, in u64add_emit_cpu()
|
D | lp_bld_nir.c | 604 result = lp_build_add(get_flt_bld(bld_base, src_bit_size[0]), in do_alu_action() 749 result = lp_build_add(get_int_bld(bld_base, false, src_bit_size[0]), in do_alu_action() 1056 offset = lp_build_add(&bld_base->uint_bld, offset, array_off); in get_deref_offset()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend.c | 154 return lp_build_add(bld, term1, term2); in lp_build_blend_func() 214 result = lp_build_add(bld, src, dst); in lp_build_blend() 224 result = lp_build_add(bld, src, dst); in lp_build_blend()
|
D | lp_bld_interp.c | 376 chan_pixoffx = lp_build_add(coeff_bld, chan_pixoffx, xoffset); in attribs_update_simple() 377 chan_pixoffy = lp_build_add(coeff_bld, chan_pixoffy, yoffset); in attribs_update_simple()
|
D | lp_bld_depth.c | 209 res = lp_build_add(bld, stencilVals, bld->one); in lp_build_stencil_op_single() 217 res = lp_build_add(bld, stencilVals, bld->one); in lp_build_stencil_op_single()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 2097 buf_offset = lp_build_add(&bld, vb_buffer_offset, src_offset); in draw_llvm_generate()
|