Mesa (master): i965: Set NULL WM surfaces as tiled according to requirement by specs.

Eric Anholt anholt at kemper.freedesktop.org
Tue Sep 8 21:34:00 UTC 2009


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

Author: Eric Anholt <eric at anholt.net>
Date:   Sun Sep  6 15:39:52 2009 -0700

i965: Set NULL WM surfaces as tiled according to requirement by specs.

---

 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index c3f8750..bff2ab9 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -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;




More information about the mesa-commit mailing list