Skip to content
Commit bd2037da authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Andres Gomez
Browse files

radv: Don't expose heaps with 0 memory.



It confuses CTS. This pregenerates the heap info into the
physical device, so we can use it for translating contiguous
indices into our "standard" ones.

This also makes the WSI a bit smarter in case the first preferred
heap does not exist.

Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
CC: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 80672142)
[Andres Gomez: resolve trivial conflicts]
Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>

Conflicts:
	src/amd/vulkan/radv_device.c
	src/amd/vulkan/radv_private.h
	src/amd/vulkan/radv_wsi.c
parent 388b68a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment