projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40f043
)
intel/isl: Allow 1D surfaces with compressed formats
author
Topi Pohjolainen
<topi.pohjolainen@intel.com>
Wed, 5 Jul 2017 07:26:03 +0000
(10:26 +0300)
committer
Topi Pohjolainen
<topi.pohjolainen@intel.com>
Fri, 21 Jul 2017 21:14:16 +0000
(
00:14
+0300)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/isl.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl.c
b/src/intel/isl/isl.c
index d4a7d00208f32b8babf49554a77664211175870c..8cfec47733c3630064fe5979de619ad324e8fb30 100644
(file)
--- a/
src/intel/isl/isl.c
+++ b/
src/intel/isl/isl.c
@@
-1090,7
+1090,7
@@
isl_calc_phys_total_extent_el_gen9_1d(
{
MAYBE_UNUSED const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
- assert(phys_level0_sa->height == 1);
+ assert(phys_level0_sa->height
/ fmtl->bh
== 1);
assert(phys_level0_sa->depth == 1);
assert(info->samples == 1);
assert(image_align_sa->w >= fmtl->bw);