/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 52 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() 72 assert(max_lod <= pt->last_level); in svga_get_tex_sampler_view() 82 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 97 tex->cached_view->max_lod == max_lod) { in svga_get_tex_sampler_view() 101 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 120 sv->max_lod = max_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() [all …]
|
D | svga_state_tss.c | 85 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() 97 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level); in emit_tex_binding_unit() 103 max_lod = 0; in emit_tex_binding_unit() 108 view->max_lod != max_lod) { in emit_tex_binding_unit() 115 view->max_lod = max_lod; in emit_tex_binding_unit() 121 max_lod); in emit_tex_binding_unit()
|
D | svga_pipe_sampler.c | 170 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() 194 max_lod = ps->max_lod; in define_sampler_state_object() 224 max_lod); /* float */ in define_sampler_state_object() 274 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0); in svga_create_sampler_state()
|
D | svga_sampler_view.h | 67 int max_lod; member 80 unsigned min_lod, unsigned max_lod);
|
/external/mesa3d/src/gallium/drivers/nouveau/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 | 48 unsigned max_lod; member
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 309 unsigned max_lod = num_levels * 4; in update_map() local 320 max_lod = 1; in update_map() 347 if (max_lod > (sampler->maxlod >> 2)) in update_map() 348 max_lod = sampler->maxlod >> 2; in update_map() 354 | ((max_lod) << MS4_MAX_LOD_SHIFT) in update_map()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture_state.c | 66 cs->max_lod = etna_float_to_fixp55(ss->max_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() 156 sv->max_lod = MIN2(sv->base.u.tex.last_level, res->base.last_level) << 5; in etna_create_sampler_view_state() 271 VIVS_TE_SAMPLER_LOD_CONFIG_MAX(MIN2(ss->max_lod, sv->max_lod)) | in etna_emit_texture_state()
|
D | etnaviv_texture_state.h | 46 unsigned min_lod, max_lod; member 66 unsigned min_lod, max_lod; /* 5.5 fixp */ member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 133 sampler->max_lod = msamp->MaxLod; in st_convert_sampler() 134 if (sampler->max_lod < sampler->min_lod) { in st_convert_sampler() 138 float tmp = sampler->max_lod; in st_convert_sampler() 139 sampler->max_lod = sampler->min_lod; in st_convert_sampler() 141 assert(sampler->min_lod <= sampler->max_lod); in st_convert_sampler()
|
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp | 1029 const int max_lod = in iterate() local 1068 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &red_type); in iterate() 1069 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &red_size); in iterate() 1070 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, in iterate() 1072 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_SAMPLES, &texture_samples); in iterate() 1081 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &float_value); in iterate() 1084 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &float_value); in iterate() 1087 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, &float_value); in iterate() 1090 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_SAMPLES, &float_value); in iterate()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 213 DRAW_LLVM_SAMPLER_MEMBER(max_lod, DRAW_JIT_SAMPLER_MAX_LOD, TRUE) 288 sampler->dynamic_state.base.max_lod = draw_llvm_sampler_max_lod; in draw_llvm_sampler_soa_create()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 219 LP_LLVM_SAMPLER_MEMBER(max_lod, LP_JIT_SAMPLER_MAX_LOD, TRUE) in LP_LLVM_SAMPLER_MEMBER() 314 sampler->dynamic_state.base.max_lod = lp_llvm_sampler_max_lod; in lp_llvm_sampler_soa_create()
|
D | lp_jit.h | 68 float max_lod; member
|
D | lp_jit.c | 135 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, max_lod, in lp_jit_create_types()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 266 SWR_SAMPLER_MEMBER(max_lod, TRUE) in SWR_SAMPLER_MEMBER() 349 sampler->dynamic_state.base.max_lod = swr_sampler_max_lod; in swr_sampler_soa_create()
|
D | swr_context.h | 80 float max_lod;
|
/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()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 162 if (sampler->max_lod > 0.0f) { in lp_sampler_static_sampler_state() 176 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_sampler_state() 187 if (sampler->max_lod < (PIPE_MAX_TEXTURE_LEVELS - 1)) { in lp_sampler_static_sampler_state() 849 LLVMValueRef max_lod = in lp_build_lod_selector() local 850 dynamic_state->max_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 852 max_lod = lp_build_broadcast_scalar(lodf_bld, max_lod); in lp_build_lod_selector() 854 lod = lp_build_min(lodf_bld, lod, max_lod); in lp_build_lod_selector()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_state.h | 324 float min_lod, max_lod; /**< LOD clamp range, after bias */ member
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 1781 const float max_lod = sampler->max_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() 1873 const float max_lod = sampler->max_lod; in compute_lambda_lod() local 1879 lod[i] = CLAMP(lod[i], min_lod, max_lod); in compute_lambda_lod() 1901 const float max_lod = sp_samp->base.max_lod; in clamp_lod() local 1909 cl = CLAMP(cl, min_lod, max_lod); in clamp_lod()
|