/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 | 83 unsigned last_level, min_lod, max_lod; in emit_tex_binding_unit() local 89 min_lod = max_lod = sv->u.tex.first_level; in emit_tex_binding_unit() 95 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level); in emit_tex_binding_unit() 101 max_lod = 0; in emit_tex_binding_unit() 106 view->max_lod != max_lod) { in emit_tex_binding_unit() 113 view->max_lod = max_lod; in emit_tex_binding_unit() 119 max_lod); in emit_tex_binding_unit()
|
D | svga_pipe_sampler.c | 170 float min_lod, max_lod; in define_sampler_state_object() local 188 assert(ps->min_lod <= ps->max_lod); in define_sampler_state_object() 192 min_lod = max_lod = 0.0f; in define_sampler_state_object() 196 max_lod = ps->max_lod; in define_sampler_state_object() 213 max_lod); /* float */ in define_sampler_state_object() 259 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/mesa/state_tracker/ |
D | st_atom_sampler.c | 170 sampler->max_lod = msamp->MaxLod; in convert_sampler() 171 if (sampler->max_lod < sampler->min_lod) { in convert_sampler() 175 float tmp = sampler->max_lod; in convert_sampler() 176 sampler->max_lod = sampler->min_lod; in convert_sampler() 178 assert(sampler->min_lod <= sampler->max_lod); in convert_sampler()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture.h | 44 unsigned min_lod, max_lod; member 63 unsigned min_lod, max_lod; /* 5.5 fixp */ member
|
D | etnaviv_texture.c | 63 cs->max_lod = etna_float_to_fixp55(ss->max_lod); in etna_create_sampler_state() 67 cs->min_lod = cs->max_lod = etna_float_to_fixp55(ss->min_lod); in etna_create_sampler_state() 226 sv->max_lod = MIN2(sv->base.u.tex.last_level, res->base.last_level) << 5; in etna_create_sampler_view()
|
/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/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_sampler.c | 85 info->max_lod == 0.0f && in sampler_validate_gen6_non_normalized() 329 uint16_t lod_bias, max_lod, min_lod; in sampler_set_gen6_SAMPLER_STATE() local 379 max_lod = get_gen6_lod_clamp(dev, info->max_lod); in sampler_set_gen6_SAMPLER_STATE() 429 max_lod << GEN7_SAMPLER_DW1_MAX_LOD__SHIFT | in sampler_set_gen6_SAMPLER_STATE() 434 max_lod << GEN6_SAMPLER_DW1_MAX_LOD__SHIFT | in sampler_set_gen6_SAMPLER_STATE()
|
D | ilo_state_sampler.h | 43 float max_lod; member
|
/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/mesa/drivers/dri/i965/ |
D | brw_sampler_state.c | 93 unsigned max_lod, in brw_emit_sampler_state() argument 123 SET_FIELD(max_lod, GEN7_SAMPLER_MAX_LOD) | in brw_emit_sampler_state() 155 SET_FIELD(max_lod, GEN4_SAMPLER_MAX_LOD) | in brw_emit_sampler_state() 526 const unsigned max_lod = in brw_update_sampler_state() local 553 base_level, min_lod, max_lod, lod_bias, in brw_update_sampler_state()
|
/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/swr/ |
D | swr_tex_sample.cpp | 260 SWR_SAMPLER_MEMBER(max_lod, TRUE) in SWR_SAMPLER_MEMBER() 343 sampler->dynamic_state.base.max_lod = swr_sampler_max_lod; in swr_sampler_soa_create()
|
D | swr_context.h | 78 float max_lod;
|
/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
|
/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 | 161 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() 844 LLVMValueRef max_lod = in lp_build_lod_selector() local 845 dynamic_state->max_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 847 max_lod = lp_build_broadcast_scalar(lodf_bld, max_lod); in lp_build_lod_selector() 849 lod = lp_build_min(lodf_bld, lod, max_lod); in lp_build_lod_selector()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 1798 const float max_lod = sampler->max_lod; in compute_lod() local 1806 lod[0] = lod[1] = lod[2] = lod[3] = CLAMP(biased_lambda, min_lod, max_lod); in compute_lod() 1811 lod[i] = CLAMP(lod[i], min_lod, max_lod); in compute_lod() 1816 lod[i] = CLAMP(lod_in[i], min_lod, max_lod); in compute_lod() 1890 const float max_lod = sampler->max_lod; in compute_lambda_lod() local 1896 lod[i] = CLAMP(lod[i], min_lod, max_lod); in compute_lambda_lod() 1918 const float max_lod = sp_samp->base.max_lod; in clamp_lod() local 1926 cl = CLAMP(cl, min_lod, max_lod); in clamp_lod()
|