[Mesa-dev] [v3 04/19] intel/isl/gen6: Allow arrayed stencil

Topi Pohjolainen topi.pohjolainen at gmail.com
Mon May 15 12:07:54 UTC 2017


Nothing prevents arrayed stencil surfaces even though hardware
doesn't support mipmapping.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
 src/intel/isl/isl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index f89f351..dbaf22e 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -457,7 +457,6 @@ isl_choose_array_pitch_span(const struct isl_device *dev,
           *    the storage for LODs other than LOD 0 is not needed.
           */
          assert(info->levels == 1);
-         assert(phys_level0_sa->array_len == 1);
          return ISL_ARRAY_PITCH_SPAN_COMPACT;
       } else {
          if ((ISL_DEV_GEN(dev) == 5 || ISL_DEV_GEN(dev) == 6) &&
-- 
2.9.3



More information about the mesa-dev mailing list