OSDN Git Service

ac/surface/gfx9: don't allow DCC for the smallest mipmap levels
authorMarek Olšák <marek.olsak@amd.com>
Thu, 17 Aug 2017 21:35:36 +0000 (23:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 22 Aug 2017 11:29:47 +0000 (13:29 +0200)
commit759526813be137f7f139d6b4e56c5afeb8ba53c9
treee25771a04f40d6ae5e447c808465a446d4add952
parent54c2c771bd8827901663a4ab82e16ab8288ddb1f
ac/surface/gfx9: don't allow DCC for the smallest mipmap levels

This fixes garbage there if we don't flush TC L2 after rendering.

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