Fixes incorrect rendering order to upscale first -> then Reshade at final res#2191
Fixes incorrect rendering order to upscale first -> then Reshade at final res#2191ballerburg9005 wants to merge 1 commit into
Conversation
… result, to upscale first -> Reshade at final res
|
As explained in #1498 (comment) the PR makes the result identical to using VkBasalt, which also applies the shader to the final result. It is somewhat puzzling to me then, why the --reshade-effect parameter exists in the first place. If you can just use VkBasalt instead with gamescope and it is superior to begin with in many ways. I was under the impression at first, that VkBasalt wouldn't work with gamescope (like it doesn't work with wine and many other "more complicated" applications), and that's why the --reshade-effect parameter was made? But this is not true! VkBasalt works flawlessly with gamescope! In the end though, I suppose for the edge cases in which VkBasalt cannot be used and the --reshade-effect parameter is the only option, it would still make sense to have the shader apply in the correct/desirable order? |
This fixes the issue detailed here: #1498
It does the following:
✅ -> upscale low-res game first
✅ -> apply reshade effect (at final res)
Before it was: ⛔
apply shader -> upscale the shader result⛔This is just the wrong way around and no one likes how it worked before.
Demo
2026-05-21_00-10-27.out2.mp4
Left is old, right is new.
Ground truth obtained by using same shader with VkBasalt and mpv on JPG still image.
Gameplay footage: https://youtu.be/P0Yg-yc0U0w
AI disclaimer
This was written in Opencode by Deepseek V4 Flash with Claude Sonnet 4.6 acting as code reviewer / super assistant for a total cost of $1.80. I can't claim to understand Vulkan enough myself to really vouch for it, neither did I make an effort to.