Home
last modified time | relevance | path

Searched refs:minlod (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c89 unsigned minlod, lastlod; in update_sampler() local
133 minlod = sampler->minlod; in update_sampler()
136 if (lastlod < minlod) { in update_sampler()
137 minlod = lastlod; in update_sampler()
140 state[1] |= (sampler->minlod << SS3_MIN_LOD_SHIFT); in update_sampler()
Di915_state.c272 int minlod = (int) (16.0 * sampler->min_lod); in i915_create_sampler_state() local
274 minlod = CLAMP(minlod, 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()
280 cso->minlod = minlod; in i915_create_sampler_state()
Di915_context.h212 unsigned minlod; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c288 float minlod; in i915_update_tex_unit() local
351 minlod = MIN2(sampler->MinLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
353 state[I915_TEXREG_SS3] |= (U_FIXED(CLAMP(minlod, 0.0, 11.0), 4) << in i915_update_tex_unit()