Searched refs:max_aniso (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state_inlines.h | 311 static inline uint32_t r300_anisotropy(unsigned max_aniso) in r300_anisotropy() argument 313 if (max_aniso >= 16) { in r300_anisotropy() 315 } else if (max_aniso >= 8) { in r300_anisotropy() 317 } else if (max_aniso >= 4) { in r300_anisotropy() 319 } else if (max_aniso >= 2) { in r300_anisotropy() 326 static inline uint32_t r500_anisotropy(unsigned max_aniso) in r500_anisotropy() argument 328 if (!max_aniso) { in r500_anisotropy() 331 max_aniso -= 1; in r500_anisotropy() 334 return R500_TX_MAX_ANISO(MIN2((unsigned)(max_aniso*4.2001), 63)) | in r500_anisotropy()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_pipe_common.h | 899 static inline unsigned eg_tex_filter(unsigned filter, unsigned max_aniso) in eg_tex_filter() argument 902 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_BILINEAR in eg_tex_filter() 905 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_POINT in eg_tex_filter()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_sampler.c | 164 uint8_t max_aniso = (uint8_t) 255; /* XXX fix me */ in define_sampler_state_object() local 209 max_aniso, in define_sampler_state_object()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 2005 uint32_t max_aniso = pCreateInfo->anisotropyEnable && pCreateInfo->maxAnisotropy > 1.0 ? in radv_init_sampler() local 2007 uint32_t max_aniso_ratio = radv_tex_aniso_filter(max_aniso); in radv_init_sampler() 2024 S_008F38_XY_MAG_FILTER(radv_tex_filter(pCreateInfo->magFilter, max_aniso)) | in radv_init_sampler() 2025 S_008F38_XY_MIN_FILTER(radv_tex_filter(pCreateInfo->minFilter, max_aniso)) | in radv_init_sampler()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 571 static unsigned r600_tex_filter(unsigned filter, unsigned max_aniso) in r600_tex_filter() argument 574 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_BILINEAR in r600_tex_filter() 577 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_POINT in r600_tex_filter() 586 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in r600_create_sampler_state() local 588 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in r600_create_sampler_state() 602 S_03C000_XY_MAG_FILTER(r600_tex_filter(state->mag_img_filter, max_aniso)) | in r600_create_sampler_state() 603 S_03C000_XY_MIN_FILTER(r600_tex_filter(state->min_img_filter, max_aniso)) | in r600_create_sampler_state()
|
D | evergreen_state.c | 562 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in evergreen_create_sampler_state() local 564 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in evergreen_create_sampler_state() 577 S_03C000_XY_MAG_FILTER(eg_tex_filter(state->mag_img_filter, max_aniso)) | in evergreen_create_sampler_state() 578 S_03C000_XY_MIN_FILTER(eg_tex_filter(state->min_img_filter, max_aniso)) | in evergreen_create_sampler_state()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 3215 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in si_create_sampler_state() local 3217 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in si_create_sampler_state() 3289 S_008F38_XY_MAG_FILTER(eg_tex_filter(state->mag_img_filter, max_aniso)) | in si_create_sampler_state() 3290 S_008F38_XY_MIN_FILTER(eg_tex_filter(state->min_img_filter, max_aniso)) | in si_create_sampler_state()
|