Home
last modified time | relevance | path

Searched refs:lp_build_clamp (Results 1 – 11 of 11) 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.c286 return lp_build_clamp(&f32_bld, z, min_depth, max_depth); in lp_build_depth_clamp()
2116 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.c171 src = lp_build_clamp(&f32_bld, src, f32_bld.zero, f32_bld.one); in lp_build_linear_to_srgb()
Dlp_bld_arit.h215 lp_build_clamp(struct lp_build_context *bld,
Dlp_bld_sample_aos.c179 coord = lp_build_clamp(coord_bld, coord, coord_bld->zero, in lp_build_sample_wrap_nearest_float()
336 coord0 = lp_build_clamp(int_coord_bld, coord0, int_coord_bld->zero, in lp_build_sample_wrap_linear_int()
338 coord1 = lp_build_clamp(int_coord_bld, coord1, int_coord_bld->zero, in lp_build_sample_wrap_linear_int()
Dlp_bld_sample_soa.c380 coord = lp_build_clamp(coord_bld, coord, coord_bld->zero, length_f); in lp_build_sample_wrap_linear()
729 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest()
2030 return lp_build_clamp(int_coord_bld, layer, int_coord_bld->zero, maxlayer); in lp_build_layer_coord()
2112 coords[4] = lp_build_clamp(&bld->coord_bld, coords[4], in lp_build_sample_common()
2152 *lod_fpart = lp_build_clamp(&bld->lodf_bld, *lod_fpart, in lp_build_sample_common()
Dlp_bld_arit.c1740 lp_build_clamp(struct lp_build_context *bld, in lp_build_clamp() function
3085 y_result = lp_build_clamp(bld, y_result, in lp_build_sin_or_cos()
Dlp_bld_sample.c946 *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.c649 out = lp_build_clamp(&bld, out, bld.zero, bld.one); in generate_vs()