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
137 minlod = sampler->minlod; in update_sampler()
140 if (lastlod < minlod) { in update_sampler()
141 minlod = lastlod; in update_sampler()
144 state[1] |= (sampler->minlod << SS3_MIN_LOD_SHIFT); in update_sampler()
Di915_state.c273 int minlod = (int) (16.0 * sampler->min_lod); in i915_create_sampler_state() local
275 minlod = CLAMP(minlod, 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()
281 cso->minlod = minlod; in i915_create_sampler_state()
Di915_context.h209 unsigned minlod; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c292 float minlod; in i915_update_tex_unit() local
355 minlod = MIN2(sampler->MinLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
357 state[I915_TEXREG_SS3] |= (U_FIXED(CLAMP(minlod, 0.0, 11.0), 4) << in i915_update_tex_unit()