Lines Matching refs:base
170 switch (texture->base.target) {
188 if (!sampler->base.normalized_coords)
191 first_level = texture->base.u.tex.first_level;
192 last_level = texture->base.u.tex.last_level;
193 first_layer = texture->base.u.tex.first_layer;
197 desc->min_lod = lima_float_to_fixed8(sampler->base.min_lod);
198 max_lod = MIN2(sampler->base.max_lod, sampler->base.min_lod +
201 desc->lod_bias = lima_float_to_fixed8(sampler->base.lod_bias);
203 switch (sampler->base.min_mip_filter) {
217 switch (sampler->base.mag_img_filter) {
227 switch (sampler->base.min_img_filter) {
242 bool using_nearest = sampler->base.min_img_filter == PIPE_TEX_FILTER_NEAREST;
244 desc->wrap_s = pipe_wrap_to_lima(sampler->base.wrap_s, using_nearest);
245 desc->wrap_t = pipe_wrap_to_lima(sampler->base.wrap_t, using_nearest);
246 desc->wrap_r = pipe_wrap_to_lima(sampler->base.wrap_r, using_nearest);
248 desc->border_red = float_to_ushort(sampler->base.border_color.f[0]);
249 desc->border_green = float_to_ushort(sampler->base.border_color.f[1]);
250 desc->border_blue = float_to_ushort(sampler->base.border_color.f[2]);
251 desc->border_alpha = float_to_ushort(sampler->base.border_color.f[3]);
260 lima_texture_desc_set_res(ctx, desc, texture->base.texture,
273 unsigned first_level = texture->base.u.tex.first_level;
274 unsigned last_level = texture->base.u.tex.last_level;
303 struct lima_resource *rsc = lima_resource(texture->base.texture);
304 lima_flush_previous_job_writing_resource(ctx, texture->base.texture);