Home
last modified time | relevance | path

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

/third_party/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()
147 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_coord_repeat_npot_linear_int() local
150 LLVMValueRef length_minus_one = lp_build_sub(int_coord_bld, length_i, in lp_build_coord_repeat_npot_linear_int()
151 int_coord_bld->one); in lp_build_coord_repeat_npot_linear_int()
184 mask = lp_build_compare(int_coord_bld->gallivm, int_coord_bld->type, in lp_build_coord_repeat_npot_linear_int()
185 PIPE_FUNC_LESS, *coord0_i, int_coord_bld->zero); in lp_build_coord_repeat_npot_linear_int()
[all …]
Dlp_bld_sample_soa.c93 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_texel_soa() local
104 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, x, int_coord_bld->zero); in lp_build_sample_texel_soa()
105 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, x, width); in lp_build_sample_texel_soa()
114 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, y, int_coord_bld->zero); in lp_build_sample_texel_soa()
115 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, y, height); in lp_build_sample_texel_soa()
130 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, z, int_coord_bld->zero); in lp_build_sample_texel_soa()
131 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, z, depth); in lp_build_sample_texel_soa()
142 lp_build_sample_offset(&bld->int_coord_bld, in lp_build_sample_texel_soa()
147 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa()
159 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); in lp_build_sample_texel_soa()
[all …]
Dlp_bld_sample.c1077 *out_of_bounds = lp_build_broadcast_scalar(&bld->int_coord_bld, out); in lp_build_nearest_mip_level()
1083 bld->int_coord_bld.type, in lp_build_nearest_mip_level()
1086 level = lp_build_andnot(&bld->int_coord_bld, level, *out_of_bounds); in lp_build_nearest_mip_level()
1208 offsets = lp_build_broadcast_scalar(&bld->int_coord_bld, offset1); in lp_build_get_mip_offsets()
1213 offsets = bld->int_coord_bld.undef; in lp_build_get_mip_offsets()
1220 offsets = lp_build_swizzle_scalar_aos(&bld->int_coord_bld, offsets, 0, 4); in lp_build_get_mip_offsets()
1227 offsets = bld->int_coord_bld.undef; in lp_build_get_mip_offsets()
1318 stride = lp_build_broadcast_scalar(&bld->int_coord_bld, stride1); in lp_build_get_level_stride_vec()
1324 stride = bld->int_coord_bld.undef; in lp_build_get_level_stride_vec()
1331 stride = lp_build_swizzle_scalar_aos(&bld->int_coord_bld, stride, 0, 4); in lp_build_get_level_stride_vec()
[all …]
Dlp_bld_sample.h405 struct lp_build_context int_coord_bld; member