Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c236 if (psampler->max_anisotropy > 8) in emit_one_texture()
238 else if (psampler->max_anisotropy > 4) in emit_one_texture()
240 else if (psampler->max_anisotropy > 2) in emit_one_texture()
242 else if (psampler->max_anisotropy) in emit_one_texture()
Dv3dx_state.c571 if (cso->max_anisotropy) { in v3d_upload_sampler_state_variant()
574 if (cso->max_anisotropy > 8) in v3d_upload_sampler_state_variant()
576 else if (cso->max_anisotropy > 4) in v3d_upload_sampler_state_variant()
578 else if (cso->max_anisotropy > 2) in v3d_upload_sampler_state_variant()
/third_party/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.
/third_party/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()
105 VIVS_TE_SAMPLER_CONFIG0_ANISOTROPY(COND(ansio, etna_log2_fixp55(ss->max_anisotropy))); in etna_create_sampler_state_state()
Detnaviv_format.c298 if (ss->max_anisotropy > 1) in texture_use_int_filter()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c244 samp.max_anisotropy = MIN2(16, ss[D3DSAMP_MAXANISOTROPY]); in nine_convert_sampler_state()
246 samp.max_anisotropy = 0; in nine_convert_sampler_state()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c546 if (cso->max_anisotropy >= 16) in nv50_sampler_state_create()
549 if (cso->max_anisotropy >= 12) in nv50_sampler_state_create()
552 so->tsc[0] |= (cso->max_anisotropy >> 1) << 20; in nv50_sampler_state_create()
554 if (cso->max_anisotropy >= 4) in nv50_sampler_state_create()
557 if (cso->max_anisotropy >= 2) in nv50_sampler_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd5_sampler_state_create()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h421 unsigned max_anisotropy:5; member
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state.h247 unsigned max_anisotropy,
/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h302 sampler_desc.max_anisotropy = 0; in graw_util_create_simple_sampler()
Dquad-sample.c286 sampler_desc.max_anisotropy = 0; in init_tex()
Dfs-test.c371 sampler_desc.max_anisotropy = 0; in init_tex()
Dvs-test.c359 sampler_desc.max_anisotropy = 0; in init_tex()
Dgs-test.c461 sampler_desc.max_anisotropy = 0; in init_tex()
/third_party/mesa3d/src/virtio/virtio-gpu/
Dvirgl_hw.h600 float max_anisotropy; member
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c290 if (sampler->max_anisotropy > 1) in i915_create_sampler_state()
293 if (sampler->max_anisotropy > 2) { in i915_create_sampler_state()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c88 return vscreen->caps.caps.v2.max_anisotropy > 1.0; in virgl_get_param()
470 return vscreen->caps.caps.v2.max_anisotropy; in virgl_get_paramf()
/third_party/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()
/third_party/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()

123