summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-09-06 15:39:52 -0700
committerEric Anholt <[email protected]>2009-09-08 14:28:23 -0700
commit15c0cc5cf4b75d60fa9a8469df34b487a8c0e376 (patch)
tree3f6a36ea0489842f9704e8ccfa5a0355060654c7 /src/mesa/drivers/dri
parentea6dab2537998d6910c04cd7bb68a79bee8fda68 (diff)
i965: Set NULL WM surfaces as tiled according to requirement by specs.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c2
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 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;