i965: Set NULL WM surfaces as tiled according to requirement by specs.
authorEric Anholt <eric@anholt.net>
Sun, 6 Sep 2009 22:39:52 +0000 (15:39 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Sep 2009 21:28:23 +0000 (14:28 -0700)
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index c3f8750488945dc39333a5edc0f83fe8242a5f28..bff2ab97217c977d7b8e10edfc684d4775136b30 100644 (file)
@@ -558,7 +558,7 @@ brw_update_renderbuffer_surface(struct brw_context *brw,
    } else {
       key.surface_type = BRW_SURFACE_NULL;
       key.surface_format = BRW_SURFACEFORMAT_B8G8R8A8_UNORM;
-      key.tiling = 0;
+      key.tiling = I915_TILING_X;
       key.width = 1;
       key.height = 1;
       key.cpp = 4;