gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.
authorBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 20:57:19 +0000 (14:57 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 21:08:18 +0000 (15:08 -0600)
commit69c39b9ae28764194a6d310d58aa36b7ac596aa9
treec5bfa6e40116c5f30cdedf224f962995185c352c
parenta889928d85ac8ba7e1a7fe15393858a9422cf750
gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.

Otherwise, we were never setting these flags.  This confused the state tracker.
Fixes progs/demos/texenv.c, probably others.
src/gallium/drivers/softpipe/sp_clear.c
src/gallium/drivers/softpipe/sp_prim_setup.c