radv: fix performance regression by restoring TC-compat HTILE in GENERAL
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Jan 2021 15:19:21 +0000 (16:19 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 8 Jan 2021 09:22:32 +0000 (09:22 +0000)
commitf40a7d3c93d186b3415227945fd2df00f81c7f4a
tree69ff18ac5aa705296d37bf1c7550b955dbeab97c
parent0ae1cf46a6c6958cee93363c01c08adc5c845095
radv: fix performance regression by restoring TC-compat HTILE in GENERAL

This fixes a performance regression for games (eg. Youngblood) that
declare all images as concurrent. This is likely buggy for compute
queues but this just restores the previous behaviour for now.

Fixes: f4f096805b0 ("radv: fix TC-compat HTILE images with DST_OPTIMAL on the compute queue")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8351>
src/amd/vulkan/radv_image.c