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

GS/HW: Check both edges of current triangle for quads #10967

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Checks both edges of the current triangle during quad check

Rationale behind Changes

When using DX and VK they can have different settings for "provoking vertex", meaning the first and last point can be swapped, this was causing the quad check to fail as the first vert wasn't connected to the previous triangle. In Transformers on DX, this meant that it ended up using an image from a previous draw as depth.

Suggested Testing Steps

Smoke test mostly.

Fixes in Vulkan

Splinter Cell - Chaos Theory:
Master:
image
PR:
image

Fixes in Direct3D11

Transformers:
Master:
image
PR:
image

@github-actions github-actions bot added the GS label Mar 24, 2024
@refractionpcsx2 refractionpcsx2 merged commit 452f9e4 into master Mar 24, 2024
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_trianglequads branch March 24, 2024 12:20
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.

None yet

2 participants