ac/surface: fix CMASK fast clear for NPOT textures with mipmapping on SI/CI/VI
authorMarek Olšák <marek.olsak@amd.com>
Tue, 28 Aug 2018 18:39:09 +0000 (14:39 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 28 Aug 2018 23:51:51 +0000 (19:51 -0400)
commit1e40f6948310be07abb2d0198e6602769892cdac
treef243279c93d2bc67aa62306469aecc97340c27c5
parentc836326a290e867e736478b340fca725a978309f
ac/surface: fix CMASK fast clear for NPOT textures with mipmapping on SI/CI/VI

This fixes VM faults and corruption.

Cc: 18.1 18.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_surface.c