/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/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/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/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()
|
D | lp_bld_sample.h | 168 (*min_lod)(const struct lp_sampler_dynamic_state *state, member
|
/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
|
D | lp_jit.c | 103 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, min_lod, in lp_jit_create_types()
|
D | lp_setup.c | 730 jit_tex->min_lod = sampler->min_lod; in lp_setup_set_fragment_sampler_state()
|
/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()
|
D | draw_llvm.h | 53 float min_lod; member
|
/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 | 163 templat.min_lod = 0.0f; in util_pstipple_create_sampler()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_context.h | 223 samplerd.min_lod = -FLT_MAX; in init_context() 236 samplerd.min_lod = -FLT_MAX; in init_context() 1731 float min_lod) in SetResourceMinLOD() 1735 if(resource->min_lod != min_lod) in SetResourceMinLOD() 1738 resource->min_lod = min_lod; in SetResourceMinLOD() 1747 return resource->min_lod; in GetResourceMinLOD()
|
D | d3d11_objects.h | 308 float min_lod; 312 : resource(resource), min_lod(0), dxgi_usage(dxgi_usage)
|
/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 | 162 sampler->ss1.min_lod = U_FIXED(CLAMP(gl_sampler->MinLod, 0, 13), 8); in gen7_update_sampler_state()
|
D | brw_structs.h | 657 GLuint min_lod:10; member 704 GLuint min_lod:12; member 850 GLuint min_lod:4; member
|
D | brw_wm_sampler_state.c | 295 sampler->ss1.min_lod = U_FIXED(CLAMP(gl_sampler->MinLod, 0, 13), 6); in brw_update_sampler_state()
|