Add Libretro Slang Shader / Filters Support (Frontend UI) - #2687
Draft
Pedro-HDSR wants to merge 13 commits into
Draft
Add Libretro Slang Shader / Filters Support (Frontend UI)#2687Pedro-HDSR wants to merge 13 commits into
Pedro-HDSR wants to merge 13 commits into
Conversation
v-fox
reviewed
Aug 12, 2026
| if (BUILD_QT_SDL) | ||
| add_subdirectory(src/frontend/qt_sdl) | ||
|
|
||
| install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION bin) |
There was a problem hiding this comment.
This is a gross violation of https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
Anything related to this "./res" directory should be redone and put into appropriate places.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
melonDS — Shader/Filter UI Extension
This PR adds a runtime shader filter system to melonDS, allowing users to apply visual filters (scalers, CRT effects, anti-aliasing, handheld LCD grids, etc.) directly from the View → Filters window without needing to edit config files manually.
Key Implementations:
The slang-shaders submodule remains pristine — zero modifications to any shader source. All integration is in the C++ frontend layer.
Architectural Notes & CI/CD Changes:
Modified files (focused on GLSLANG/SPIRV-CROSS integration and packaging):
vcpkg.json
.github/workflows/build-bsd.yml
.github/workflows/build-macos.yml
.github/workflows/build-ubuntu.yml
.github/workflows/build-windows.yml
CMakeLists.txt
src/frontend/qt_sdl/CMakeLists.txt
src/frontend/qt_sdl/Config.cpp
src/frontend/qt_sdl/Screen.cpp
src/frontend/qt_sdl/Screen.h
src/frontend/qt_sdl/Window.cpp
src/frontend/qt_sdl/Window.h
Added files (Core shader implementation and UI):
.gitmodules
res/slang-shaders/
src/frontend/qt_sdl/FrontendShader.h
src/frontend/qt_sdl/ShaderConfigDialog.cpp
src/frontend/qt_sdl/ShaderConfigDialog.h
src/frontend/qt_sdl/ShaderManager.cpp
src/frontend/qt_sdl/ShaderManager.h
src/frontend/qt_sdl/ShaderParser.cpp
src/frontend/qt_sdl/ShaderParser.h
src/frontend/qt_sdl/SlangPreset.cpp
src/frontend/qt_sdl/SlangPreset.h
Showcase: