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

gsdx-ogl: accurate date regression. Bad interaction between depth & DATE #893

Merged
merged 1 commit into from Oct 22, 2015

Conversation

gregory38
Copy link
Contributor

In the DATE42 algo, first pass must find the primitive that write the
bad alpha value. If depth test is fail, alpha value won't be written therefore
you mustn't keep the primitive id.

In theory to ensure 100% correctness, depth would need to be fully executed
(currently depth write is disabled). However it requires to copy the depth buffer.
It is likely bad for the perf.

Issue reported on DBZInfWorld

@gregory38
Copy link
Contributor Author

Need test of regression in others game (Shin Megami Tensei Nocturne, persona...)

@gregory38
Copy link
Contributor Author

@ssakash
Copy link
Member

ssakash commented Oct 17, 2015

In the DATE42 algo, first pass must find the primitive that write the
bad alpha value. If depth test is fail, alpha value won't be written therefore
you mustn't keep the primitive id.

In theory to ensure 100% correctness, depth would need to be fully executed
(currently depth write is disabled). However it requires to copy the depth buffer.
It is likely bad for the perf.

Issue reported on DBZInfWorld
gregory38 added a commit that referenced this pull request Oct 22, 2015
gsdx-ogl: accurate date regression. Bad interaction between depth & DATE
@gregory38 gregory38 merged commit 56f2e74 into master Oct 22, 2015
@gregory38 gregory38 deleted the accurate-date-regression branch October 25, 2015 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants