Searched refs:maxlod_fixed (Results 1 – 1 of 1) sorted by relevance
194 uint32_t minlod_fixed, maxlod_fixed; in i830_update_tex_unit() local268 maxlod_fixed = U_FIXED(CLAMP(maxlod, 0.0, 11.75), 2); in i830_update_tex_unit()269 maxlod_fixed = MAX2(maxlod_fixed, (minlod_fixed + 3) >> 2); in i830_update_tex_unit()270 state[I830_TEXREG_TM0S3] |= maxlod_fixed << TM0S3_MIN_MIP_SHIFT; in i830_update_tex_unit()273 maxlod_fixed = U_FIXED(CLAMP(maxlod, 0.0, 11), 0); in i830_update_tex_unit()274 maxlod_fixed = MAX2(maxlod_fixed, (minlod_fixed + 15) >> 4); in i830_update_tex_unit()275 state[I830_TEXREG_TM0S3] |= maxlod_fixed << TM0S3_MIN_MIP_SHIFT_830; in i830_update_tex_unit()