v1.162:
HIGHLIGHTS:
- added ability to create any number of queues of a specific type with custom priorities
- queues must be explicitly specified in
DeviceCreationDesc
- queues in
DeviceCreationDesc
are organized intoQueueFamilyDesc
entries (a collection of queues of the same type) - compatibility & comfortable use is respected (read comments around changed functionality)
- added supported
queueNum
(1 entry for eachQueueType
) toAdapterDesc
- all dependencies are now conditionally fetched via
FetchContent
!
BREAKING CHANGES:
CommandQueue
renamed toQueue
(args and funcs)- deleted
HIGH_PRIORITY_COPY
(since priorities can be explicitly assigned) Architecture
moved toAdapterDesc
(naturally better fits there)- deleted
isComputeQueueSupported
andisCopyQueueSupported
(this info is available viaAdapterDesc
or evenGetQueue
) SPIRVBindingOffsets
renamed toVKBindingOffsets
DeviceCreationVKDesc::enabledExtensions
renamed toDeviceCreationVKDesc::vkExtensions
(to match the overall style)
DETAILS:
- Core: added
queueIndex
toGetQueue
- Core: added missing
isPresentFromComputeSupported
andisWaitableSwapChainSupported
toDeviceDesc
- VK: muted 2 silly info messages
- VK: switched AMD VMA to ToT
- D3D12: switched AMD D3D12MA to ToT
- D3D12: AgilitySDK is turned on by default, gets auto-downloaded (no need to do NuGet mumbo-jumbo)
- CMake: added
NRI_ENABLE_VALIDATION_SUPPORT
(on by default) - Cmake:
NRI_ENABLE_EXTERNAL_LIBRARIES
renamed to a clearNRI_ENABLE_D3D_EXTENSIONS
(this settings has always been about NVAPI and AMD AGS) - Cmake: migrated from submodules to
FetchContent
- WrapperVK:
vkQueues
are not needed for device wrapping, sinceGetDeviceQueue2
returns same handles for the same input arguments - interface polishing (no additional changes)
- lots of "correct this DeviceDesc!" work moved from implementations to "Creation.cpp"
- .natvis: fixed
NRI_OBJECT_SIGNATURE
usage in non-validation devices (led to "memory can't be read") - .natvis: hooked
DeviceDesc
- .natvis: added to SDK package
- interface polishing
- code cleanup
- updated docs