From: Jason Ekstrand Date: Tue, 30 Aug 2016 01:05:11 +0000 (-0700) Subject: intel/blorp: Use fake_interleaved_msaa in retile_w_to_y X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c170606fc68d1504c9dc34b4672b5bb08d719079;p=mesa.git intel/blorp: Use fake_interleaved_msaa in retile_w_to_y Signed-off-by: Jason Ekstrand Reviewed-by: Topi Pohjolainen --- diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index bebe36b2b05..fdcd29d68c7 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -1340,9 +1340,7 @@ surf_retile_w_to_y(const struct isl_device *isl_dev, */ if (isl_dev->info->gen > 6 && info->surf.msaa_layout == ISL_MSAA_LAYOUT_INTERLEAVED) { - info->surf.logical_level0_px = info->surf.phys_level0_sa; - info->surf.samples = 1; - info->surf.msaa_layout = ISL_MSAA_LAYOUT_NONE; + surf_fake_interleaved_msaa(isl_dev, info); } if (isl_dev->info->gen == 6) {