Home
last modified time | relevance | path

Searched refs:maxlod (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c193 float maxlod; in i830_update_tex_unit() local
265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
268 maxlod_fixed = U_FIXED(CLAMP(maxlod, 0.0, 11.75), 2); in i830_update_tex_unit()
273 maxlod_fixed = U_FIXED(CLAMP(maxlod, 0.0, 11), 0); in i830_update_tex_unit()
Di915_texstate.c152 GLfloat maxlod; in i915_update_tex_unit() local
192 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
196 (U_FIXED(CLAMP(maxlod, 0.0, 11.0), 2) << MS4_MAX_LOD_SHIFT) | in i915_update_tex_unit()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c274 int maxlod = (int) (16.0 * sampler->max_lod); in i915_create_sampler_state() local
276 maxlod = CLAMP(maxlod, 0, 16 * 11); in i915_create_sampler_state()
278 if (minlod > maxlod) in i915_create_sampler_state()
279 maxlod = minlod; in i915_create_sampler_state()
282 cso->maxlod = maxlod; in i915_create_sampler_state()
Di915_state_sampler.c347 if (max_lod > (sampler->maxlod >> 2)) in update_map()
348 max_lod = sampler->maxlod >> 2; in update_map()
Di915_context.h210 unsigned maxlod; member