[Mesa-dev] [PATCH] mesa: use FLUSH_CURRENT and not FLUSH_VERTICES in _mesa_validate_*

Brian Paul brianp at vmware.com
Mon Jul 2 08:44:47 PDT 2012


On 07/02/2012 09:21 AM, Marek Olšák wrote:
> ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH_WITH_RETVAL calls FLUSH_VERTICES, which
> is not what we want.
>
> This fixes a breakage in classic drivers, introduced in:
>
>    62b971673950148eb949ba23d7fdc47debea16f0
>    vbo: first ASSERT_OUTSIDE_BEGIN_END then FLUSH, not the other way around
>
> It should fix:
>    https://bugs.freedesktop.org/show_bug.cgi?id=51629
>    https://bugs.freedesktop.org/show_bug.cgi?id=51642

Looks OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list