radv: Always expose non-visible local memory type on dedicated GPUs
authorClément Guérin <libcg@protonmail.com>
Wed, 3 Jun 2020 05:14:44 +0000 (22:14 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Jun 2020 15:16:30 +0000 (15:16 +0000)
commit202252566bf053a31a4162e99f6fef5b82efc837
tree6b6acca2f1f0aea5c6f31a989144e1da6d083389
parent622e3a8510ad6ccff41b2ba2f6184b80ad67dea5
radv: Always expose non-visible local memory type on dedicated GPUs

DOOM Eternal expects this type, but RADV doesn't expose it when the VRAM
is entirely host-visible, in my case on Fiji. Matches AMDVLK behavior.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/3054
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5308>
src/amd/vulkan/radv_device.c