Home
last modified time | relevance | path

Searched refs:aniso (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_texture.c153 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()
Dnv30_context.h72 unsigned aniso; member
Dnv30_context.c242 nv30->config.aniso = NV40_3D_TEX_WRAP_ANISO_MIP_FILTER_OPTIMIZATION_OFF; in nv30_context_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c70 tex_filter(unsigned filter, bool aniso) in tex_filter() argument
76 return aniso ? A3XX_TEX_ANISO : A3XX_TEX_LINEAR; in tex_filter()
88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create() local
120 A3XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd3_sampler_state_create()
121 A3XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd3_sampler_state_create()
122 A3XX_TEX_SAMP_0_ANISO(aniso) | in fd3_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c70 tex_filter(unsigned filter, bool aniso) in tex_filter() argument
76 return aniso ? A5XX_TEX_ANISO : A5XX_TEX_LINEAR; in tex_filter()
88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd5_sampler_state_create() local
118 A5XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd5_sampler_state_create()
119 A5XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd5_sampler_state_create()
120 A5XX_TEX_SAMP_0_ANISO(aniso) | in fd5_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c70 tex_filter(unsigned filter, bool aniso) in tex_filter() argument
76 return aniso ? A4XX_TEX_ANISO : A4XX_TEX_LINEAR; in tex_filter()
88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create() local
118 A4XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd4_sampler_state_create()
119 A4XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd4_sampler_state_create()
120 A4XX_TEX_SAMP_0_ANISO(aniso) | in fd4_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c76 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
125 A6XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) | in fd6_sampler_state_create()
126 A6XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) | in fd6_sampler_state_create()
127 A6XX_TEX_SAMP_0_ANISO(aniso) | in fd6_sampler_state_create()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c150 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()
/external/mesa3d/src/freedreno/vulkan/
Dtu_util.h201 tu6_tex_filter(VkFilter filter, unsigned aniso) in tu6_tex_filter() argument
207 return aniso ? A6XX_TEX_ANISO : A6XX_TEX_LINEAR; in tu6_tex_filter()
Dtu_device.c1823 unsigned aniso = pCreateInfo->anisotropyEnable ? in tu_init_sampler() local
1831 A6XX_TEX_SAMP_0_XY_MAG(tu6_tex_filter(pCreateInfo->magFilter, aniso)) | in tu_init_sampler()
1832 A6XX_TEX_SAMP_0_XY_MIN(tu6_tex_filter(pCreateInfo->minFilter, aniso)) | in tu_init_sampler()
1833 A6XX_TEX_SAMP_0_ANISO(aniso) | in tu_init_sampler()
/external/deqp/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp492 GLfloat aniso = anisoVec[i]; in iterate() local
495 result = result && drawTexture(gl, target, aniso); in iterate()
507 << "anisotropy: " << aniso << ", " in iterate()
/external/mesa3d/docs/relnotes/
D10.5.1.rst186 - freedreno/a4xx: aniso filtering
D20.0.0.rst734 - aco: SI/CI - fix sampler aniso