v1.141
HIGHLIGHTS:
- added a new extension
NRIResourceAllocator, which adds a simple way to create resources already bound to memory. Moreover, this extension usesAMD Vulkan/D3D12 MemoryAllocatorunder the hood, allowing to not only efficiently bind resources to memory chunks, but also track free memory segments, reusing them for subsequent allocations. Most likely, in the future this extension will get more MA functionality (statistics at least)
BREAKING CHANGES:
- Core:
MemoryAllocatorInterfacerenamed toAllocationCallbacks(similarly formemoryAllocatorInterface) - Core:
DeviceDesc::memoryTierreplaced withDeviceDesc::isMemoryTier2Supported - Raytracing:
GetAccelerationStructureMemoryDescmadeAccelerationStructureobject independent - WrapperVK:
GetVk*replaced withGet*VKto match the style
DETAILS:
- NRI: added new extension
NRIResourceAllocator, which allows to create bound-to-memory resources - NRI: alignment info grouped in one place in
DeviceDesc - NRI: fixed
NRI_STATIC_LIBRARY - Creation: exposed
DeviceCreationDesc::disable3rdPartyAllocationCallbacksto useallocationCallbacksonly for NRI needs - WrapperD3D12: removed unnecessary arguments
- WrapperVK: removed unnecessary arguments
- WrapperVK: minimized number of "mimic" types
- Validation: tweaks and adjustments
- introduced
NRI_OPTIONALto improve readability of main headers - bug fixes and improvements
- improved comments in main headers
- massive refactoring and code cleanup