[Mesa-dev] [PATCH] intel: Don't try intel_miptree_map_blit if a region is already mapped
Eric Anholt
eric at anholt.net
Fri Jan 27 00:07:10 PST 2012
On Thu, 26 Jan 2012 18:29:30 -0800, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Eventually this path leads to _intel_batchbuffer_flush. The first
> thing there is an assertion that nothing is mapped.
>
> Fixes the afore mentioned assertion failure in piglit's
> fbo-mipmap-copypix, and is related to bug #43328.
>
> NOTE: This is a candidate for the 8.0 branch.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43328
I think the assert is invalid and should be dropped instead.
(basically: the assert is assuming that if *anything* is mapped, the
batch has been flushed, while the reasonable and more common thing to
do, is to flush if your particular buffer was already in use).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120127/6e9636c4/attachment.pgp>
More information about the mesa-dev
mailing list