isl: Use ARRAY_PITCH_SPAN_FULL for depth/stencil surfaces on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jul 2016 21:57:30 +0000 (14:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 18:47:37 +0000 (11:47 -0700)
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 <chad.versace@intel.com>
src/intel/isl/isl.c

index decba3d3e87efd50dd4789fee50c2e8e7b21c867..e745548be2af0eb94cac8259e0cc591da19b00ea 100644 (file)
@@ -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) {