summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-29 18:05:11 -0700
committerJason Ekstrand <[email protected]>2016-09-12 19:42:57 -0700
commitc170606fc68d1504c9dc34b4672b5bb08d719079 (patch)
tree21fc8fabddb0375766244c50e516acf44ebb43b4 /src/intel
parenta613449f7147c4a9196f9e9cc31783029a7493f2 (diff)
intel/blorp: Use fake_interleaved_msaa in retile_w_to_y
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/blorp/blorp_blit.c4
1 files changed, 1 insertions, 3 deletions
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) {