ac/surface: allow linear swizzle mode automatic selection on gfx9 & 10

let addrlib make the decision to get the same result as PAL.
This commit is contained in:
Marek Olšák 2019-07-23 01:55:12 -04:00
parent a0ac0e2653
commit 27ac9a3326
1 changed files with 0 additions and 1 deletions

View File

@ -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;