On Thu, 26 Jan 2012 18:29:30 -0800, "Ian Romanick" <i...@freedesktop.org> wrote:
> From: Ian Romanick <ian.d.roman...@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.roman...@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).

Attachment: pgph76OSdh4oj.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to