|
|
@ -34,6 +34,10 @@ bool FSR3Upscaler_Vulkan::InitFeature(FSR3Feature_FFX& feature, const FSR3Comman |
|
|
createUpscaling.maxRenderSize = { initData->maxRenderSizeWidth, initData->maxRenderSizeHeight }; |
|
|
createUpscaling.maxRenderSize = { initData->maxRenderSizeWidth, initData->maxRenderSizeHeight }; |
|
|
createUpscaling.flags = initData->flags; |
|
|
createUpscaling.flags = initData->flags; |
|
|
|
|
|
|
|
|
|
|
|
feature.upscaleSizeWidth = initData->displaySizeWidth; |
|
|
|
|
|
feature.upscaleSizeHeight = initData->displaySizeHeight; |
|
|
|
|
|
feature.flags = initData->flags; |
|
|
|
|
|
|
|
|
return FFX_API_RETURN_OK == m_ffxFunctions.CreateContext(&feature.upscalingContext, ffx::LinkHeaders(createUpscaling.header, m_VulkanBackendDesc.header), nullptr); |
|
|
return FFX_API_RETURN_OK == m_ffxFunctions.CreateContext(&feature.upscalingContext, ffx::LinkHeaders(createUpscaling.header, m_VulkanBackendDesc.header), nullptr); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|