diff options
author | Eric Anholt <[email protected]> | 2011-07-25 11:50:27 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-07-25 13:47:01 -0700 |
commit | 185868c9c2e6a31a7313df2dbe29490547b65f61 (patch) | |
tree | ea45ce492c982854e238c3ca9664530f449d9361 /src/mesa/drivers/common/meta.h | |
parent | d92463d5dc42aca09a54588c322fc60582cf9131 (diff) |
i965: Emit texture cache flushes on gen6 along with render cache flushes.
It turns out that internally the texture cache gets flushed in a
couple of cases, particularly around 2D operations mixed with 3D. In
almost all cases one of those happens between rendering to an
FBO-attached texture and rendering from that texture. However, as of
the next patch, glean tfbo (and the new fbo-flushing-2 test) would
manage to get stale texture values because one of those flushes didn't
occur. The intention of this code was always to get the render cache
cleared and ready to be used from the sampler cache (and it does on <=
gen4), so this just catches gen5 up.
This patch was also tested to fix fbo-flushing on gen7.
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
0 files changed, 0 insertions, 0 deletions