[Mesa-dev] [PATCH 23.5/36] isl: Take the slice0_extent shortcut for interleaved MSAA

Nanley Chery nanleychery at gmail.com
Fri Jul 22 22:26:16 UTC 2016


On Fri, Jul 01, 2016 at 04:08:50PM -0700, Jason Ekstrand wrote:
> The shortcut works just fine for MSAA and the comment even says so.

This patch is,
Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>

> ---
>  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 be3adfc..6bdb248 100644
> --- a/src/intel/isl/isl.c
> +++ b/src/intel/isl/isl.c
> @@ -575,7 +575,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.5.0.400.gff86faf
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list