Mesa (master): i915g: Silence warning.

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Oct 6 08:02:28 UTC 2011


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

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Thu Oct  6 01:02:02 2011 -0700

i915g: Silence warning.

We still need to investigate LIS7 though.

---

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

diff --git a/src/gallium/drivers/i915/i915_state_immediate.c b/src/gallium/drivers/i915/i915_state_immediate.c
index 8134864..e0d6e1a 100644
--- a/src/gallium/drivers/i915/i915_state_immediate.c
+++ b/src/gallium/drivers/i915/i915_state_immediate.c
@@ -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
 }




More information about the mesa-commit mailing list