aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagetex.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-03-20 19:40:09 +0000
committerFelix Kuehling <[email protected]>2004-03-20 19:40:09 +0000
commitfd8a7dc26b48876de025ff9b93cc6dea5659496b (patch)
tree709e19cde3fad854aa6e4cf2ee727329d2cba3a9 /src/mesa/drivers/dri/savage/savagetex.c
parentef8cb129f452555a11e0c347b5b4f16604124c3b (diff)
Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted
in another small speedup. Fixed a problem that was masked by that WAIT_IDLE_EMPTY: - flush command buffer and WAIT_IDLE_EMPTY before uploading textures
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagetex.c')
-rw-r--r--src/mesa/drivers/dri/savage/savagetex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savagetex.c b/src/mesa/drivers/dri/savage/savagetex.c
index 488d838f9d9..15a33dac7ad 100644
--- a/src/mesa/drivers/dri/savage/savagetex.c
+++ b/src/mesa/drivers/dri/savage/savagetex.c
@@ -791,6 +791,8 @@ int savageUploadTexImages( savageContextPtr imesa, savageTextureObjectPtr t )
savageUpdateTexLRU( imesa, t );
if (t->dirty_images) {
+ FLUSH_BATCH( imesa );
+ WAIT_IDLE_EMPTY;
if (SAVAGE_DEBUG & DEBUG_VERBOSE_LRU)
fprintf(stderr, "*");