Mesa (master): r300g: add missing flush

Corbin Simpson csimpson at kemper.freedesktop.org
Sat Nov 7 20:07:52 UTC 2009


Module: Mesa
Branch: master
Commit: d8592d1724d8c8fd0b36eb21f4007b52f809e062
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8592d1724d8c8fd0b36eb21f4007b52f809e062

Author: Maciej Cencora <maciej at osiris.(none)>
Date:   Sun Nov  1 17:04:32 2009 +0100

r300g: add missing flush

---

 src/gallium/drivers/r300/r300_state.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 658a8cb..bed886f 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -577,6 +577,8 @@ static void r300_set_sampler_textures(struct pipe_context* pipe,
     if (count > 8) {
         return;
     }
+    
+    r300->context.flush(&r300->context, 0, NULL);
 
     for (i = 0; i < count; i++) {
         if (r300->textures[i] != (struct r300_texture*)texture[i]) {




More information about the mesa-commit mailing list