From a52f26d6e84d27adfab628cea16a7399149f4233 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 12 Jul 2016 14:57:30 -0700 Subject: [PATCH] isl: Use ARRAY_PITCH_SPAN_FULL for depth/stencil surfaces on gen7 We helpfully inserted a PRM quotation about how we need to use ARRAY_PITCH_SPAN_FULL and then set it to COMPACT. Oops... Reviewed-by: Chad Versace --- src/intel/isl/isl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index decba3d3e87..e745548be2a 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -308,7 +308,7 @@ isl_choose_array_pitch_span(const struct isl_device *dev, * the depth buffer and stencil buffer have an implied value of * ARYSPC_FULL): */ - return ISL_ARRAY_PITCH_SPAN_COMPACT; + return ISL_ARRAY_PITCH_SPAN_FULL; } if (info->levels == 1) { -- 2.30.2