Searched refs:maxlod (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_texstate.c | 195 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 | 147 GLfloat maxlod; in i915_update_tex_unit() local 188 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit() 192 (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 | 273 int maxlod = (int) (16.0 * sampler->max_lod); in i915_create_sampler_state() local 275 maxlod = CLAMP(maxlod, 0, 16 * 11); in i915_create_sampler_state() 277 if (minlod > maxlod) in i915_create_sampler_state() 278 maxlod = minlod; in i915_create_sampler_state() 281 cso->maxlod = maxlod; in i915_create_sampler_state()
|
D | i915_state_sampler.c | 333 if (max_lod > (sampler->maxlod >> 2)) in update_map() 334 max_lod = sampler->maxlod >> 2; in update_map()
|
D | i915_context.h | 213 unsigned maxlod; member
|