/third_party/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()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 248 LLVMValueRef max_aniso) in lp_build_pmin() argument 272 max_aniso = lp_build_broadcast_scalar(coord_bld, max_aniso); in lp_build_pmin() 273 max_aniso = lp_build_mul(coord_bld, max_aniso, max_aniso); in lp_build_pmin() 314 LLVMValueRef temp = lp_build_mul(coord_bld, pmin2, max_aniso); in lp_build_pmin() 319 LLVMValueRef pmin2_alt = lp_build_div(coord_bld, pmax2, max_aniso); in lp_build_pmin() 841 LLVMValueRef max_aniso, in lp_build_lod_selector() argument 900 rho = lp_build_pmin(bld, texture_unit, s, t, max_aniso); in lp_build_lod_selector()
|
D | lp_bld_sample.h | 338 (*max_aniso)(const struct lp_sampler_dynamic_state *state, member 595 LLVMValueRef max_aniso,
|
D | lp_bld_sample_soa.c | 2608 LLVMValueRef max_aniso = NULL; in lp_build_sample_common() local 2611 max_aniso = bld->dynamic_state->max_aniso(bld->dynamic_state, in lp_build_sample_common() 2622 mip_filter, max_aniso, lod, in lp_build_sample_common()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.h | 855 static inline unsigned eg_tex_filter(unsigned filter, unsigned max_aniso) in eg_tex_filter() argument 858 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_BILINEAR in eg_tex_filter() 861 return max_aniso > 1 ? SQ_TEX_XY_FILTER_ANISO_POINT in eg_tex_filter()
|
D | r600_state.c | 576 static unsigned r600_tex_filter(unsigned filter, unsigned max_aniso) in r600_tex_filter() argument 579 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_BILINEAR in r600_tex_filter() 582 return max_aniso > 1 ? V_03C000_SQ_TEX_XY_FILTER_ANISO_POINT in r600_tex_filter() 591 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in r600_create_sampler_state() local 593 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in r600_create_sampler_state() 607 S_03C000_XY_MAG_FILTER(r600_tex_filter(state->mag_img_filter, max_aniso)) | in r600_create_sampler_state() 608 S_03C000_XY_MIN_FILTER(r600_tex_filter(state->min_img_filter, max_aniso)) | in r600_create_sampler_state()
|
D | evergreen_state.c | 579 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in evergreen_create_sampler_state() local 581 unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); in evergreen_create_sampler_state() 604 S_03C000_XY_MAG_FILTER(eg_tex_filter(state->mag_img_filter, max_aniso)) | in evergreen_create_sampler_state() 605 S_03C000_XY_MIN_FILTER(eg_tex_filter(state->min_img_filter, max_aniso)) | in evergreen_create_sampler_state()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 292 DRAW_LLVM_SAMPLER_MEMBER(max_aniso, DRAW_JIT_SAMPLER_MAX_ANISO, TRUE) 409 sampler->dynamic_state.base.max_aniso = draw_llvm_sampler_max_aniso; in draw_llvm_sampler_soa_create()
|
D | draw_llvm.h | 89 float max_aniso; member
|
D | draw_llvm.c | 242 LP_CHECK_MEMBER_OFFSET(struct draw_jit_sampler, max_aniso, in create_jit_sampler_type() 2607 jit_sam->max_aniso = s->max_anisotropy; in draw_llvm_set_sampler_state() 2622 jit_sam->max_aniso = s->max_anisotropy; in draw_llvm_set_sampler_state() 2637 jit_sam->max_aniso = s->max_anisotropy; in draw_llvm_set_sampler_state() 2652 jit_sam->max_aniso = s->max_anisotropy; in draw_llvm_set_sampler_state()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 252 LP_LLVM_SAMPLER_MEMBER(max_aniso, LP_JIT_SAMPLER_MAX_ANISO, TRUE) in LP_LLVM_SAMPLER_MEMBER() 451 sampler->dynamic_state.base.max_aniso = lp_llvm_sampler_max_aniso; in lp_llvm_sampler_soa_create()
|
D | lp_jit.h | 75 float max_aniso; member
|
D | lp_jit.c | 135 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, max_aniso, in create_jit_sampler_type()
|
D | lp_setup.c | 1107 jit_sam->max_aniso = sampler->max_anisotropy; in lp_setup_set_fragment_sampler_state()
|
D | lp_state_cs.c | 1102 jit_sam->max_aniso = sampler->max_anisotropy; in lp_csctx_set_sampler_state()
|
/third_party/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 217 max_aniso, in define_sampler_state_object()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 4712 static inline unsigned si_tex_filter(unsigned filter, unsigned max_aniso) in si_tex_filter() argument 4715 return max_aniso > 1 ? V_008F38_SQ_TEX_XY_FILTER_ANISO_BILINEAR in si_tex_filter() 4718 return max_aniso > 1 ? V_008F38_SQ_TEX_XY_FILTER_ANISO_POINT in si_tex_filter() 4741 unsigned max_aniso = sscreen->force_aniso >= 0 ? sscreen->force_aniso : state->max_anisotropy; in si_create_sampler_state() local 4742 unsigned max_aniso_ratio = si_tex_aniso_filter(max_aniso); in si_create_sampler_state() 4779 S_008F38_XY_MAG_FILTER(si_tex_filter(state->mag_img_filter, max_aniso)) | in si_create_sampler_state() 4780 S_008F38_XY_MIN_FILTER(si_tex_filter(state->min_img_filter, max_aniso)) | in si_create_sampler_state()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 6900 uint32_t max_aniso = radv_get_max_anisotropy(device, pCreateInfo); in radv_init_sampler() local 6901 uint32_t max_aniso_ratio = radv_tex_aniso_filter(max_aniso); in radv_init_sampler() 6960 S_008F38_XY_MAG_FILTER(radv_tex_filter(pCreateInfo->magFilter, max_aniso)) | in radv_init_sampler() 6961 S_008F38_XY_MIN_FILTER(radv_tex_filter(pCreateInfo->minFilter, max_aniso)) | in radv_init_sampler()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.3.0.rst | 1094 - draw: add sampler max_aniso query.
|