Home
last modified time | relevance | path

Searched refs:int_coord_bld (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c90 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_wrap_nearest_int() local
94 length_minus_one = lp_build_sub(int_coord_bld, length, int_coord_bld->one); in lp_build_sample_wrap_nearest_int()
115 coord = lp_build_max(int_coord_bld, coord, int_coord_bld->zero); in lp_build_sample_wrap_nearest_int()
116 coord = lp_build_min(int_coord_bld, coord, length_minus_one); in lp_build_sample_wrap_nearest_int()
129 lp_build_sample_partial_offset(int_coord_bld, block_length, coord, stride, in lp_build_sample_wrap_nearest_int()
209 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_coord_repeat_npot_linear_int() local
212 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear_int()
213 int_coord_bld->one); in lp_build_coord_repeat_npot_linear_int()
246 mask = lp_build_compare(int_coord_bld->gallivm, int_coord_bld->type, in lp_build_coord_repeat_npot_linear_int()
247 PIPE_FUNC_LESS, *coord0_i, int_coord_bld->zero); in lp_build_coord_repeat_npot_linear_int()
[all …]
Dlp_bld_sample_soa.c91 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_texel_soa() local
102 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, x, int_coord_bld->zero); in lp_build_sample_texel_soa()
103 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, x, width); in lp_build_sample_texel_soa()
112 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, y, int_coord_bld->zero); in lp_build_sample_texel_soa()
113 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, y, height); in lp_build_sample_texel_soa()
128 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, z, int_coord_bld->zero); in lp_build_sample_texel_soa()
129 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, z, depth); in lp_build_sample_texel_soa()
140 lp_build_sample_offset(&bld->int_coord_bld, in lp_build_sample_texel_soa()
145 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa()
157 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); in lp_build_sample_texel_soa()
[all …]
Dlp_bld_sample.c922 *out_of_bounds = lp_build_broadcast_scalar(&bld->int_coord_bld, out); in lp_build_nearest_mip_level()
928 bld->int_coord_bld.type, in lp_build_nearest_mip_level()
931 level = lp_build_andnot(&bld->int_coord_bld, level, *out_of_bounds); in lp_build_nearest_mip_level()
1051 offsets = lp_build_broadcast_scalar(&bld->int_coord_bld, offset1); in lp_build_get_mip_offsets()
1056 offsets = bld->int_coord_bld.undef; in lp_build_get_mip_offsets()
1065 offsets = lp_build_swizzle_scalar_aos(&bld->int_coord_bld, offsets, 0, 4); in lp_build_get_mip_offsets()
1072 offsets = bld->int_coord_bld.undef; in lp_build_get_mip_offsets()
1168 stride = lp_build_broadcast_scalar(&bld->int_coord_bld, stride1); in lp_build_get_level_stride_vec()
1174 stride = bld->int_coord_bld.undef; in lp_build_get_level_stride_vec()
1183 stride = lp_build_swizzle_scalar_aos(&bld->int_coord_bld, stride, 0, 4); in lp_build_get_level_stride_vec()
[all …]
Dlp_bld_sample.h341 struct lp_build_context int_coord_bld; member