Fix a typo in i915 render
Fence setting is in mapstate actually. This fixes rotation in tiled fb case, thanks Keith to report this.
This commit is contained in:
parent
b1af2c0e01
commit
45962eed51
|
|
@ -288,7 +288,7 @@ i915_texture_setup(PicturePtr pPict, PixmapPtr pPix, int unit)
|
|||
((pPix->drawable.height - 1) << MS3_HEIGHT_SHIFT) |
|
||||
((pPix->drawable.width - 1) << MS3_WIDTH_SHIFT);
|
||||
if (pI830->tiling)
|
||||
pI830->samplerstate[unit * 3 + 1] |= MS3_USE_FENCE_REGS;
|
||||
pI830->mapstate[unit * 3 + 1] |= MS3_USE_FENCE_REGS;
|
||||
pI830->mapstate[unit * 3 + 2] = ((pitch / 4) - 1) << MS4_PITCH_SHIFT;
|
||||
|
||||
pI830->samplerstate[unit * 3 + 0] = (MIPFILTER_NONE <<
|
||||
|
|
|
|||
Loading…
Reference in New Issue