-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5010 from unknownbrackets/depth-copy
On desktop, blit depth when not cleared
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ce8f98e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@unknownbrackets @hrydgard
This particular commit, v0.9.6-334-gce8f98e (when combined with the necessary native update) causes Zack's shadow in FFVII CC (outside the Shinra building, as is the usual testing ground for the FFVII shadow issue) to become zebra striped for some reason, instead of the previously whole solid blob:-
Previously correct behaviour in v0.9.6-331-g4d477f0 4d477f0 (the shadow is a one solid blob):-
ce8f98e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@unknownbrackets I don't think it makes sense to stretch depth buffers the way this does, instead we should either copy the upper left overlapping rectangle or ignore the copy if the buffer sizes are different.
ce8f98e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be AMD issue only ? i test it on my nvidia system with 0.9.6-338
ce8f98e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hadn't considered it when I wrote the code, since the address is the same, but that's probably right.
-[Unknown]
ce8f98e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I committed a change that skips the copy if the sizes differ, which fixed this problem.