ac/surface: compute tile swizzle only when it's allowed
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Jul 2017 21:05:38 +0000 (23:05 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Aug 2017 00:10:04 +0000 (02:10 +0200)
commit90594002474fa2118555d1a08d67c1fee8f2c24c
treee1b3633938f6d9ae07e683c7c32c9183e02bcb97
parent4e757d591db8d7e5038be0d22c5de1efa61cb724
ac/surface: compute tile swizzle only when it's allowed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_surface.c