diff options
author | Daniel Vetter <[email protected]> | 2011-03-11 16:08:11 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-03-12 20:32:29 +0100 |
commit | d46c6084ce5b8c9d1d39aea0b391ea262a545343 (patch) | |
tree | 792d17be7a1acd29cddc00c4a091046851e02315 /src/gallium/drivers | |
parent | f0c56e2a23ec3a6ffa5aebe613a469e39601e7af (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/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915/i915_resource_texture.c | 5 |
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; } |