From 560a92c4fd74171832ddf45910981a51c8d1418a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 1 Jul 2016 14:25:59 -0700 Subject: [PATCH] isl: Take the slice0_extent shortcut for interleaved MSAA The shortcut works just fine for MSAA and the comment even says so. Reviewed-by: Nanley Chery --- src/intel/isl/isl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index a9208f6e2b1..500eb2d2988 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -623,7 +623,7 @@ isl_calc_phys_slice0_extent_sa_gen4_2d( assert(phys_level0_sa->depth == 1); - if (info->levels == 1 && msaa_layout != ISL_MSAA_LAYOUT_INTERLEAVED) { + if (info->levels == 1) { /* Do not pad the surface to the image alignment. Instead, pad it only * to the pixel format's block alignment. * -- 2.30.2