Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c39 tex_clamp(unsigned wrap, bool clamp_to_edge, bool *needs_border) in tex_clamp() argument
43 wrap = (clamp_to_edge) ? in tex_clamp()
92 bool clamp_to_edge; in fd3_sampler_state_create() local
110 clamp_to_edge = (cso->min_img_filter == PIPE_TEX_FILTER_NEAREST); in fd3_sampler_state_create()
111 if (!clamp_to_edge) { in fd3_sampler_state_create()
125 A3XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
126 A3XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
127 A3XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd3_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c37 tex_clamp(unsigned wrap, bool clamp_to_edge, bool *needs_border) in tex_clamp() argument
41 wrap = (clamp_to_edge) ? in tex_clamp()
90 bool clamp_to_edge; in fd5_sampler_state_create() local
108 clamp_to_edge = (cso->min_img_filter == PIPE_TEX_FILTER_NEAREST); in fd5_sampler_state_create()
109 if (!clamp_to_edge) { in fd5_sampler_state_create()
121 A5XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd5_sampler_state_create()
122 A5XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd5_sampler_state_create()
123 A5XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd5_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c39 tex_clamp(unsigned wrap, bool clamp_to_edge, bool *needs_border) in tex_clamp() argument
43 wrap = (clamp_to_edge) ? in tex_clamp()
92 bool clamp_to_edge; in fd4_sampler_state_create() local
110 clamp_to_edge = (cso->min_img_filter == PIPE_TEX_FILTER_NEAREST); in fd4_sampler_state_create()
111 if (!clamp_to_edge) { in fd4_sampler_state_create()
123 A4XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
124 A4XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
125 A4XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd4_sampler_state_create()