Searched refs:max_aniso (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_state_inlines.h312 static INLINE uint32_t r300_anisotropy(unsigned max_aniso) argument
314 if (max_aniso >= 16) {
316 } else if (max_aniso >= 8) {
318 } else if (max_aniso >= 4) {
320 } else if (max_aniso >= 2) {
327 static INLINE uint32_t r500_anisotropy(unsigned max_aniso) argument
329 if (!max_aniso) {
332 max_aniso -= 1;
335 return R500_TX_MAX_ANISO(MIN2((unsigned)(max_aniso*4.2001), 63)) |
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_sampler_state.c86 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2,
H A Dbrw_wm_sampler_state.c212 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2,
H A Dbrw_structs.h672 GLuint max_aniso:3; member in struct:brw_sampler_state::__anon14587
722 GLuint max_aniso:3; member in struct:gen7_sampler_state::__anon14591

Completed in 7009 milliseconds