Searched refs:maxlod (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_texstate.c | 193 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()
|
D | i915_texstate.c | 152 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/ |
D | i915_state.c | 274 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()
|
D | i915_state_sampler.c | 347 if (max_lod > (sampler->maxlod >> 2)) in update_map() 348 max_lod = sampler->maxlod >> 2; in update_map()
|
D | i915_context.h | 210 unsigned maxlod; member
|