projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6da968b
)
intel/isl: Fix an assert in get_intratile_offset_sa
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 29 Aug 2016 16:16:06 +0000
(09:16 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 13 Sep 2016 02:42:57 +0000
(19:42 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/isl.h
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl.h
b/src/intel/isl/isl.h
index
d8260b2
..
219dd90
100644
(file)
--- a/
src/intel/isl/isl.h
+++ b/
src/intel/isl/isl.h
@@
-1438,7
+1438,7
@@
isl_tiling_get_intratile_offset_sa(const struct isl_device *dev,
* surfaces.
*/
assert(total_x_offset_sa % fmtl->bw == 0);
- assert(total_y_offset_sa % fmtl->b
w
== 0);
+ assert(total_y_offset_sa % fmtl->b
h
== 0);
const uint32_t total_x_offset = total_x_offset_sa / fmtl->bw;
const uint32_t total_y_offset = total_y_offset_sa / fmtl->bh;