Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXSO: Fix various shader instructions #4442

Merged
merged 4 commits into from
Nov 11, 2024
Merged

DXSO: Fix various shader instructions #4442

merged 4 commits into from
Nov 11, 2024

Conversation

doitsujin
Copy link
Owner

Fixes #4319, Supersedes #4439.

@doitsujin doitsujin force-pushed the d3d9-lerp-mad branch 2 times, most recently from e02d65f to e7b60a5 Compare November 10, 2024 21:07
@doitsujin doitsujin changed the title [dxso] Fix lrp instruction DXSO: Fix various shader instructions Nov 10, 2024
@qinlili23333
Copy link
Contributor

Tested on Nvidia, fixes #4319.

Games expect this to be equivalent to add -> mad, but since we changed
mad to emit mul + add, this is no longer the case. Also remove OpFMix
path.
Potentially avoids vertex shader bugs if a game expects dot product and
a chain of mad instructions to return the same result.
@doitsujin doitsujin merged commit 3756e83 into master Nov 11, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[d3d9] Tomb Raider: Legend has some form of flickering with DXVK, does not occur with wined3d
2 participants