Home
last modified time | relevance | path

Searched refs:needs_border (Results 1 – 9 of 9) 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
53 *needs_border = true; in tex_clamp()
117 so->needs_border = false; 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()
Dfd3_texture.h44 bool needs_border; member
Dfd3_emit.c149 bool needs_border = false; in emit_textures() local
170 needs_border |= sampler->needs_border; in emit_textures()
233 if (needs_border) { in emit_textures()
/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
51 *needs_border = true; in tex_clamp()
115 so->needs_border = false; 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()
Dfd5_emit.c295 bool needs_border = false; in emit_textures() local
320 needs_border |= sampler->needs_border; in emit_textures()
370 return needs_border; in emit_textures()
492 bool needs_border = false; in fd5_emit_state() local
767 needs_border |= emit_textures(ctx, ring, SB4_VS_TEX, in fd5_emit_state()
774 needs_border |= emit_textures(ctx, ring, SB4_FS_TEX, in fd5_emit_state()
785 if (needs_border) in fd5_emit_state()
802 bool needs_border = false; in fd5_emit_cs_state() local
803 needs_border |= emit_textures(ctx, ring, SB4_CS_TEX, in fd5_emit_cs_state()
806 if (needs_border) in fd5_emit_cs_state()
Dfd5_texture.h42 bool needs_border; member
/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
53 *needs_border = true; in tex_clamp()
117 so->needs_border = false; 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()
Dfd4_texture.h44 bool needs_border; member
Dfd4_emit.c133 bool needs_border = false; in emit_textures() local
161 needs_border |= sampler->needs_border; in emit_textures()
233 if (needs_border) { in emit_textures()