Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace instance level vk symbols with dynamic fetching #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EdoardoLuciani
Copy link

@EdoardoLuciani EdoardoLuciani commented Aug 30, 2022

The issue I faced while integrating ffx_fsr2_api_vk_x64.lib was that the linker could not find symbols for the instance level vk functions. Since dynamic fetching is already done for device level functions, why also not do it for the instance level ones?

I tried implementing said feature trying to keep API breakage to a minimum. Indeed the only functions which got their definition changed were:

  • ffxFsr2GetScratchMemorySizeVK
  • ffxFsr2GetInterfaceVK

The change in order to work for the sample requires adding a GetInstance method to Device defined in Device.h which is part of the Cauldron framework. This change is not reflected in the commit due to Cauldron being a submodule.

@EdoardoLuciani
Copy link
Author

EdoardoLuciani commented Apr 16, 2023

I rebased my branch with the latest (2.2) FSR codebase, so no more conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant