radv: Stop using memory type indices

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 28 April 2020 13:44 EDT

Lots of extra coding was involved in managing them.

And for protected memory I was thinking of making a function that goes from domain+flags to memory types, which can reuse this array.

bec92850270 radv: Stop using memory type indices.
src/amd/vulkan/radv_device.c | 108 ++++++++----------------------------------
src/amd/vulkan/radv_private.h | 23 +--------
2 files changed, 23 insertions(+), 108 deletions(-)

Upstream: cgit.freedesktop.org


  • Share