Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_inlines.h312 static INLINE uint32_t r300_anisotropy(unsigned max_aniso) in r300_anisotropy() argument
314 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() argument
329 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c86 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in gen7_update_sampler_state()
Dbrw_wm_sampler_state.c212 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in brw_update_sampler_state()
Dbrw_structs.h672 GLuint max_aniso:3; member
722 GLuint max_aniso:3; member