intel: Handle forced swrast clears before other clear bits.
authorEric Anholt <eric@anholt.net>
Mon, 3 Jan 2011 01:04:57 +0000 (17:04 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 3 Jan 2011 21:22:38 +0000 (13:22 -0800)
commit94ed481131e4f5ba2c83fe7f3b12715661660133
treeb17f44ba9c056a530b73b4e1bd9bbb2cca3a6f84
parentefbd33aff93d875af95d40db018b7911a3f87d02
intel: Handle forced swrast clears before other clear bits.

Fixes a potential segfault on a non-native depthbuffer, and possible
accidental swrast fallback on extra color buffers.
src/mesa/drivers/dri/intel/intel_clear.c