rendervulkan: Add Anime4K 2x CNN UL upscaling filter#2072
Open
Et3rnos wants to merge 3 commits intoValveSoftware:masterfrom
Open
rendervulkan: Add Anime4K 2x CNN UL upscaling filter#2072Et3rnos wants to merge 3 commits intoValveSoftware:masterfrom
Et3rnos wants to merge 3 commits intoValveSoftware:masterfrom
Conversation
|
To run this without crashing, I had to change 2 to 3 in rendervulkan.cpp:915 |
Author
Thanks for giving it a try, I've now updated that line. |
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.
Overview
Added Anime4K 2x CNN UL (Ultra-Large) as a new upscaling filter option for gamescope.
--filter anime4kPerformance
Benchmarked on RTX 3050 Ti (Laptop) against Lossless Scaling's Anime4K UL implementation:
Estimated VRAM usage:
A consistent 50% performance gain achieved by merging 25 original shader passes into 9, reducing redundant texture fetches by writing to 3 output textures per dispatch.
Visual Quality
Output compared against Lossless Scaling (a perfect match). It is correctly implemented, and the quality matches the original Anime4K shader.
Comparison with FSR
The source game was run at 544x416, upscaled to 1920x1080:
FSR:
Anime4K:
Related Threads / Motivation
Those threads mentioned interest on Anime4K being added to Gamescope.
#262
#788
Notes