v1.138
HIGHLIGHTS:
- improved memory allocation API (more friendly for render graph based systems)
BREAKING CHANGES:
GetAccelerationStructureMemoryInforenamed toGetAccelerationStructureMemoryDescGetBufferMemoryInfo(const Buffer& buffer, ...)changed toGetBufferMemoryDesc(const Device& device, const BufferDesc& bufferDesc, ...)GetTextureMemoryInfo(const Texture& texture, ...)changed toGetTextureMemoryDesc(const Device& device, const TextureDesc& textureDesc, ...)- no-brain migration:
GetXxxMemoryInfo(resource, ...)=>GetXxxMemoryDesc(device, NRI.GetXxxDesc(resource), ...)
DETAILS:
- NRI:
GetXxxMemoryInforenamed toGetXxxMemoryDesc - NRI: use
BufferDescandTextureDescto getMemoryDesc, avoiding beforehand resource creation - NRI: exposed
DeviceDesc::memoryTier, which provides a hint about which resource categories can be put in one memory (valid for D3D12, just a hint for VK) - VK: old-school
vkGetXxxMemoryRequirements2replaced with modernvkGetDeviceXxxMemoryRequirementsfromVK_KHR_maintenance4