summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/i915/i915_resource_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index 0b6424f8d16..8ff733a7be5 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -958,7 +958,7 @@ i915_texture_create(struct pipe_screen *screen,
pipe_reference_init(&tex->b.b.reference, 1);
tex->b.b.screen = screen;
- if (force_untiled)
+ if ( (force_untiled) || (template->usage == PIPE_USAGE_STREAM) )
tex->tiling = I915_TILE_NONE;
else
tex->tiling = i915_texture_tiling(is, tex);