/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 51 util_sprintf(buf, "svga_sampler_view<%s,[%u,%u]>", res, sv->min_lod, sv->max_lod); in svga_debug_describe_sampler_view() 57 unsigned min_lod, unsigned max_lod) in svga_get_tex_sampler_view() argument 69 assert(min_lod <= max_lod); in svga_get_tex_sampler_view() 70 assert(max_lod <= pt->last_level); in svga_get_tex_sampler_view() 80 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 95 tex->cached_view->max_lod == max_lod) { in svga_get_tex_sampler_view() 99 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 115 sv->max_lod = max_lod; in svga_get_tex_sampler_view() 121 pt, min_lod, max_lod, in svga_get_tex_sampler_view() 122 max_lod - min_lod + 1, in svga_get_tex_sampler_view() [all …]
|
D | svga_state_tss.c | 75 unsigned max_lod; in update_tss_binding() local 90 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, in update_tss_binding() 95 max_lod = 0; in update_tss_binding() 100 view->max_lod != max_lod) { in update_tss_binding() 107 view->max_lod = max_lod; in update_tss_binding() 113 max_lod); in update_tss_binding()
|
D | svga_sampler_view.h | 65 int max_lod; member 78 unsigned min_lod, unsigned max_lod);
|
D | svga_context.h | 268 unsigned max_lod; member
|
D | svga_pipe_sampler.c | 132 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0); in svga_create_sampler_state()
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; in nv30_fragtex_validate() local 63 max_lod = sv->base_lod; in nv30_fragtex_validate() 66 max_lod = MIN2(ss->max_lod + sv->base_lod, sv->high_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 | 133 const float max_lod = 15.0 + (255.0 / 256.0); in nv30_sampler_state_create() local 178 so->max_lod = (int)(CLAMP(cso->max_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create() 179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create()
|
D | nv30_state.h | 46 unsigned max_lod; member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 159 sampler->max_lod = MIN2((GLfloat) texobj->MaxLevel - texobj->BaseLevel, in convert_sampler() 161 if (sampler->max_lod < sampler->min_lod) { in convert_sampler() 165 float tmp = sampler->max_lod; in convert_sampler() 166 sampler->max_lod = sampler->min_lod; in convert_sampler() 168 assert(sampler->min_lod <= sampler->max_lod); in convert_sampler()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 305 unsigned max_lod = num_levels * 4; in update_map() local 333 if (max_lod > (sampler->maxlod >> 2)) in update_map() 334 max_lod = sampler->maxlod >> 2; in update_map() 340 | ((max_lod) << MS4_MAX_LOD_SHIFT) in update_map()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 158 LP_LLVM_TEXTURE_MEMBER(max_lod, LP_JIT_TEXTURE_MAX_LOD, TRUE) in LP_LLVM_TEXTURE_MEMBER() 253 sampler->dynamic_state.base.max_lod = lp_llvm_texture_max_lod; in lp_llvm_sampler_soa_create()
|
D | lp_jit.h | 61 float max_lod; member
|
D | lp_jit.c | 106 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, max_lod, in lp_jit_create_types()
|
D | lp_setup.c | 731 jit_tex->max_lod = sampler->max_lod; in lp_setup_set_fragment_sampler_state()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 153 DRAW_LLVM_TEXTURE_MEMBER(max_lod, DRAW_JIT_TEXTURE_MAX_LOD, TRUE) in DRAW_LLVM_TEXTURE_MEMBER() 243 sampler->dynamic_state.base.max_lod = draw_llvm_texture_max_lod; in draw_llvm_sampler_soa_create()
|
D | draw_llvm.h | 54 float max_lod; member
|
D | draw_llvm.c | 133 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, max_lod, in create_jit_texture_type() 1404 jit_tex->max_lod = s->max_lod; in draw_llvm_set_sampler_state()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 137 if (view->u.tex.last_level && sampler->max_lod > 0.0f) { in lp_sampler_static_state() 151 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_state() 158 if (sampler->max_lod < (float)view->u.tex.last_level) { in lp_sampler_static_state() 581 LLVMValueRef max_lod = in lp_build_lod_selector() local 582 bld->dynamic_state->max_lod(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector() 583 max_lod = lp_build_broadcast_scalar(perquadf_bld, max_lod); in lp_build_lod_selector() 585 lod = lp_build_min(perquadf_bld, lod, max_lod); in lp_build_lod_selector()
|
D | lp_bld_sample.h | 173 (*max_lod)(const struct lp_sampler_dynamic_state *state, member
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_dirty_surfaces.h | 90 MIN2((unsigned)ceilf(pss->max_lod) + psv->u.tex.first_level, psv->u.tex.last_level), flush); in util_dirty_surfaces_use_for_sampling_with()
|
D | u_pstipple.c | 164 templat.max_lod = 0.0f; in util_pstipple_create_sampler()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 318 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_sampler_state.c | 161 sampler->ss1.max_lod = U_FIXED(CLAMP(gl_sampler->MaxLod, 0, 13), 8); in gen7_update_sampler_state()
|
D | brw_wm_sampler_state.c | 294 sampler->ss1.max_lod = U_FIXED(CLAMP(gl_sampler->MaxLod, 0, 13), 6); in brw_update_sampler_state()
|
/external/mesa3d/src/gallium/docs/source/cso/ |
D | sampler.rst | 99 max_lod
|