Mesa (master): intel/isl/gen6: Allow arrayed stencil

Topi Pohjolainen tpohjola at kemper.freedesktop.org
Sat Jun 17 05:22:56 UTC 2017


Module: Mesa
Branch: master
Commit: 0d1af164e197756e2d804e479e0f3e735a25f26c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d1af164e197756e2d804e479e0f3e735a25f26c

Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Sun May 14 19:02:20 2017 +0300

intel/isl/gen6: Allow arrayed stencil

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

Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
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 351612ad4f..2449ffb29a 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -447,7 +447,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) &&




More information about the mesa-commit mailing list