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:29:54 +0000 (15:29 -0400)
commit3d99e990c078f3e1096e7d09bc686643e71d5681
tree8123236e392f8ee8d195990597e6a2fc840982f6
parent57edf6b1fc6d126821f9395b35a27462c3d94202
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