Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c106 coord_f = lp_build_add(coord_bld, coord_f, offset); in lp_build_sample_wrap_nearest_int()
162 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_nearest_float()
177 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_nearest_float()
310 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int()
320 coord_f = lp_build_add(&bld->coord_bld, coord_f, offset); in lp_build_sample_wrap_linear_int()
328 lp_build_add(int_coord_bld, coord0, in lp_build_sample_wrap_linear_int()
335 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear_int()
374 coord_f = lp_build_add(&bld->coord_bld, coord_f, offset); in lp_build_sample_wrap_linear_int()
386 lp_build_add(int_coord_bld, *offset0, stride), in lp_build_sample_wrap_linear_int()
407 *offset1 = lp_build_add(int_coord_bld, in lp_build_sample_wrap_linear_int()
[all …]
Dlp_bld_sample_soa.c145 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa()
248 coord = lp_build_add(coord_bld, coord, isOdd); in lp_build_coord_mirror()
327 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear()
331 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear()
341 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear()
349 lp_build_add(int_coord_bld, coord0, int_coord_bld->one), in lp_build_sample_wrap_linear()
361 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear()
371 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear()
385 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_linear()
397 coord1 = lp_build_add(int_coord_bld, coord0, int_coord_bld->one); in lp_build_sample_wrap_linear()
[all …]
Dlp_bld_sample.c305 rho_xvec = lp_build_add(coord_bld, ddx[0], ddx[1]); in lp_build_rho()
306 rho_yvec = lp_build_add(coord_bld, ddy[0], ddy[1]); in lp_build_rho()
308 rho_xvec = lp_build_add(coord_bld, rho_xvec, ddx[2]); in lp_build_rho()
309 rho_yvec = lp_build_add(coord_bld, rho_yvec, ddy[2]); in lp_build_rho()
381 rho_vec = lp_build_add(coord_bld, ddx_ddys, ddx_ddyt); in lp_build_rho()
393 rho_vec = lp_build_add(coord_bld, rho_vec, ddx_ddy[1]); in lp_build_rho()
578 lod = lp_build_add(bld, lod, in lp_build_brilinear_lod()
911 level = lp_build_add(leveli_bld, lod_ipart, first_level); in lp_build_nearest_mip_level()
973 *level0_out = lp_build_add(leveli_bld, lod_ipart, first_level); in lp_build_linear_mip_levels()
974 *level1_out = lp_build_add(leveli_bld, *level0_out, leveli_bld->one); in lp_build_linear_mip_levels()
[all …]
Dlp_bld_format_srgb.c226 tmp = lp_build_add(&f32_bld, pow_1, pow_2); in lp_build_linear_to_srgb()
240 pow_final = lp_build_add(&f32_bld, pow_final, in lp_build_linear_to_srgb()
293 pow_final = lp_build_add(&f32_bld, tmp, tmp2); in lp_build_linear_to_srgb()
Dlp_bld_format_float.c378 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()
Dlp_bld_tgsi_aos.c543 dst0 = lp_build_add(&bld->bld_base.base, src0, src1); in lp_emit_instruction_aos()
591 dst0 = lp_build_add(&bld->bld_base.base, tmp0, src2); in lp_emit_instruction_aos()
600 dst0 = lp_build_add(&bld->bld_base.base, tmp0, src2); in lp_emit_instruction_aos()
Dlp_bld_arit.h56 lp_build_add(struct lp_build_context *bld,
Dlp_bld_arit.c533 lp_build_add(struct lp_build_context *bld, in lp_build_add() function
1280 return lp_build_add(bld, lp_build_mul(bld, a, b), c); in lp_build_mad()
1308 return lp_build_add(bld, a, a); in lp_build_mul_imm()
1429 x = lp_build_add(bld, x, lp_build_shr_imm(bld, x, half_width - 1)); in lp_build_lerp_simple()
1465 res = lp_build_add(&narrow_bld, v0, res); in lp_build_lerp_simple()
1468 res = lp_build_add(bld, v0, res); in lp_build_lerp_simple()
2338 res = lp_build_add(bld, trunc, tmp); in lp_build_ceil()
2522 return lp_build_add(&intbld, itrunc, mask); in lp_build_ifloor()
3513 lp_build_add(bld, mant, bld->one) in lp_build_log2_approx()
Dlp_bld_tgsi_action.c625 emit_data->output[emit_data->chan] = lp_build_add(bld, a, b); in lrp_emit()
1408 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->base, in add_emit_cpu()
2080 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->uint_bld, in uadd_emit_cpu()
2501 emit_data->output[emit_data->chan] = lp_build_add(&bld_base->uint64_bld, in u64add_emit_cpu()
Dlp_bld_tgsi_soa.c1128 index = lp_build_add(uint_bld, base, rel); in get_indirect_index()
1201 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets()
1214 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets()
1271 index_vec = lp_build_add(uint_bld, index_vec, swizzle_vec); in emit_fetch_constant()
1277 index_vec2 = lp_build_add(uint_bld, index_vec2, swizzle_vec2); in emit_fetch_constant()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c99 return lp_build_add(bld, term1, term2); in lp_build_blend_func()
159 result = lp_build_add(bld, src, dst); in lp_build_blend()
169 result = lp_build_add(bld, src, dst); in lp_build_blend()
Dlp_bld_depth.c209 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()
Dlp_bld_interp.c630 a = lp_build_add(coeff_bld, a, dadq); in attribs_update()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c1017 dw_addr = lp_build_add(&bld_base->uint_bld, dw_addr, in lds_load()
1023 dw_addr = lp_build_add(&bld_base->uint_bld, dw_addr, in lds_load()
1047 dw_addr = lp_build_add(&bld_base->uint_bld, dw_addr, in lds_store()
1741 lp_build_add(bld, coord[0], coord[1])); in declare_system_value()
1929 addr = lp_build_add(&bld_base->uint_bld, addr, in fetch_constant()
1942 addr2 = lp_build_add(&bld_base->uint_bld, addr, in fetch_constant()
2253 lp_build_add(base, args[5 + chan], in si_llvm_emit_clipvertex()
4800 address[2] = lp_build_add(uint_bld, address[2], in tex_fetch_args()
4810 lp_build_add(uint_bld, address[1], in tex_fetch_args()
4818 lp_build_add(uint_bld, address[0], in tex_fetch_args()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1717 buf_offset = lp_build_add(&bld, vb_buffer_offset, src_offset); in draw_llvm_generate()