/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_texture.c | 153 unsigned aniso = cso->max_anisotropy; in nv30_sampler_state_create() local 158 if (aniso > 1) { in nv30_sampler_state_create() 159 if (aniso >= 16) so->en |= NV40_3D_TEX_ENABLE_ANISO_16X; in nv30_sampler_state_create() 160 else if (aniso >= 12) so->en |= NV40_3D_TEX_ENABLE_ANISO_12X; in nv30_sampler_state_create() 161 else if (aniso >= 10) so->en |= NV40_3D_TEX_ENABLE_ANISO_10X; in nv30_sampler_state_create() 162 else if (aniso >= 8) so->en |= NV40_3D_TEX_ENABLE_ANISO_8X; in nv30_sampler_state_create() 163 else if (aniso >= 6) so->en |= NV40_3D_TEX_ENABLE_ANISO_6X; in nv30_sampler_state_create() 164 else if (aniso >= 4) so->en |= NV40_3D_TEX_ENABLE_ANISO_4X; in nv30_sampler_state_create() 167 so->wrap |= nv30_context(pipe)->config.aniso; in nv30_sampler_state_create()
|
D | nv30_context.h | 72 unsigned aniso; member
|
D | nv30_context.c | 242 nv30->config.aniso = NV40_3D_TEX_WRAP_ANISO_MIP_FILTER_OPTIMIZATION_OFF; in nv30_context_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 64 tex_filter(unsigned filter, bool aniso) in tex_filter() argument 70 return aniso ? A3XX_TEX_ANISO : A3XX_TEX_LINEAR; in tex_filter() 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create() local 98 A3XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd3_sampler_state_create() 99 A3XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd3_sampler_state_create() 100 A3XX_TEX_SAMP_0_ANISO(aniso) | in fd3_sampler_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 64 tex_filter(unsigned filter, bool aniso) in tex_filter() argument 70 return aniso ? A4XX_TEX_ANISO : A4XX_TEX_LINEAR; in tex_filter() 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create() local 96 A4XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd4_sampler_state_create() 97 A4XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd4_sampler_state_create() 98 A4XX_TEX_SAMP_0_ANISO(aniso) | in fd4_sampler_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.c | 64 tex_filter(unsigned filter, bool aniso) in tex_filter() argument 70 return aniso ? A5XX_TEX_ANISO : A5XX_TEX_LINEAR; in tex_filter() 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd5_sampler_state_create() local 96 A5XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd5_sampler_state_create() 97 A5XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd5_sampler_state_create() 98 A5XX_TEX_SAMP_0_ANISO(aniso) | in fd5_sampler_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.c | 76 tex_filter(unsigned filter, bool aniso) in tex_filter() argument 82 return aniso ? A6XX_TEX_ANISO : A6XX_TEX_LINEAR; in tex_filter() 94 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd6_sampler_state_create() local 109 A6XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd6_sampler_state_create() 110 A6XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd6_sampler_state_create() 111 A6XX_TEX_SAMP_0_ANISO(aniso) | in fd6_sampler_state_create()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 150 GLint lodbias, aniso = 0; in i915_update_tex_unit() local 236 aniso = SS2_MAX_ANISO_4; in i915_update_tex_unit() 238 aniso = SS2_MAX_ANISO_2; in i915_update_tex_unit() 285 aniso); in i915_update_tex_unit()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_util.h | 203 tu6_tex_filter(VkFilter filter, unsigned aniso) in tu6_tex_filter() argument 209 return aniso ? A6XX_TEX_ANISO : A6XX_TEX_LINEAR; in tu6_tex_filter()
|
D | tu_device.c | 2329 unsigned aniso = pCreateInfo->anisotropyEnable ? in tu_init_sampler() local 2337 A6XX_TEX_SAMP_0_XY_MAG(tu6_tex_filter(pCreateInfo->magFilter, aniso)) | in tu_init_sampler() 2338 A6XX_TEX_SAMP_0_XY_MIN(tu6_tex_filter(pCreateInfo->minFilter, aniso)) | in tu_init_sampler() 2339 A6XX_TEX_SAMP_0_ANISO(aniso) | in tu_init_sampler()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcTextureFilterAnisotropicTests.cpp | 490 GLfloat aniso = anisoVec[i]; in iterate() local 493 result = result && drawTexture(gl, target, aniso); in iterate() 505 << "anisotropy: " << aniso << ", " in iterate()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.1.6.rst | 71 - softpipe/aniso: move DDQ calculation to after scaling.
|
D | 10.5.1.rst | 186 - freedreno/a4xx: aniso filtering
|
D | 21.3.0.rst | 1086 - softpipe/aniso: move DDQ calculation to after scaling. 1090 - draw: add shader access to aniso filter table. 1093 - llvmpipe: add support for max aniso query. 1096 - llvmpipe/virgl/ci: update traces for aniso
|
D | 20.0.0.rst | 734 - aco: SI/CI - fix sampler aniso
|
D | 21.2.0.rst | 1834 - softpipe/aniso: move DDQ calculation to after scaling.
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 197 state->aniso = sampler->max_anisotropy > 1.0f; in lp_sampler_static_sampler_state() 890 if (bld->static_sampler_state->aniso && in lp_build_lod_selector() 902 !bld->static_sampler_state->aniso && in lp_build_lod_selector() 930 !bld->static_sampler_state->aniso) { in lp_build_lod_selector() 1009 if (bld->static_sampler_state->aniso) { in lp_build_lod_selector()
|
D | lp_bld_sample.h | 205 unsigned aniso:1; member
|
D | lp_bld_sample_soa.c | 2516 const bool aniso = bld->static_sampler_state->aniso; in lp_build_sample_common() local 2584 if (aniso) in lp_build_sample_common() 2643 if (aniso) { in lp_build_sample_common() 2954 if (sampler_state->aniso) { in lp_build_sample_general() 3629 derived_sampler_state.aniso == 0 && in lp_build_sample_soa_code()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.c | 667 debug_printf(" .aniso = %u\n", sampler->aniso); in dump_cs_variant_key()
|
D | lp_state_fs.c | 3468 debug_printf(" .aniso = %u\n", sampler->aniso); in dump_fs_variant_key()
|