Home
last modified time | relevance | path

Searched refs:max_anisotropy (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_texture.c153 unsigned aniso = cso->max_anisotropy; in nv30_sampler_state_create()
172 if (cso->max_anisotropy >= 8) so->en |= NV30_3D_TEX_ENABLE_ANISO_8X; in nv30_sampler_state_create()
173 else if (cso->max_anisotropy >= 4) so->en |= NV30_3D_TEX_ENABLE_ANISO_4X; in nv30_sampler_state_create()
174 else if (cso->max_anisotropy >= 2) so->en |= NV30_3D_TEX_ENABLE_ANISO_2X; in nv30_sampler_state_create()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c235 if (psampler->max_anisotropy > 8) in emit_one_texture()
237 else if (psampler->max_anisotropy > 4) in emit_one_texture()
239 else if (psampler->max_anisotropy > 2) in emit_one_texture()
241 else if (psampler->max_anisotropy) in emit_one_texture()
Dv3dx_state.c568 if (cso->max_anisotropy) { in v3d_upload_sampler_state_variant()
571 if (cso->max_anisotropy > 8) in v3d_upload_sampler_state_variant()
573 else if (cso->max_anisotropy > 4) in v3d_upload_sampler_state_variant()
575 else if (cso->max_anisotropy > 2) in v3d_upload_sampler_state_variant()
/external/mesa3d/docs/gallium/cso/
Dsampler.rst107 max_anisotropy
109 if max_anisotropy=4, a region of up to 1 by 4 texels will be sampled.
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_desc.c81 const bool ansio = ss->max_anisotropy > 1; in etna_create_sampler_state_desc()
114 cs->SAMP_ANISOTROPY = COND(ansio, etna_log2_fixp88(ss->max_anisotropy)); in etna_create_sampler_state_desc()
Detnaviv_texture_state.c91 const bool ansio = ss->max_anisotropy > 1; in etna_create_sampler_state_state()
104 VIVS_TE_SAMPLER_CONFIG0_ANISOTROPY(COND(ansio, etna_log2_fixp55(ss->max_anisotropy))); in etna_create_sampler_state_state()
Detnaviv_format.c297 if (ss->max_anisotropy > 1) in texture_use_int_filter()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c242 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); in svga_create_sampler_state()
243 if (sampler->max_anisotropy) in svga_create_sampler_state()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h322 unsigned max_anisotropy:6; member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c539 if (cso->max_anisotropy >= 16) in nv50_sampler_state_create()
542 if (cso->max_anisotropy >= 12) in nv50_sampler_state_create()
545 so->tsc[0] |= (cso->max_anisotropy >> 1) << 20; in nv50_sampler_state_create()
547 if (cso->max_anisotropy >= 4) in nv50_sampler_state_create()
550 if (cso->max_anisotropy >= 2) in nv50_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h420 unsigned max_anisotropy:5; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state.h247 unsigned max_anisotropy,
/external/mesa3d/src/gallium/tests/graw/
Dgraw_util.h299 sampler_desc.max_anisotropy = 0; in graw_util_create_simple_sampler()
Dquad-sample.c281 sampler_desc.max_anisotropy = 0; in init_tex()
Dfs-test.c366 sampler_desc.max_anisotropy = 0; in init_tex()
Dgs-test.c456 sampler_desc.max_anisotropy = 0; in init_tex()
Dvs-test.c354 sampler_desc.max_anisotropy = 0; in init_tex()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd5_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c207 sampler->max_anisotropy = (msamp->MaxAnisotropy == 1.0 ? in st_convert_sampler()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c243 samp.max_anisotropy = ss[D3DSAMP_MAXANISOTROPY]; in nine_convert_sampler_state()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c236 if (sampler->max_anisotropy > 1) in i915_create_sampler_state()
239 if (sampler->max_anisotropy > 2) { in i915_create_sampler_state()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c94 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd6_sampler_state_create()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c1435 state->max_anisotropy > 1); in r300_create_sampler_state()
1437 sampler->filter0 |= r300_anisotropy(state->max_anisotropy); in r300_create_sampler_state()
1453 sampler->filter1 |= r500_anisotropy(state->max_anisotropy); in r300_create_sampler_state()

12