Home
last modified time | relevance | path

Searched refs:MaxLod (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c90 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_lod()
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_deriv()
Ds_texcombine.c675 samp->MaxLod != 1000.0F) { in _swrast_texture_span()
678 const GLfloat max = samp->MaxLod; in _swrast_texture_span()
Ds_texfilter.c1905 || (samp->MinLod != -1000.0F || samp->MaxLod != 1000.0F); in sample_lambda_2d_aniso()
1977 samp->MaxLod != 1000.0F) { in sample_lambda_2d_aniso()
1979 lod = CLAMP(lod, samp->MinLod, samp->MaxLod); in sample_lambda_2d_aniso()
3528 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in choose_depth_texture_level()
/external/mesa3d/src/mesa/main/
Dsamplerobj.c130 sampObj->MaxLod = 1000.0F; in _mesa_init_sampler_object()
717 if (samp->MaxLod == param) in set_sampler_max_lod()
721 samp->MaxLod = param; in set_sampler_max_lod()
1437 *params = lroundf(sampObj->MaxLod); in _mesa_GetSamplerParameteriv()
1523 *params = sampObj->MaxLod; in _mesa_GetSamplerParameterfv()
1595 *params = (GLint) sampObj->MaxLod; in _mesa_GetSamplerParameterIiv()
1667 *params = (GLuint) sampObj->MaxLod; in _mesa_GetSamplerParameterIuiv()
Dtexparam.c687 if (texObj->Sampler.MaxLod == params[0]) in set_tex_parameterf()
690 texObj->Sampler.MaxLod = params[0]; in set_tex_parameterf()
2203 *params = obj->Sampler.MaxLod; in get_tex_parameterfv()
2458 *params = CLAMP(lroundf(obj->Sampler.MaxLod), INT_MIN, INT_MAX); in get_tex_parameteriv()
Dtexobj.c347 obj->Sampler.MaxLod = 1000.0; in _mesa_initialize_texture_object()
485 dest->Sampler.MaxLod = src->Sampler.MaxLod; in _mesa_copy_texture_object()
Dattrib.c926 _mesa_TexParameterf(target, GL_TEXTURE_MAX_LOD, samp->MaxLod); in pop_texture_group()
Dmtypes.h942 GLfloat MaxLod; /**< max lambda, OpenGL 1.2 */ member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c81 lod_max = CLAMP(MIN2(sa->MaxLod, t->_MaxLambda), in nv04_emit_tex_obj()
Dnv10_state_tex.c210 int lod_max = MIN2(sa->MaxLod, t->_MaxLambda); in nv10_emit_tex_obj()
Dnv20_state_tex.c256 int lod_max = MIN2(sa->MaxLod, t->_MaxLambda); in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
Di915_texstate.c192 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c138 sampler->max_lod = msamp->MaxLod; in st_convert_sampler()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c5319 samp_st.MaxLOD = CLAMP(sampler->MaxLod, 0, hw_max_lod);