From 27ac9a33268b72a4f8befac44a9bd550c74fe3a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 23 Jul 2019 01:55:12 -0400 Subject: [PATCH] ac/surface: allow linear swizzle mode automatic selection on gfx9 & 10 let addrlib make the decision to get the same result as PAL. --- src/amd/common/ac_surface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 53353cdee18..a9052d068e9 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -982,7 +982,6 @@ gfx9_get_preferred_swizzle_mode(ADDR_HANDLE addrlib, /* TODO: We could allow some of these: */ sin.forbiddenBlock.micro = 1; /* don't allow the 256B swizzle modes */ sin.forbiddenBlock.var = 1; /* don't allow the variable-sized swizzle modes */ - sin.forbiddenBlock.linear = 1; /* don't allow linear swizzle modes */ sin.bpp = in->bpp; sin.width = in->width; sin.height = in->height; -- 2.30.2