projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a7e0c
)
i965: Request a miptree with no tiling intel_miptree_map_blit().
author
Matt Turner
<mattst88@gmail.com>
Thu, 6 Aug 2015 01:51:24 +0000
(18:51 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 6 Aug 2015 19:33:25 +0000
(12:33 -0700)
Regression since commit
3a31876600
, when tiling modes were moved into
layout_flags.
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 5e7859cf99010bf76dfcc0ef86a175eae5b6ccab..cb2791db02f7157c07b9c341d1e539da540c909a 100644
(file)
--- 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");