Skip to content

GS/HW: Fix regression with bilinear filtering of target updates - #14897

Merged
lightningterror merged 2 commits into
masterfrom
gs_bilinconvertregress
Sep 3, 2026
Merged

GS/HW: Fix regression with bilinear filtering of target updates#14897
lightningterror merged 2 commits into
masterfrom
gs_bilinconvertregress

Conversation

@refractionpcsx2

@refractionpcsx2 refractionpcsx2 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Description of Changes

Fixes the bilinear functionality for shader selection when doing target updates. Also implements depth flooring on the the function to keep properly rounded values.

Rationale behind Changes

This was broken when the convert shader functionality was changed I believe back in #14477, the mask default was using the bilinear boolean value which was being shadowed and the linear was set to nearest, a bit of a mess.

Suggested Testing Steps

Test SMT games mainly, and Syphon Filter - Logan's Shadow

Did you use AI to help find, test, or implement this issue or feature?

No

Fixes #14896 SMT Nocturne upscaling artifacts
Fixes SMT Digital Devil Saga upscaling artifacts
Improves lighting and upscaling on Syphon Filter - Logan's Shadow

SMT Nocturne
Master:
image
PR:
image

SMT Digital Devil Saga
Master:
image
PR:
image

Syphon Filter - Logan's Shadow (this requires HPO Native adding to Game DB):
Master:
image
PR:
image

@lightningterror lightningterror left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to bump shader cache.

@lightningterror lightningterror added this to the Release 2.8 milestone Sep 2, 2026
@refractionpcsx2 refractionpcsx2 changed the title Gs bilinconvertregress GS/HW: Fix regression with bilinear filtering of target updates Sep 2, 2026
@refractionpcsx2

Copy link
Copy Markdown
Member Author

Need to bump shader cache.

Done

@refractionpcsx2

Copy link
Copy Markdown
Member Author

Latest push also improves Toro to Kyuujitsu, but it needs ATN WTO to be perfect (out of scope of this PR)

Master:
image

PR:
image

@lightningterror lightningterror left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, didn't test, waiting for Jordan.

@lightningterror
lightningterror merged commit 3d9fea5 into master Sep 3, 2026
32 checks passed
@lightningterror
lightningterror deleted the gs_bilinconvertregress branch September 3, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Lighting issue on SMT Nocturne when not using native resolution.

4 participants