summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-03-11 16:08:11 +0100
committerDaniel Vetter <[email protected]>2011-03-12 20:32:29 +0100
commitd46c6084ce5b8c9d1d39aea0b391ea262a545343 (patch)
tree792d17be7a1acd29cddc00c4a091046851e02315 /src
parentf0c56e2a23ec3a6ffa5aebe613a469e39601e7af (diff)
i915g: use y-tiling when the blitter is not used
The blitter is broken. Who'd have guessed? Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_resource_texture.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index df60493b5e4..cfb72e9dcac 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -184,7 +184,10 @@ i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex)
/* XXX X-tiling might make sense */
return I915_TILE_NONE;
- return I915_TILE_X;
+ if (is->debug.use_blitter)
+ return I915_TILE_X;
+ else
+ return I915_TILE_Y;
}