summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/isl_gen6.c')
-rw-r--r--src/intel/isl/isl_gen6.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/isl/isl_gen6.c b/src/intel/isl/isl_gen6.c
index 699aa41d7ba..de95a8fb280 100644
--- a/src/intel/isl/isl_gen6.c
+++ b/src/intel/isl/isl_gen6.c
@@ -89,6 +89,9 @@ gen6_choose_image_alignment_el(const struct isl_device *dev,
enum isl_msaa_layout msaa_layout,
struct isl_extent3d *image_align_el)
{
+ /* Handled by isl_choose_image_alignment_el */
+ assert(info->format != ISL_FORMAT_HIZ);
+
/* Note that the surface's horizontal image alignment is not programmable
* on Sandybridge.
*