From: Eric Anholt Date: Sun, 6 Sep 2009 22:39:52 +0000 (-0700) Subject: i965: Set NULL WM surfaces as tiled according to requirement by specs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15c0cc5cf4b75d60fa9a8469df34b487a8c0e376;p=mesa.git i965: Set NULL WM surfaces as tiled according to requirement by specs. --- 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 c3f87504889..bff2ab97217 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;