radv: allow to conditionally read HTILE value when copying VRS rates
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 31 Aug 2021 07:21:41 +0000 (09:21 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Sep 2021 19:39:04 +0000 (19:39 +0000)
commit0fd40af59f46b6b875a165345914e4b8efe3fc5c
tree1e50bcde7bb15312323493d864d4aefea6b23f1d
parent8bd7e2392b2044ae2cf9238de20cd48c1b71b283
radv: allow to conditionally read HTILE value when copying VRS rates

When a subpass is bound without a VRS attachment, the driver has to
create one internally and the copy can be a write only operation.

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/12243>
src/amd/vulkan/radv_meta_copy_vrs_htile.c