r300: Workaround hardware readcache problem
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 8 Jun 2008 20:36:20 +0000 (22:36 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sun, 8 Jun 2008 20:38:58 +0000 (22:38 +0200)
commit00099731195b2e5b57b8bca6342a8a711e0e427a
tree1dfcd66d2d6afb40f80ab88c093f7fcfe5866da6
parentf440b0ddd9690a2f8d7b7eed9b56ff77407b9114
r300: Workaround hardware readcache problem

This workaround is similar to the one found in r200_span.c.
It seems like some part of the read hardware doesn't realize that
VRAM has changed. By reading from an arbitrary position, this is fixed.

The piglit test bugs/r300-readcache is a regression test for this bug.
src/mesa/drivers/dri/r300/radeon_span.c