Searched refs:max_aniso (Results 1 – 4 of 4) sorted by relevance
312 static INLINE uint32_t r300_anisotropy(unsigned max_aniso) in r300_anisotropy() argument314 if (max_aniso >= 16) { in r300_anisotropy()316 } else if (max_aniso >= 8) { in r300_anisotropy()318 } else if (max_aniso >= 4) { in r300_anisotropy()320 } else if (max_aniso >= 2) { in r300_anisotropy()327 static INLINE uint32_t r500_anisotropy(unsigned max_aniso) in r500_anisotropy() argument329 if (!max_aniso) { in r500_anisotropy()332 max_aniso -= 1; in r500_anisotropy()335 return R500_TX_MAX_ANISO(MIN2((unsigned)(max_aniso*4.2001), 63)) | in r500_anisotropy()
86 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in gen7_update_sampler_state()
212 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in brw_update_sampler_state()
672 GLuint max_aniso:3; member722 GLuint max_aniso:3; member