Skip to content

GS/DX: Add SW AF#14188

Draft
TheLastRar wants to merge 1 commit intoPCSX2:masterfrom
TheLastRar:D3D-SW-AF
Draft

GS/DX: Add SW AF#14188
TheLastRar wants to merge 1 commit intoPCSX2:masterfrom
TheLastRar:D3D-SW-AF

Conversation

@TheLastRar
Copy link
Copy Markdown
Contributor

Description of Changes

Adds shader based anisotropic filtering to the DX renderers.

Rationale behind Changes

DX lacks support for anisotropic filtering with point filtering, currently we switch to linear filtering
That, however, causes can cause issues when alpha test is used, as colours not intended to be visible get blended in due to linear filtering, see #14077.

Additionally, AMD doesn't perform AF on textures that lack mipmaps in DX12, despite the same working in VK.

This brings parity to how the VK render behaves on NV and AMD with AF.

Suggested Testing Steps

Enable anisotropic filtering along with the new shader anisotropic filtering option under Graphics->Rendering
Notably, the shader based approach is more aggressive then Nvidia's HW AF. which is noticeable at native res.

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

No

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.

1 participant