Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_sampler_view.c51 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
68 assert(min_lod >= 0); in svga_get_tex_sampler_view()
69 assert(min_lod <= max_lod); in svga_get_tex_sampler_view()
80 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view()
94 tex->cached_view->min_lod == min_lod && in svga_get_tex_sampler_view()
99 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view()
114 sv->min_lod = min_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 …]
Dsvga_state_tss.c74 unsigned min_lod; in update_tss_binding() local
89 min_lod = MAX2(0, (s->view_min_lod + sv->u.tex.first_level)); in update_tss_binding()
94 min_lod = 0; in update_tss_binding()
99 view->min_lod != min_lod || in update_tss_binding()
106 view->min_lod = min_lod; in update_tss_binding()
112 min_lod, in update_tss_binding()
302 EMIT_TS(svga, i, curr->min_lod, TEXTURE_MIPMAP_LEVEL, fail); in update_tss()
Dsvga_sampler_view.h64 int min_lod; member
78 unsigned min_lod, unsigned max_lod);
Dsvga_pipe_sampler.c130 cso->min_lod = 0; in svga_create_sampler_state()
131 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state()
137 cso->min_lod = cso->view_min_lod; in svga_create_sampler_state()
145 cso->min_lod, cso->view_min_lod, cso->view_max_lod, in svga_create_sampler_state()
Dsvga_context.h183 unsigned min_lod; member
267 unsigned min_lod; member
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_sampler_view.c51 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
68 assert(min_lod >= 0); in svga_get_tex_sampler_view()
69 assert(min_lod <= max_lod); in svga_get_tex_sampler_view()
80 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view()
94 tex->cached_view->min_lod == min_lod && in svga_get_tex_sampler_view()
99 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view()
114 sv->min_lod = min_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 …]
Dsvga_state_tss.c74 unsigned min_lod; in update_tss_binding() local
89 min_lod = MAX2(0, (s->view_min_lod + sv->u.tex.first_level)); in update_tss_binding()
94 min_lod = 0; in update_tss_binding()
99 view->min_lod != min_lod || in update_tss_binding()
106 view->min_lod = min_lod; in update_tss_binding()
112 min_lod, in update_tss_binding()
302 EMIT_TS(svga, i, curr->min_lod, TEXTURE_MIPMAP_LEVEL, fail); in update_tss()
Dsvga_sampler_view.h64 int min_lod; member
78 unsigned min_lod, unsigned max_lod);
Dsvga_pipe_sampler.c130 cso->min_lod = 0; in svga_create_sampler_state()
131 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state()
137 cso->min_lod = cso->view_min_lod; in svga_create_sampler_state()
145 cso->min_lod, cso->view_min_lod, cso->view_max_lod, in svga_create_sampler_state()
Dsvga_context.h183 unsigned min_lod; member
267 unsigned min_lod; member
/external/mesa3d/src/gallium/drivers/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.h45 unsigned min_lod; member
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/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()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_sampler.c156 sampler->min_lod = CLAMP(msamp->MinLod, in convert_sampler()
161 if (sampler->max_lod < sampler->min_lod) { in convert_sampler()
166 sampler->max_lod = sampler->min_lod; in convert_sampler()
167 sampler->min_lod = tmp; in convert_sampler()
168 assert(sampler->min_lod <= sampler->max_lod); in convert_sampler()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c156 sampler->min_lod = CLAMP(msamp->MinLod, in convert_sampler()
161 if (sampler->max_lod < sampler->min_lod) { in convert_sampler()
166 sampler->max_lod = sampler->min_lod; in convert_sampler()
167 sampler->min_lod = tmp; in convert_sampler()
168 assert(sampler->min_lod <= sampler->max_lod); in convert_sampler()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c151 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_state()
154 if (sampler->min_lod > 0.0f) { in lp_sampler_static_state()
512 LLVMValueRef min_lod = in lp_build_lod_selector() local
513 bld->dynamic_state->min_lod(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector()
515 lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
588 LLVMValueRef min_lod = in lp_build_lod_selector() local
589 bld->dynamic_state->min_lod(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector()
590 min_lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
592 lod = lp_build_max(perquadf_bld, lod, min_lod); in lp_build_lod_selector()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c151 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_state()
154 if (sampler->min_lod > 0.0f) { in lp_sampler_static_state()
512 LLVMValueRef min_lod = in lp_build_lod_selector() local
513 bld->dynamic_state->min_lod(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector()
515 lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
588 LLVMValueRef min_lod = in lp_build_lod_selector() local
589 bld->dynamic_state->min_lod(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector()
590 min_lod = lp_build_broadcast_scalar(perquadf_bld, min_lod); in lp_build_lod_selector()
592 lod = lp_build_max(perquadf_bld, lod, min_lod); in lp_build_lod_selector()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c157 LP_LLVM_TEXTURE_MEMBER(min_lod, LP_JIT_TEXTURE_MIN_LOD, TRUE) in LP_LLVM_TEXTURE_MEMBER()
252 sampler->dynamic_state.base.min_lod = lp_llvm_texture_min_lod; in lp_llvm_sampler_soa_create()
Dlp_jit.h60 float min_lod; member
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c152 DRAW_LLVM_TEXTURE_MEMBER(min_lod, DRAW_JIT_TEXTURE_MIN_LOD, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
242 sampler->dynamic_state.base.min_lod = draw_llvm_texture_min_lod; in draw_llvm_sampler_soa_create()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c152 DRAW_LLVM_TEXTURE_MEMBER(min_lod, DRAW_JIT_TEXTURE_MIN_LOD, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
242 sampler->dynamic_state.base.min_lod = draw_llvm_texture_min_lod; in draw_llvm_sampler_soa_create()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c157 LP_LLVM_TEXTURE_MEMBER(min_lod, LP_JIT_TEXTURE_MIN_LOD, TRUE) in LP_LLVM_TEXTURE_MEMBER()
252 sampler->dynamic_state.base.min_lod = lp_llvm_texture_min_lod; in lp_llvm_sampler_soa_create()
Dlp_jit.h60 float min_lod; member

1234