Home
last modified time | relevance | path

Searched refs:lp_build_clamp (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_alpha.c77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one); in lp_build_alpha_test()
78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one); in lp_build_alpha_test()
Dlp_state_setup.c343 z0z1z2 = lp_build_clamp(bld, LLVMBuildFAdd(b, z0z1z2, zoffset, ""), bld->zero, bld->one); in lp_do_offset_tri()
Dlp_state_fs.c391 return lp_build_clamp(&f32_bld, z, min_depth, max_depth); in lp_build_depth_clamp()
2635 blend_color = lp_build_clamp(&f32_bld, blend_color, f32_bld.zero, f32_bld.one); in generate_unswizzled_blend()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_yuv.c308 *r = lp_build_clamp(&bld, *r, c0, c255); in yuv_to_rgb_soa()
309 *g = lp_build_clamp(&bld, *g, c0, c255); in yuv_to_rgb_soa()
310 *b = lp_build_clamp(&bld, *b, c0, c255); in yuv_to_rgb_soa()
Dlp_bld_format_srgb.c172 src = lp_build_clamp(&f32_bld, src, f32_bld.zero, f32_bld.one); in lp_build_linear_to_srgb()
Dlp_bld_arit.h216 lp_build_clamp(struct lp_build_context *bld,
Dlp_bld_format_soa.c906 rgba = lp_build_clamp(bld, rgba, bld->zero, bld->one); in lp_build_insert_soa_chan()
928 rgba = lp_build_clamp(bld, rgba, lp_build_negate(bld, bld->one), bld->one); in lp_build_insert_soa_chan()
Dlp_bld_sample_aos.c274 coord0 = lp_build_clamp(int_coord_bld, coord0, int_coord_bld->zero, in lp_build_sample_wrap_linear_int()
276 coord1 = lp_build_clamp(int_coord_bld, coord1, int_coord_bld->zero, in lp_build_sample_wrap_linear_int()
Dlp_bld_sample_soa.c389 coord = lp_build_clamp(coord_bld, coord, coord_bld->zero, length_f); in lp_build_sample_wrap_linear()
738 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest()
2055 return lp_build_clamp(int_coord_bld, layer, int_coord_bld->zero, maxlayer); in lp_build_layer_coord()
2137 coords[4] = lp_build_clamp(&bld->coord_bld, coords[4], in lp_build_sample_common()
2177 *lod_fpart = lp_build_clamp(&bld->lodf_bld, *lod_fpart, in lp_build_sample_common()
Dlp_bld_arit.c1697 lp_build_clamp(struct lp_build_context *bld, in lp_build_clamp() function
3029 y_result = lp_build_clamp(bld, y_result, in lp_build_sin_or_cos()
Dlp_bld_sample.c983 *level_out = lp_build_clamp(leveli_bld, level, first_level, last_level); in lp_build_nearest_mip_level()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c998 out = lp_build_clamp(&bld, out, bld.zero, bld.one); in generate_vs()