gallium i915: Compiler delint
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 28 Nov 2012 20:42:14 +0000 (28 20:42 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 28 Nov 2012 20:42:14 +0000 (28 20:42 +0000)
Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46114 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

workbench/libs/mesa/src/gallium/drivers/i915/i915_context.c
workbench/libs/mesa/src/gallium/drivers/i915/i915_state_immediate.c

index 0d18c7a..5133966 100644 (file)
@@ -54,13 +54,10 @@ 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)
index 8134864..e0d6e1a 100644 (file)
@@ -189,13 +189,13 @@ const struct i915_tracked_state i915_upload_S6 = {
  */
 static void upload_S7(struct i915_context *i915)
 {
+#if 0
    unsigned LIS7;
 
    /* I915_NEW_RASTERIZER
     */
    LIS7 = i915->rasterizer->LIS7;
 
-#if 0
    set_immediate(i915, I915_IMMEDIATE_S7, LIS7);
 #endif
 }