Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c127 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.c145 GLint lodbias, aniso = 0; in i915_update_tex_unit() local
249 lodbias = (int) ((tUnit->LodBias + sampler->LodBias) * 16.0); in i915_update_tex_unit()
250 if (lodbias < -256) in i915_update_tex_unit()
251 lodbias = -256; in i915_update_tex_unit()
252 if (lodbias > 255) in i915_update_tex_unit()
253 lodbias = 255; in i915_update_tex_unit()
254 state[I915_TEXREG_SS2] = ((lodbias << SS2_LOD_BIAS_SHIFT) & in i915_update_tex_unit()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.h162 float lodbias,
Dsp_tex_sample.c1438 const float lodbias[TGSI_QUAD_SIZE], in compute_lod()
1444 lod[i] = biased_lambda + lodbias[i]; in compute_lod()
/external/mesa3d/docs/
DVERSIONS727 - demos/lodbias program