mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i915: added to-do note about setting the max_lod register to get proper min/mag filter selection
This commit is contained in:
parent
74525d474c
commit
b70a6babfb
1 changed files with 6 additions and 0 deletions
|
|
@ -206,6 +206,12 @@ i915_update_texture(struct i915_context *i915, uint unit,
|
||||||
| format
|
| format
|
||||||
| MS3_USE_FENCE_REGS);
|
| MS3_USE_FENCE_REGS);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* XXX sampler->max_lod should be used to program the MAX_LOD field below.
|
||||||
|
* Also, when min_filter != mag_filter and there's just one mipmap level,
|
||||||
|
* set max_lod = 1 to make sure i915 chooses between min/mag filtering.
|
||||||
|
*/
|
||||||
|
|
||||||
/* MS4 state */
|
/* MS4 state */
|
||||||
state[1] =
|
state[1] =
|
||||||
((((pitch / 4) - 1) << MS4_PITCH_SHIFT)
|
((((pitch / 4) - 1) << MS4_PITCH_SHIFT)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue