/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 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 …]
|
D | svga_state_tss.c | 74 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()
|
D | svga_sampler_view.h | 64 int min_lod; member 78 unsigned min_lod, unsigned max_lod);
|
D | svga_pipe_sampler.c | 130 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()
|
D | svga_context.h | 183 unsigned min_lod; member 267 unsigned min_lod; member
|
/external/chromium_org/third_party/mesa/src/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 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 …]
|
D | svga_state_tss.c | 74 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()
|
D | svga_sampler_view.h | 64 int min_lod; member 78 unsigned min_lod, unsigned max_lod);
|
D | svga_pipe_sampler.c | 130 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()
|
D | svga_context.h | 183 unsigned min_lod; member 267 unsigned min_lod; member
|
/external/mesa3d/src/gallium/drivers/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 | 45 unsigned min_lod; member
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/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()
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 156 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/ |
D | st_atom_sampler.c | 156 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/ |
D | lp_bld_sample.c | 151 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/ |
D | lp_bld_sample.c | 151 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/ |
D | lp_tex_sample.c | 157 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()
|
D | lp_jit.h | 60 float min_lod; member
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 152 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/ |
D | draw_llvm_sample.c | 152 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/ |
D | lp_tex_sample.c | 157 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()
|
D | lp_jit.h | 60 float min_lod; member
|