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/r600/ |
D | r600_pipe_common.h | 851 static inline unsigned eg_tex_filter(unsigned filter, unsigned max_aniso) in eg_tex_filter() argument 854 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_BILINEAR in eg_tex_filter() 857 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_POINT in eg_tex_filter()
|
D | r600_state.c | 572 static unsigned r600_tex_filter(unsigned filter, unsigned max_aniso) in r600_tex_filter() argument 575 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_BILINEAR in r600_tex_filter() 578 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_POINT in r600_tex_filter() 587 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in r600_create_sampler_state() local 589 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in r600_create_sampler_state() 603 S_03C000_XY_MAG_FILTER(r600_tex_filter(state->mag_img_filter, max_aniso)) | in r600_create_sampler_state() 604 S_03C000_XY_MIN_FILTER(r600_tex_filter(state->min_img_filter, max_aniso)) | in r600_create_sampler_state()
|
D | evergreen_state.c | 574 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in evergreen_create_sampler_state() local 576 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in evergreen_create_sampler_state() 589 S_03C000_XY_MAG_FILTER(eg_tex_filter(state->mag_img_filter, max_aniso)) | in evergreen_create_sampler_state() 590 S_03C000_XY_MIN_FILTER(eg_tex_filter(state->min_img_filter, max_aniso)) | in evergreen_create_sampler_state()
|
/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 220 max_aniso, in define_sampler_state_object()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 4070 static inline unsigned si_tex_filter(unsigned filter, unsigned max_aniso) in si_tex_filter() argument 4073 return max_aniso > 1 ? V_008F38_SQ_TEX_XY_FILTER_ANISO_BILINEAR in si_tex_filter() 4076 return max_aniso > 1 ? V_008F38_SQ_TEX_XY_FILTER_ANISO_POINT in si_tex_filter() 4099 unsigned max_aniso = sscreen->force_aniso >= 0 ? sscreen->force_aniso in si_create_sampler_state() local 4101 unsigned max_aniso_ratio = si_tex_aniso_filter(max_aniso); in si_create_sampler_state() 4125 S_008F38_XY_MAG_FILTER(si_tex_filter(state->mag_img_filter, max_aniso)) | in si_create_sampler_state() 4126 S_008F38_XY_MIN_FILTER(si_tex_filter(state->min_img_filter, max_aniso)) | in si_create_sampler_state()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 3628 uint32_t max_aniso = pCreateInfo->anisotropyEnable && pCreateInfo->maxAnisotropy > 1.0 ? in radv_init_sampler() local 3630 uint32_t max_aniso_ratio = radv_tex_aniso_filter(max_aniso); in radv_init_sampler() 3647 S_008F38_XY_MAG_FILTER(radv_tex_filter(pCreateInfo->magFilter, max_aniso)) | in radv_init_sampler() 3648 S_008F38_XY_MIN_FILTER(radv_tex_filter(pCreateInfo->minFilter, max_aniso)) | in radv_init_sampler()
|