Implemented Snapdragon Game Super Resolution #8072
Draft
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.
Please read the Contributing guide before making a PR.
Checklist for PR maker
need-backport-*
label. After you backport the PR, the label changes tobackported-*
.CHANGELOG.md
file.Purpose of this PR
Snapdragon™ Game Super Resolution is a lightweight anti-aliasing and upscaling solution optimised for mobile devices such as Adreno™ GPU hardware. Compared to AMD FidelityFX™ Super Resolution 1.0, it performs both upscaling and sharpening in a single GPU shader pass.
https://github.com/SnapdragonStudios/snapdragon-gsr
This is a port of the SGSR sample to the Universal Render Pipeline. It adds a new upscaling filter to the UniversalRenderPipelineAsset and is applied when the render scale is less than 1.
Testing status
I have tested SGSR on an AMD 680M, an Adreno 650, an Apple M1 8-Core GPU and an Apple A13 Bionic GPU. I have also tested it in Unity 2022.3.28f1 with URP 14.0.11.
Comments to reviewers
Areas for improvement include moving the added functions in FinalPost.shader to a separate header file like in the official sample, as well as exposing the three options in sgsr_mobile.hlsl to the editor, allowing SGSR to be more effective for VR use.
I will follow up this draft with a commit updating the documentation and changelog.