Mesa (master): intel/blorp: Allow single slice converter to suppress number of layers
Topi Pohjolainen
tpohjola at kemper.freedesktop.org
Thu Sep 8 05:56:46 UTC 2016
Module: Mesa
Branch: master
Commit: b863f4a39a82a168577cd8417d20bd9ac3cc1c21
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b863f4a39a82a168577cd8417d20bd9ac3cc1c21
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date: Mon Aug 29 15:21:51 2016 +0300
intel/blorp: Allow single slice converter to suppress number of layers
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
src/intel/blorp/blorp_blit.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index f5cb16a..2b6adc3 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1271,9 +1271,6 @@ static void
surf_convert_to_single_slice(const struct isl_device *isl_dev,
struct brw_blorp_surface_info *info)
{
- /* This only makes sense for a single level and array slice */
- assert(info->view.levels == 1 && info->view.array_len == 1);
-
/* Just bail if we have nothing to do. */
if (info->surf.dim == ISL_SURF_DIM_2D &&
info->view.base_level == 0 && info->view.base_array_layer == 0 &&
More information about the mesa-commit
mailing list