i965: Always intel_prepare_render() after invalidating front buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 5 May 2014 18:02:18 +0000 (11:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 6 May 2014 18:30:54 +0000 (11:30 -0700)
commitcde8bad1c9363ee293ae7844bcecb6179426ea65
tree574ad0a46e309e6ed0346df13e1473cdadfe7ae4
parent2484daa4fd0d54877175767d98d4d33ef0bac30f
i965: Always intel_prepare_render() after invalidating front buffers.

Fixes glean/texture_srgb, which hit recursive-flush prevention
assertions in vbo_exec_FlushVertices.

This probably hurts the performance of front buffer rendering, but
very few people in their right mind do front buffer rendering.

Fixes Glean's texture_srgb test.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_buffers.c