i915g: Disable LIS7 state updates for now
authorJakob Bornecrantz <wallbraker@gmail.com>
Tue, 22 Feb 2011 22:07:03 +0000 (22:07 +0000)
committerJakob Bornecrantz <wallbraker@gmail.com>
Thu, 24 Feb 2011 00:26:02 +0000 (00:26 +0000)
src/gallium/drivers/i915/TODO
src/gallium/drivers/i915/i915_state_immediate.c

index fc644fe7f93c1666acac4f9574a053a27566efd4..f4e1423fa59806c7ac24ae391f42a2b9bd7b128e 100644 (file)
@@ -6,6 +6,8 @@ Random list of problems with i915g:
 - Add support for PIPE_CAP_POINT_SPRITE either via the draw module or directly
   via the hardware, look at the classic driver, more advanced.
 
+- What does this button do? Figure out LIS7 with regards to depth offset.
+
 - Dies with BadDrawable on GLXFBconfig changes/destruction. Makes piglit totally
   unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still
   broken, it doesn't update the viewport/get new buffers.
index 00dcf9cb2d0e99ed42bcbf4bfbe731a0f93d1568..3dd227f6045b8e45979c657c53428e8c500079da 100644 (file)
@@ -130,7 +130,7 @@ static void upload_S5(struct i915_context *i915)
 #if 0
    /* I915_NEW_RASTERIZER
     */
-   if (i915->state.Polygon->OffsetFill) {
+   if (i915->rasterizer->LIS7) {
       LIS5 |= S5_GLOBAL_DEPTH_OFFSET_ENABLE;
    }
 #endif
@@ -192,10 +192,12 @@ static void upload_S7(struct i915_context *i915)
     */
    LIS7 = i915->rasterizer->LIS7;
 
+#if 0
    if (LIS7 != i915->current.immediate[I915_IMMEDIATE_S7]) {
       i915->current.immediate[I915_IMMEDIATE_S7] = LIS7;
       i915->hardware_dirty |= I915_HW_IMMEDIATE;
    }
+#endif
 }
 
 const struct i915_tracked_state i915_upload_S7 = {