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

[d3d9] Handle mismatching vertex layout and vbo strides #3921

Merged
merged 1 commit into from
May 23, 2024

Conversation

K0bin
Copy link
Collaborator

@K0bin K0bin commented Mar 21, 2024

Fixes #3919

@K0bin K0bin added the d3d9 label Mar 21, 2024
@K0bin K0bin force-pushed the finalfantasy-fix branch 2 times, most recently from e61584d to 230c169 Compare March 27, 2024 15:10
@K0bin K0bin marked this pull request as ready for review March 27, 2024 15:10
@Joshua-Ashton
Copy link
Collaborator

This seems like a mess

@K0bin K0bin marked this pull request as draft April 21, 2024 13:56
@K0bin K0bin force-pushed the finalfantasy-fix branch 2 times, most recently from a98f0d3 to 6e98206 Compare May 17, 2024 23:34
@K0bin K0bin marked this pull request as ready for review May 17, 2024 23:35
@K0bin
Copy link
Collaborator Author

K0bin commented May 17, 2024

I pushed an updated version of this PR that should hopefully be a bit easier to read. It's still quite complex because we have to be robust against going out of bounds but it's a bit less messy now in my opinion.

@K0bin K0bin requested a review from Joshua-Ashton May 17, 2024 23:36
src/d3d9/d3d9_device.cpp Outdated Show resolved Hide resolved
src/d3d9/d3d9_device.cpp Outdated Show resolved Hide resolved
... and handle mismatching vertex sizes and vertex strides.
@doitsujin doitsujin merged commit 8898028 into doitsujin:master May 23, 2024
3 checks passed
@K0bin K0bin deleted the finalfantasy-fix branch May 24, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[d3d9] Final Fantasy XIII (dxvk 2.3.1 regression?)
4 participants