Home
last modified time | relevance | path

Searched refs:min_lod (Results 1 – 25 of 70) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_sampler_view.c52 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 …]
Dsvga_state_tss.c85 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()
Dsvga_pipe_sampler.c170 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()
Dsvga_sampler_view.h66 int min_lod; member
80 unsigned min_lod, unsigned max_lod);
Dsvga_context.h211 unsigned min_lod; member
340 unsigned min_lod; member
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragtex.c52 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()
Dnv30_texture.c179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create()
Dnv30_state.h47 unsigned min_lod; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c65 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()
Detnaviv_texture_state.h46 unsigned min_lod, max_lod; member
66 unsigned min_lod, max_lod; /* 5.5 fixp */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c132 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/
Ddraw_llvm_sample.c212 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/
Dlp_tex_sample.c218 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()
Dlp_jit.h67 float min_lod; member
Dlp_jit.c132 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, min_lod, in lp_jit_create_types()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp265 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()
Dswr_context.h79 float min_lod;
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c176 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/
Du_dirty_surfaces.h89 …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()
Du_pstipple.c161 templat.min_lod = 0.0f; in util_pstipple_create_sampler()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h324 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1780 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/
Dbrw_state.h229 unsigned min_lod,
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h402 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c135 A3XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | in fd3_sampler_state_create()

123