[PR #2624] [MERGED] FidelityFX FSR implementation #2868

Closed
opened 2026-02-27 22:01:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2624
Author: @viniciuslrangel
Created: 3/8/2025
Status: Merged
Merged: 3/12/2025
Merged by: @georgemoralis

Base: mainHead: fsr-impl


📝 Commits (6)

  • e9ad724 host_shaders: support for includes
  • 63c8e05 video_core: add a simpler vulkan asserts
  • c617f9d video_core: refactored post processing pipeline to another file
  • d0f0685 renderer_vulkan: add define param to compile shader utility
  • c478e55 video_core: fsr implementation
  • 5569481 devtools: show resolution & fsr state

📊 Changes

26 files changed (+4988 additions, -328 deletions)

View changed files

📝 CMakeLists.txt (+5 -0)
📝 REUSE.toml (+6 -1)
src/common/string_literal.h (+15 -0)
📝 src/core/debug_state.h (+4 -0)
📝 src/core/devtools/layer.cpp (+17 -1)
📝 src/core/devtools/widget/frame_graph.cpp (+11 -4)
📝 src/core/libraries/kernel/kernel.h (+1 -9)
📝 src/core/libraries/videoout/video_out.cpp (+1 -1)
📝 src/video_core/host_shaders/CMakeLists.txt (+1 -0)
📝 src/video_core/host_shaders/StringShaderHeader.cmake (+25 -22)
src/video_core/host_shaders/fsr.comp (+91 -0)
src/video_core/host_shaders/fsr/ffx_a.h (+2657 -0)
src/video_core/host_shaders/fsr/ffx_fsr1.h (+1200 -0)
📝 src/video_core/host_shaders/post_process.frag (+1 -1)
📝 src/video_core/host_shaders/source_shader.h.in (+2 -2)
src/video_core/renderer_vulkan/host_passes/fsr_pass.cpp (+445 -0)
src/video_core/renderer_vulkan/host_passes/fsr_pass.h (+56 -0)
src/video_core/renderer_vulkan/host_passes/pp_pass.cpp (+255 -0)
src/video_core/renderer_vulkan/host_passes/pp_pass.h (+34 -0)
📝 src/video_core/renderer_vulkan/vk_platform.h (+23 -0)

...and 6 more files

📄 Description

Dive into the 4k res

Ref: https://github.com/GPUOpen-Effects/FidelityFX-FSR


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2624 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 3/8/2025 **Status:** ✅ Merged **Merged:** 3/12/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `fsr-impl` --- ### 📝 Commits (6) - [`e9ad724`](https://github.com/shadps4-emu/shadPS4/commit/e9ad72434356c74e378b23d6b233ec19f5ac96f5) host_shaders: support for includes - [`63c8e05`](https://github.com/shadps4-emu/shadPS4/commit/63c8e05abde3a5505bbc832959afe198304a78cb) video_core: add a simpler vulkan asserts - [`c617f9d`](https://github.com/shadps4-emu/shadPS4/commit/c617f9d002b1632f08b6aec7ad0d8520ff868641) video_core: refactored post processing pipeline to another file - [`d0f0685`](https://github.com/shadps4-emu/shadPS4/commit/d0f0685e53f2c46018936c14192b0ae408e667ca) renderer_vulkan: add define param to compile shader utility - [`c478e55`](https://github.com/shadps4-emu/shadPS4/commit/c478e55305ea709c88b532675854377acd4394f8) video_core: fsr implementation - [`5569481`](https://github.com/shadps4-emu/shadPS4/commit/55694813890ce5819575b0a99b1a6841a979d828) devtools: show resolution & fsr state ### 📊 Changes **26 files changed** (+4988 additions, -328 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -0) 📝 `REUSE.toml` (+6 -1) ➕ `src/common/string_literal.h` (+15 -0) 📝 `src/core/debug_state.h` (+4 -0) 📝 `src/core/devtools/layer.cpp` (+17 -1) 📝 `src/core/devtools/widget/frame_graph.cpp` (+11 -4) 📝 `src/core/libraries/kernel/kernel.h` (+1 -9) 📝 `src/core/libraries/videoout/video_out.cpp` (+1 -1) 📝 `src/video_core/host_shaders/CMakeLists.txt` (+1 -0) 📝 `src/video_core/host_shaders/StringShaderHeader.cmake` (+25 -22) ➕ `src/video_core/host_shaders/fsr.comp` (+91 -0) ➕ `src/video_core/host_shaders/fsr/ffx_a.h` (+2657 -0) ➕ `src/video_core/host_shaders/fsr/ffx_fsr1.h` (+1200 -0) 📝 `src/video_core/host_shaders/post_process.frag` (+1 -1) 📝 `src/video_core/host_shaders/source_shader.h.in` (+2 -2) ➕ `src/video_core/renderer_vulkan/host_passes/fsr_pass.cpp` (+445 -0) ➕ `src/video_core/renderer_vulkan/host_passes/fsr_pass.h` (+56 -0) ➕ `src/video_core/renderer_vulkan/host_passes/pp_pass.cpp` (+255 -0) ➕ `src/video_core/renderer_vulkan/host_passes/pp_pass.h` (+34 -0) 📝 `src/video_core/renderer_vulkan/vk_platform.h` (+23 -0) _...and 6 more files_ </details> ### 📄 Description Dive into the 4k res Ref: https://github.com/GPUOpen-Effects/FidelityFX-FSR --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2868
No description provided.