diff options
author | Marek Olšák <[email protected]> | 2019-07-23 01:55:12 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-30 22:06:23 -0400 |
commit | 27ac9a33268b72a4f8befac44a9bd550c74fe3a6 (patch) | |
tree | 075fc7963ef9b26d8e731d5f9e4100651dfb554b /src | |
parent | a0ac0e26539eaa4501da2691edab3c183a9634ec (diff) |
ac/surface: allow linear swizzle mode automatic selection on gfx9 & 10
let addrlib make the decision to get the same result as PAL.
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_surface.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |