inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
757 stars 33 forks source link

Use Vulkan Memory Allocator's new memory usage flags #511

Open IAmNotHanni opened 1 year ago

IAmNotHanni commented 1 year ago

Is your feature request related to a problem?

Currently we're still using VMA's old memory usage flags such as VMA_MEMORY_USAGE_GPU_ONLY. Those are deprecated though.

Description

Use the new memory usage flags introduced in VMA release 3.0.0 (for example VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE)

Alternatives

Use the old values which are still supported, but deprecated

Affected Code

The VMA wrapper code.

Operating System

All operating systems.

Additional Context

none.