Searched refs:using_nearest (Results 1 – 3 of 3) sorted by relevance
122 pipe_wrap_to_lima(unsigned pipe_wrap, bool using_nearest) in pipe_wrap_to_lima() argument130 if (using_nearest) in pipe_wrap_to_lima()141 if (using_nearest) in pipe_wrap_to_lima()242 bool using_nearest = sampler->base.min_img_filter == PIPE_TEX_FILTER_NEAREST; in lima_update_tex_desc() local244 desc->wrap_s = pipe_wrap_to_lima(sampler->base.wrap_s, using_nearest); in lima_update_tex_desc()245 desc->wrap_t = pipe_wrap_to_lima(sampler->base.wrap_t, using_nearest); in lima_update_tex_desc()246 desc->wrap_r = pipe_wrap_to_lima(sampler->base.wrap_r, using_nearest); in lima_update_tex_desc()
466 static uint32_t translate_wrap(uint32_t p_wrap, bool using_nearest) in translate_wrap() argument478 return (using_nearest ? 1 : 3); in translate_wrap()
153 translate_tex_wrap(enum pipe_tex_wrap w, bool using_nearest) in translate_tex_wrap() argument169 return using_nearest ? MALI_WRAP_MODE_CLAMP_TO_EDGE : in translate_tex_wrap()172 return using_nearest ? MALI_WRAP_MODE_MIRRORED_CLAMP_TO_EDGE : in translate_tex_wrap()214 bool using_nearest = cso->min_img_filter == PIPE_TEX_MIPFILTER_NEAREST; in panfrost_create_sampler_state() local225 cfg.wrap_mode_s = translate_tex_wrap(cso->wrap_s, using_nearest); in panfrost_create_sampler_state()226 cfg.wrap_mode_t = translate_tex_wrap(cso->wrap_t, using_nearest); in panfrost_create_sampler_state()227 cfg.wrap_mode_r = translate_tex_wrap(cso->wrap_r, using_nearest); in panfrost_create_sampler_state()