summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen9.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-08 19:36:33 -0700
committerJason Ekstrand <[email protected]>2016-07-13 11:47:37 -0700
commit33dc8549fb9b227a57a84aac53f17bd099da38f4 (patch)
treedc1e72f24ed24cf3974435ae52360243bb5a53dc /src/intel/isl/isl_gen9.c
parentfc3650a0a9eca29a9498f663d489ab729f55f65f (diff)
isl: Add support for HiZ surfaces
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_gen9.c')
-rw-r--r--src/intel/isl/isl_gen9.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/isl/isl_gen9.c b/src/intel/isl/isl_gen9.c
index 39f409245cd..ff0dec955a5 100644
--- a/src/intel/isl/isl_gen9.c
+++ b/src/intel/isl/isl_gen9.c
@@ -103,6 +103,9 @@ gen9_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);
+
/* This BSpec text provides some insight into the hardware's alignment
* requirements [Skylake BSpec > Memory Views > Common Surface Formats >
* Surface Layout and Tiling > 2D Surfaces]: