diff options
author | Thomas Hellström <thomas@shipmail.org> | 2006-12-28 13:58:38 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@shipmail.org> | 2006-12-28 13:58:38 +0000 |
commit | 3ed13a411f4b39e308e749db0ab9522b9c5c6b2c (patch) | |
tree | f459dd8ff054af3e5b5759e942924b55b0d28605 | |
parent | 344e9fac17fbbc5cbe56fd5b04c830b761e5f21c (diff) |
Work around an obscure hardware limitation when texturing from
AGP.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | unichrome/via_accel.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2006-12-28 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> + * unichrome/via_accel.c: (viaExaTexUploadToScreen): + + Work around an obscure hardware limitation when texturing from + AGP. + +2006-12-28 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> + * unichrome/via_dri.c: (VIASetAgpMode): Fix AGP mode setting. diff --git a/unichrome/via_accel.c b/unichrome/via_accel.c index 0ec216e..c6c15e9 100644 --- a/unichrome/via_accel.c +++ b/unichrome/via_accel.c @@ -1696,7 +1696,7 @@ viaExaTexUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h, char *src, dstOffset = exaGetPixmapOffset(pDst); if (pVia->nPOT[0]) { - texPitch = ALIGN_TO(wBytes, 8); + texPitch = ALIGN_TO(wBytes, 32); height = VIA_AGP_UPL_SIZE / texPitch; } else { viaOrder(wBytes, &texPitch); |