aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen6.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_gen6.c
parentfc3650a0a9eca29a9498f663d489ab729f55f65f (diff)
isl: Add support for HiZ surfaces
Reviewed-by: Chad Versace <[email protected]>
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.
*