/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 52 res, sv->min_lod, sv->max_lod); in svga_debug_describe_sampler_view() 59 unsigned min_lod, unsigned max_lod) in svga_get_tex_sampler_view() argument 71 assert(min_lod <= max_lod); in svga_get_tex_sampler_view() 82 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 96 tex->cached_view->min_lod == min_lod && in svga_get_tex_sampler_view() 101 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 119 sv->min_lod = min_lod; in svga_get_tex_sampler_view() 126 pt, min_lod, max_lod, in svga_get_tex_sampler_view() 127 max_lod - min_lod + 1, in svga_get_tex_sampler_view() 141 pt, min_lod, max_lod, in svga_get_tex_sampler_view() [all …]
|
D | svga_state_tss.c | 85 unsigned last_level, min_lod, max_lod; in emit_tex_binding_unit() local 91 min_lod = max_lod = sv->u.tex.first_level; in emit_tex_binding_unit() 95 min_lod = s->view_min_lod + sv->u.tex.first_level; in emit_tex_binding_unit() 96 min_lod = MIN2(min_lod, last_level); in emit_tex_binding_unit() 102 min_lod = 0; in emit_tex_binding_unit() 107 view->min_lod != min_lod || in emit_tex_binding_unit() 114 view->min_lod = min_lod; in emit_tex_binding_unit() 120 min_lod, in emit_tex_binding_unit() 361 EMIT_TS(svga, unit, state->min_lod, TEXTURE_MIPMAP_LEVEL); in emit_tss_unit()
|
D | svga_pipe_sampler.c | 170 float min_lod, max_lod; in define_sampler_state_object() local 186 assert(ps->min_lod <= ps->max_lod); in define_sampler_state_object() 190 min_lod = max_lod = 0.0f; in define_sampler_state_object() 193 min_lod = ps->min_lod; in define_sampler_state_object() 223 min_lod, /* float */ in define_sampler_state_object() 272 cso->min_lod = 0; in svga_create_sampler_state() 273 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state() 279 cso->min_lod = cso->view_min_lod; in svga_create_sampler_state() 292 cso->min_lod, cso->view_min_lod, cso->view_max_lod, in svga_create_sampler_state()
|
D | svga_sampler_view.h | 66 int min_lod; member 80 unsigned min_lod, unsigned max_lod);
|
D | svga_context.h | 211 unsigned min_lod; member 340 unsigned min_lod; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; in nv30_fragtex_validate() local 64 min_lod = sv->base_lod; in nv30_fragtex_validate() 67 min_lod = MIN2(ss->min_lod + sv->base_lod, max_lod); in nv30_fragtex_validate() 87 enable |= (min_lod << 19) | (max_lod << 7); in nv30_fragtex_validate() 123 enable |= (min_lod << 18) | (max_lod << 6); in nv30_fragtex_validate()
|
D | nv30_texture.c | 179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create()
|
D | nv30_state.h | 47 unsigned min_lod; member
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture_state.c | 65 cs->min_lod = etna_float_to_fixp55(ss->min_lod); in etna_create_sampler_state_state() 70 cs->min_lod = cs->max_lod = etna_float_to_fixp55(ss->min_lod); in etna_create_sampler_state_state() 155 sv->min_lod = sv->base.u.tex.first_level << 5; in etna_create_sampler_view_state() 272 VIVS_TE_SAMPLER_LOD_CONFIG_MIN(MAX2(ss->min_lod, sv->min_lod))); in etna_emit_texture_state()
|
D | etnaviv_texture_state.h | 46 unsigned min_lod, max_lod; member 66 unsigned min_lod, max_lod; /* 5.5 fixp */ member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 132 sampler->min_lod = MAX2(msamp->MinLod, 0.0f); in st_convert_sampler() 134 if (sampler->max_lod < sampler->min_lod) { in st_convert_sampler() 139 sampler->max_lod = sampler->min_lod; in st_convert_sampler() 140 sampler->min_lod = tmp; in st_convert_sampler() 141 assert(sampler->min_lod <= sampler->max_lod); in st_convert_sampler()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 212 DRAW_LLVM_SAMPLER_MEMBER(min_lod, DRAW_JIT_SAMPLER_MIN_LOD, TRUE) 287 sampler->dynamic_state.base.min_lod = draw_llvm_sampler_min_lod; in draw_llvm_sampler_soa_create()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 218 LP_LLVM_SAMPLER_MEMBER(min_lod, LP_JIT_SAMPLER_MIN_LOD, TRUE) in LP_LLVM_SAMPLER_MEMBER() argument 313 sampler->dynamic_state.base.min_lod = lp_llvm_sampler_min_lod; in lp_llvm_sampler_soa_create()
|
D | lp_jit.h | 67 float min_lod; member
|
D | lp_jit.c | 132 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, min_lod, in lp_jit_create_types()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 265 SWR_SAMPLER_MEMBER(min_lod, TRUE) in SWR_SAMPLER_MEMBER() argument 348 sampler->dynamic_state.base.min_lod = swr_sampler_min_lod; in swr_sampler_soa_create()
|
D | swr_context.h | 79 float min_lod;
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 176 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_sampler_state() 179 if (sampler->min_lod > 0.0f) { in lp_sampler_static_sampler_state() 745 LLVMValueRef min_lod = in lp_build_lod_selector() local 746 dynamic_state->min_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 749 lod = lp_build_broadcast_scalar(lodf_bld, min_lod); in lp_build_lod_selector() 857 LLVMValueRef min_lod = in lp_build_lod_selector() local 858 dynamic_state->min_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 860 min_lod = lp_build_broadcast_scalar(lodf_bld, min_lod); in lp_build_lod_selector() 862 lod = lp_build_max(lodf_bld, lod, min_lod); in lp_build_lod_selector()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_dirty_surfaces.h | 89 …util_dirty_surfaces_use_levels_for_sampling(pipe, dss, (unsigned)pss->min_lod + psv->u.tex.first_l… in util_dirty_surfaces_use_for_sampling_with()
|
D | u_pstipple.c | 161 templat.min_lod = 0.0f; in util_pstipple_create_sampler()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_state.h | 324 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 1780 const float min_lod = sampler->min_lod; in compute_lod() local 1789 lod[0] = lod[1] = lod[2] = lod[3] = CLAMP(biased_lambda, min_lod, max_lod); in compute_lod() 1794 lod[i] = CLAMP(lod[i], min_lod, max_lod); in compute_lod() 1799 lod[i] = CLAMP(lod_in[i], min_lod, max_lod); in compute_lod() 1872 const float min_lod = sampler->min_lod; in compute_lambda_lod() local 1879 lod[i] = CLAMP(lod[i], min_lod, max_lod); in compute_lambda_lod() 1900 const float min_lod = sp_samp->base.min_lod; in clamp_lod() local 1909 cl = CLAMP(cl, min_lod, max_lod); in clamp_lod()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_state.h | 229 unsigned min_lod,
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 402 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 135 A3XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | in fd3_sampler_state_create()
|