ac/surface: remove RADEON_SURF_TC_COMPATIBLE_HTILE and assume it's always set
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Apr 2020 04:47:04 +0000 (00:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 14:53:25 +0000 (14:53 +0000)
commitf6d87ec8a908250af5e805c8042524ac360094a2
treed38c11c80076a7779d983924cbe060a9dcb4dd57
parent25d3cc293e9e4b21a965fe086537a4b448424bd8
ac/surface: remove RADEON_SURF_TC_COMPATIBLE_HTILE and assume it's always set

So that drivers can enable it without worrying how the texture was
allocated.

v2: reworked the mechanism, hopefully fixes now
    added Bas Nieuwenhuizen's diff to fix radv

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4697>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/drivers/radeonsi/si_texture.c