i965: Stop abusing ctx->NewState flags for storing driver internal changes.
authorEric Anholt <eric@anholt.net>
Wed, 24 Mar 2010 03:52:06 +0000 (20:52 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 23 Mar 2010 19:51:54 +0000 (15:51 -0400)
commit516334b7fff5e0167d3f3fbcd15de08b5ca89747
treea067fc81c75422499b8f8eaacad8705e651e8d2f
parented29329b085c31c42d4c366b619222e5476e9b75
i965: Stop abusing ctx->NewState flags for storing driver internal changes.

We're still abusing the flags by putting them where our driver stores
ctx->NewState changes.  Making them into more restricted state change
flags would be a project for later.

Fixes a failure where calling intel_draw_buffer() too often would trip
up Mesa assertions about when Mesa state could get changed, when it hadn't.

Bug #27034.
src/mesa/drivers/dri/intel/intel_buffers.c