Mesa (master): i915g: Remove unused cbuf_dirty.

Stephane Marchesin marcheu at kemper.freedesktop.org
Mon Jun 27 09:09:10 UTC 2011


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

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Mon Jun 27 02:08:44 2011 -0700

i915g: Remove unused cbuf_dirty.

---

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

diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c
index 0d18c7a..28ff40a 100644
--- a/src/gallium/drivers/i915/i915_context.c
+++ b/src/gallium/drivers/i915/i915_context.c
@@ -54,13 +54,11 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
    struct i915_context *i915 = i915_context(pipe);
    struct draw_context *draw = i915->draw;
    void *mapped_indices = NULL;
-   unsigned cbuf_dirty;
 
 
    /*
     * Ack vs contants here, helps ipers a lot.
     */
-   cbuf_dirty = i915->dirty & I915_NEW_VS_CONSTANTS;
    i915->dirty &= ~I915_NEW_VS_CONSTANTS;
 
    if (i915->dirty)




More information about the mesa-commit mailing list