Mesa (master): r300g: remove unnecessary flush in set_sampler_textures

Corbin Simpson csimpson at kemper.freedesktop.org
Tue Dec 15 19:04:50 PST 2009


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Dec 14 05:22:36 2009 +0100

r300g: remove unnecessary flush in set_sampler_textures

---

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

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



More information about the mesa-commit mailing list