i915g: Silence warning.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 6 Oct 2011 08:02:02 +0000 (01:02 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 6 Oct 2011 08:02:23 +0000 (01:02 -0700)
We still need to investigate LIS7 though.

src/gallium/drivers/i915/i915_state_immediate.c

index 813486473997d7b76fb54dfd7ef4d3b378412394..e0d6e1a8aec923572548d15a47b4b32a92021c0f 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
 }