diff options
author | Matt Turner <[email protected]> | 2015-08-05 18:51:24 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-08-06 12:33:25 -0700 |
commit | 3d551c5c7036b650124f23e4e2e3f40b9a8ad426 (patch) | |
tree | 48d03f63f4439ff0cdfdcc586462ec25139b5acc | |
parent | 30a7e0c021c3a77c20c6f041dc80b7dc90ad238f (diff) |
i965: Request a miptree with no tiling intel_miptree_map_blit().
Regression since commit 3a31876600, when tiling modes were moved into
layout_flags.
Reviewed-by: Ben Widawsky <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 5e7859cf990..cb2791db02f 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -2149,7 +2149,7 @@ intel_miptree_map_blit(struct brw_context *brw, map->mt = intel_miptree_create(brw, GL_TEXTURE_2D, mt->format, 0, 0, map->w, map->h, 1, - 0, 0); + 0, MIPTREE_LAYOUT_ALLOC_LINEAR); if (!map->mt) { fprintf(stderr, "Failed to allocate blit temporary\n"); |