Ffx Fsr2 Api Vk X64dll Hot 🔖 💯
If you landed here because you want to add FSR 2 via Vulkan to a game that doesn't support it (or fix an existing implementation), follow this guide.
PFN_vkVoidFunction my_vkGetDeviceProcAddr(VkDevice device, const char* name)
PFN_vkVoidFunction orig = original_vkGetDeviceProcAddr(device, name);
if (strcmp(name, "vkQueuePresentKHR")==0) return (PFN_vkVoidFunction)hooked_vkQueuePresentKHR;
if (strcmp(name, "vkAcquireNextImageKHR")==0) return (PFN_vkVoidFunction)hooked_vkAcquireNextImageKHR;
return orig;
hooked_vkQueuePresentKHR(...)
// wait for presentable image to be rendered
// ensure inputs are captured/copied
run_fsr2_dispatch(commandBuffer, inputs, output);
// blit/copy FSR2 output to swapchain image
return original_vkQueuePresentKHR(...);
prepare_descriptors(inputs);
cmdPipelineBarrier(...);
fsr2Context->Dispatch(commandBuffer, inputViews, motionVectors, depth, outputView, params);
Search for community mods (e.g., from PCGamingWiki or Nexus Mods) specifically labeled: ffx fsr2 api vk x64dll hot
Follow these steps: