Home
last modified time | relevance | path

Searched refs:using_nearest (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_texture.c122 pipe_wrap_to_lima(unsigned pipe_wrap, bool using_nearest) in pipe_wrap_to_lima() argument
130 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() local
244 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()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c466 static uint32_t translate_wrap(uint32_t p_wrap, bool using_nearest) in translate_wrap() argument
478 return (using_nearest ? 1 : 3); in translate_wrap()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c153 translate_tex_wrap(enum pipe_tex_wrap w, bool using_nearest) in translate_tex_wrap() argument
169 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() local
225 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()