From: Topi Pohjolainen Date: Mon, 29 Aug 2016 12:21:51 +0000 (+0300) Subject: intel/blorp: Allow single slice converter to suppress number of layers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b863f4a39a82a168577cd8417d20bd9ac3cc1c21;p=mesa.git intel/blorp: Allow single slice converter to suppress number of layers Signed-off-by: Topi Pohjolainen Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index f5cb16a2c2a..2b6adc39f01 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 &&