Home
last modified time | relevance | path

Searched refs:needs_border (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.h43 bool needs_border; member
105 unsigned needs_border = false; in fd6_border_color_offset() local
114 needs_border |= sampler->needs_border; in fd6_border_color_offset()
117 if (!needs_border) in fd6_border_color_offset()
152 bool needs_border; member
Dfd6_texture.c43 tex_clamp(unsigned wrap, bool clamp_to_edge, bool *needs_border) in tex_clamp() argument
57 *needs_border = true; in tex_clamp()
122 so->needs_border = false; in fd6_sampler_state_create()
128 A6XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd6_sampler_state_create()
129 A6XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd6_sampler_state_create()
130 A6XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd6_sampler_state_create()
409 bool needs_border = false; in fd6_texture_state() local
433 needs_border |= sampler->needs_border; in fd6_texture_state()
451 state->needs_border = needs_border; in fd6_texture_state()
Dfd6_emit.c289 bool needs_border = false; in fd6_emit_textures() local
352 needs_border |= sampler->needs_border; in fd6_emit_textures()
463 return needs_border; in fd6_emit_textures()
483 bool needs_border = false; in fd6_emit_combined_textures() local
518 needs_border |= tex->needs_border; in fd6_emit_combined_textures()
538 needs_border |= fd6_emit_textures(ctx->pipe, stateobj, type, tex, in fd6_emit_combined_textures()
546 return needs_border; in fd6_emit_combined_textures()
797 bool needs_border = false; in fd6_emit_state() local
1004 needs_border |= fd6_emit_combined_textures(ring, emit, PIPE_SHADER_VERTEX, vs); in fd6_emit_state()
1006 needs_border |= fd6_emit_combined_textures(ring, emit, PIPE_SHADER_TESS_CTRL, hs); in fd6_emit_state()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_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 fd3_sampler_state_create()
123 A3XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
124 A3XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
125 A3XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd3_sampler_state_create()
Dfd3_texture.h42 bool needs_border; member
Dfd3_emit.c168 bool needs_border = false; in emit_textures() local
189 needs_border |= sampler->needs_border; in emit_textures()
251 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.c342 bool needs_border = false; in emit_textures() local
367 needs_border |= sampler->needs_border; in emit_textures()
417 return needs_border; in emit_textures()
528 bool needs_border = false; in fd5_emit_state() local
805 needs_border |= emit_textures(ctx, ring, SB4_VS_TEX, in fd5_emit_state()
812 needs_border |= emit_textures(ctx, ring, SB4_FS_TEX, in fd5_emit_state()
823 if (needs_border) in fd5_emit_state()
840 bool needs_border = false; in fd5_emit_cs_state() local
841 needs_border |= emit_textures(ctx, ring, SB4_CS_TEX, in fd5_emit_cs_state()
844 if (needs_border) in fd5_emit_cs_state()
Dfd5_texture.h42 bool needs_border; member
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_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 fd4_sampler_state_create()
121 A4XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
122 A4XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
123 A4XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, clamp_to_edge, &so->needs_border)); in fd4_sampler_state_create()
Dfd4_texture.h42 bool needs_border; member
Dfd4_emit.c148 bool needs_border = false; in emit_textures() local
176 needs_border |= sampler->needs_border; in emit_textures()
248 if (needs_border) { in emit_textures()