Skip to content
Commit 7e0b89ca authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Juan A. Suarez Romero
Browse files

radv: fix VK_EXT_memory_budget if one heap isn't available



When the visible VRAM size is equal to the VRAM size only two
heaps are exposed.

This fixes dEQP-VK.api.info.device.memory_budget.

Cc: 19.0 19.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit d3781512)
parent 90291b5d
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