(from r200 driver) If an application cleared before any state had been emitted, that...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:27:14 +0000 (18:27 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:27:14 +0000 (18:27 +0000)
commit8e3926575264d31b3caacb9cbb606f8f2914f57d
treeeed261ba83314b4f86fc4c9a5f272ae1fc08a10d
parent6cf002c0c2b4025492281840fb24eb2764eccc6f
(from r200 driver) If an application cleared before any state had been emitted, that clear would
happen before any state had been set, causing a hang later on.  Fix this by
calling radeonFlush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in radeonClear.  While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.
src/mesa/drivers/dri/radeon/radeon_ioctl.c