VkFrameInterpolationInfoFFX
struct VkFrameInterpolationInfoFFXStructure holding additional information to effectively replace the game swapchain by the frame interpolation one. Some notes on the queues:
please pass the queue, its family (for queue family ownership transfer purposes) and an optional function if you want to control concurrent submissions game queue: the queue where the replacement of vkQueuePresentKHR is called. This queue should have Graphics and Compute capabilities (Transfer is implied as per Vulkan specification). It can be shared with the engine. No Submit function is necessary. The code assumes that the UI texture is owned by that queue family when present is called. async compute queue: optional queue with Compute capability (Transfer is implied as per Vulkan specification). If used by the engine, prefer not to enable the async compute path of FSR3 Frame interpolation. present queue: queue with Graphics, Compute or Transfer capability, and Present support. This queue cannot be used by the engine. Otherwise, some deadlock can occur. image acquire queue: this one doesn’t need any capability. Strongly prefer a queue not used by the engine. The main graphics queue can work too but it might delay the signaling of the semaphore/fence when acquiring a new image, negatively impacting the performance.
Dependencies: VkQueueInfoFFX
Public Interface
Public Members:
VkPhysicalDevice physicalDevice
VkPhysicalDevice physicalDeviceSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 66, column 34)
VkDevice device
VkDevice deviceSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 67, column 34)
VkQueueInfoFFX gameQueue
VkQueueInfoFFX gameQueueSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 68, column 34)
VkQueueInfoFFX asyncComputeQueue
VkQueueInfoFFX asyncComputeQueueSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 69, column 34)
VkQueueInfoFFX presentQueue
VkQueueInfoFFX presentQueueSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 70, column 34)
VkQueueInfoFFX imageAcquireQueue
VkQueueInfoFFX imageAcquireQueueSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 71, column 34)
VkCompositonModeFFX compositionMode
VkCompositonModeFFX compositionModeSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 72, column 34)
const VkAllocationCallbacks * pAllocator
const VkAllocationCallbacks * pAllocatorSource: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 73, column 33)
Used By: FrameInterpolationReplacementParametersVK
Source: sdk/include/FidelityFX/host/backends/vk/ffx_vk.h (line 64, column 1)