summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2017-07-05 10:26:03 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2017-07-22 00:14:16 +0300
commit514d68576dd9ecc4a73eda0079e05eb471a795b6 (patch)
treee28e39eed0b605dcfc71d6bf65eec0487d048f8b /src/intel
parenta40f0430347c07bf2d5794642fe02f5dd248a473 (diff)
intel/isl: Allow 1D surfaces with compressed formats
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/isl/isl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index d4a7d00208f..8cfec47733c 100644
--- 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);