|
| XESS_API xess_result_t | xessVKGetRequiredInstanceExtensions (uint32_t *instanceExtensionsCount, const char *const **instanceExtensions, uint32_t *minVkApiVersion) |
| | Get required extensions for Vulkan instance that would run XeSS. This function must be called to get instance extensions need by XeSS. These extensions must be enabled in subsequent vkCreateInstance call, that would create a VkInstance object to be passed to xessVKCreateContext.
|
| XESS_API xess_result_t | xessVKGetRequiredDeviceExtensions (VkInstance instance, VkPhysicalDevice physicalDevice, uint32_t *deviceExtensionsCount, const char *const **deviceExtensions) |
| | Get required extensions for Vulkan device that would run XeSS. This function must be called to get device extensions need by XeSS. These extensions must be enabled in subsequent vkCreateDevice call, that would create a VkDevice object to be passed to xessVKCreateContext.
|
| XESS_API xess_result_t | xessVKGetRequiredDeviceFeatures (VkInstance instance, VkPhysicalDevice physicalDevice, void **features) |
| | Get required features for Vulkan device that would run XeSS. This function must be called to get device features need by XeSS. These features must be enabled in subsequent vkCreateDevice call, that would create a VkDevice object to be passed to xessVKCreateContext.
|
| XESS_API xess_result_t | xessVKCreateContext (VkInstance instance, VkPhysicalDevice physicalDevice, VkDevice device, xess_context_handle_t *phContext) |
| | Create an XeSS VK context.
|
| XESS_API xess_result_t | xessVKBuildPipelines (xess_context_handle_t hContext, VkPipelineCache pipelineCache, bool blocking, uint32_t initFlags) |
| | Initiates pipeline build process This function can only be called between xessVKCreateContext and xessVKInit This call initiates build of Vulkan pipelines and kernel compilation This call can be blocking (if blocking set to true) or non-blocking. In case of non-blocking call library will wait for pipeline build on call to xessVKInit If pipelineCache passed to this call - same pipeline library must be passed to xessVKInit.
|
| XESS_API xess_result_t | xessVKInit (xess_context_handle_t hContext, const xess_vk_init_params_t *pInitParams) |
| | Initialize XeSS VK. This is a blocking call that initializes XeSS and triggers internal resources allocation and JIT for the XeSS kernels. The user must ensure that any pending command lists are completed before re-initialization. When During initialization, XeSS can create staging buffers and copy queues to upload internal data. These will be destroyed at the end of initialization.
|
| XESS_API xess_result_t | xessVKGetInitParams (xess_context_handle_t hContext, xess_vk_init_params_t *pInitParams) |
| | Get XeSS VK initialization parameters.
|
| XESS_API xess_result_t | xessVKExecute (xess_context_handle_t hContext, VkCommandBuffer commandBuffer, const xess_vk_execute_params_t *pExecParams) |
| | Record XeSS upscaling commands into the command list.
|