Home
last modified time | relevance | path

Searched refs:lodbias (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c125 GLint lodbias; in i830_update_tex_unit() local
244 lodbias = (int) ((tUnit->LodBias + sampler->LodBias) * 16.0); in i830_update_tex_unit()
245 if (lodbias < -64) in i830_update_tex_unit()
246 lodbias = -64; in i830_update_tex_unit()
247 if (lodbias > 63) in i830_update_tex_unit()
248 lodbias = 63; in i830_update_tex_unit()
250 state[I830_TEXREG_TM0S3] = ((lodbias << TM0S3_LOD_BIAS_SHIFT) & in i830_update_tex_unit()
Di915_texstate.c150 GLint lodbias, aniso = 0; in i915_update_tex_unit() local
253 lodbias = (int) ((tUnit->LodBias + sampler->LodBias) * 16.0); in i915_update_tex_unit()
254 if (lodbias < -256) in i915_update_tex_unit()
255 lodbias = -256; in i915_update_tex_unit()
256 if (lodbias > 255) in i915_update_tex_unit()
257 lodbias = 255; in i915_update_tex_unit()
258 state[I915_TEXREG_SS2] = ((lodbias << SS2_LOD_BIAS_SHIFT) & in i915_update_tex_unit()
/external/mesa3d/docs/
Dversions.rst895 - demos/lodbias program