Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/swrast/
Ds_fragprog.c90 lambda = CLAMP(lambda, samp->Attrib.MinLod, samp->Attrib.MaxLod); in fetch_texel_lod()
138 lambda = CLAMP(lambda, samp->Attrib.MinLod, samp->Attrib.MaxLod); in fetch_texel_deriv()
Ds_texcombine.c675 samp->Attrib.MaxLod != 1000.0F) { in _swrast_texture_span()
678 const GLfloat max = samp->Attrib.MaxLod; in _swrast_texture_span()
Ds_texfilter.c1905 || (samp->Attrib.MinLod != -1000.0F || samp->Attrib.MaxLod != 1000.0F); in sample_lambda_2d_aniso()
1977 samp->Attrib.MaxLod != 1000.0F) { in sample_lambda_2d_aniso()
1979 lod = CLAMP(lod, samp->Attrib.MinLod, samp->Attrib.MaxLod); in sample_lambda_2d_aniso()
3528 lambda = CLAMP(lambda, samp->Attrib.MinLod, samp->Attrib.MaxLod); in choose_depth_texture_level()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c81 lod_max = CLAMP(MIN2(sa->Attrib.MaxLod, t->_MaxLambda), in nv04_emit_tex_obj()
Dnv10_state_tex.c210 int lod_max = MIN2(sa->Attrib.MaxLod, t->_MaxLambda); in nv10_emit_tex_obj()
Dnv20_state_tex.c256 int lod_max = MIN2(sa->Attrib.MaxLod, t->_MaxLambda); in nv20_emit_tex_obj()
/third_party/mesa3d/src/mesa/main/
Dsamplerobj.c137 sampObj->Attrib.MaxLod = 1000.0F; in _mesa_init_sampler_object()
763 if (samp->Attrib.MaxLod == param) in set_sampler_max_lod()
767 samp->Attrib.MaxLod = param; in set_sampler_max_lod()
1527 *params = lroundf(sampObj->Attrib.MaxLod); in _mesa_GetSamplerParameteriv()
1619 *params = sampObj->Attrib.MaxLod; in _mesa_GetSamplerParameterfv()
1697 *params = (GLint) sampObj->Attrib.MaxLod; in _mesa_GetSamplerParameterIiv()
1775 *params = (GLuint) sampObj->Attrib.MaxLod; in _mesa_GetSamplerParameterIuiv()
Dtexparam.c742 if (texObj->Sampler.Attrib.MaxLod == params[0]) in set_tex_parameterf()
745 texObj->Sampler.Attrib.MaxLod = params[0]; in set_tex_parameterf()
2265 *params = obj->Sampler.Attrib.MaxLod; in get_tex_parameterfv()
2527 *params = LCLAMPF(obj->Sampler.Attrib.MaxLod, INT_MIN, INT_MAX); in get_tex_parameteriv()
Dtexobj.c359 obj->Sampler.Attrib.MaxLod = 1000.0; in _mesa_initialize_texture_object()
Dmtypes.h912 GLfloat MaxLod; /**< max lambda, OpenGL 1.2 */ member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c265 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i830_update_tex_unit()
Di915_texstate.c192 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i915_update_tex_unit()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c262 maxLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MaxLod + 0.5); in calculate_min_max_lod()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c262 maxLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MaxLod + 0.5); in calculate_min_max_lod()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c5312 samp_st.MaxLOD = CLAMP(sampler->Attrib.MaxLod, 0, hw_max_lod);