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

D3D/Vulkan: Handle strided XFB copies #4458

Merged
merged 2 commits into from Nov 20, 2016
Merged

D3D/Vulkan: Handle strided XFB copies #4458

merged 2 commits into from Nov 20, 2016

Conversation

stenzek
Copy link
Contributor

@stenzek stenzek commented Nov 19, 2016

The two backends assumed that the stride would always be equal to the width of the copy region * 2. It's possible to specify a larger stride, in which case the region outside the copy region should be untouched. GL was already behaving correctly in this regard.

Vulkan was also using a point sampler instead of a linear sampler, which would result in a lack of filtering if y-scaling was enabled for the copy.

Should hopefully fix VC Earthworm Jim, possibly others that rely on this behavior.


This change is Reviewable

@degasus
Copy link
Member

degasus commented Nov 19, 2016

LGTM

@stenzek stenzek merged commit 3d21169 into dolphin-emu:master Nov 20, 2016
@stenzek stenzek deleted the strided-xfb branch June 13, 2017 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants