ac/surface: Only align linear power of two fmt textures.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 18 May 2018 23:03:57 +0000 (01:03 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 20 May 2018 09:57:59 +0000 (11:57 +0200)
commita1c87235a9d077b32094725ad7ea3b9919743c9f
treed7b321abff7a689bb3aec27966b066094d20774b
parent62e0e089d710835d9f79138377bcc37147f75ebd
ac/surface: Only align linear power of two fmt textures.

We're not sharing 32_32_32 formats between different GPUs, so we
do not have to align for vega on pre-vega cards.

Fixes: e361970ed73 "radv: Add support for IMG_DATA_FORMAT_32_32_32."
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_surface.c