projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e36f9
)
isl: Fix calculation of array pitch for layout GEN4_2D
author
Chad Versace
<chad.versace@intel.com>
Mon, 14 Dec 2015 20:31:55 +0000
(12:31 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Tue, 15 Dec 2015 16:46:09 +0000
(08:46 -0800)
The height of the miptree's right half was not large enough.
Found by `make check` in test_isl_surf_get_offset, which is added in the
next commit.
src/isl/isl.c
patch
|
blob
|
history
diff --git
a/src/isl/isl.c
b/src/isl/isl.c
index d858ea7474587bfa99c27f7e8fd023962e59f7b5..333a517f2741e32f292a3f863ebffa0f41ad58b8 100644
(file)
--- a/
src/isl/isl.c
+++ b/
src/isl/isl.c
@@
-570,6
+570,7
@@
isl_calc_phys_slice0_extent_sa_gen4_2d(
slice_left_h += h;
} else if (l == 2) {
slice_bottom_w += w;
+ slice_right_h += h;
} else {
slice_right_h += h;
}