intel: Flush the batch when we're about to subdata into a VBO.
authorEric Anholt <eric@anholt.net>
Thu, 24 Sep 2009 23:15:52 +0000 (16:15 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Sep 2009 23:24:46 +0000 (16:24 -0700)
commitcc8084932cc552587e3036dbbf62c77db3b4a08e
tree94c79bc5258b4237092420cf23a0f2288187e993
parent54107a097904129ff794534542acd09ed152ea2e
intel: Flush the batch when we're about to subdata into a VBO.

This fixes the clears in openarena with the new metaops clear code, and
the new piglit vbo-subdata-sync test.

Bug #23857.
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_clear.c