ac/surface: handle DCC subresource fast clear restriction on VI
authorMarek Olšák <marek.olsak@amd.com>
Mon, 16 Apr 2018 20:34:56 +0000 (16:34 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 27 Apr 2018 21:56:04 +0000 (17:56 -0400)
commit174e11c3f5440ad1e22354816fe2ccc5b7a970e9
treeb29b9e2bcae758f31e3e33b4da93cd917e5501a8
parent838f15650e1a59143f67070893f437f16fd1e229
ac/surface: handle DCC subresource fast clear restriction on VI

v2: require the previous level to be clearable for determining whether
    the last unaligned level is clearable

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