-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Regression : Disgaea 3 grey color issue #2178
Comments
It affected by the depth read texture fetch.
|
Thats rather odd: the depth read does not alter color.r but only changes color.g and color.b to be tiny non-zero values (so that the combination yields back the original value). I'll need to analyze a trace of this, although I remember texture swizzle problems with this title. |
Here it is |
Seems that an RGBA8 RTV is returned as being bound to the depth buffer which should not be possible. Either the game is just being crazy, or there's a bug in our rtt cache code. Redirection should only occur for native depth textures of D24_X8. |
This also happens in Atelier Ayesha (and other Atelier games). renderdock trace: https://mega.nz/#!A5VzRJpB!gfrqI2jl7la_ccKJS4NEOsqpDNENLuk0GkAmqd-cebs |
Thanks. The bug is our rsx surface cache returning color textures as depth_stencil textures. This can easily be worked around for ogl, but vulkan and dx12 do not attach an internal format to image data, so I'll need to debug this with a sample that is affected to find the real cause. |
@ssshadowww @raven02 Could you run with this build https://ci.appveyor.com/project/kd-11/rpcs3/build/1.0.304 and attach the rpcs3.log for opengl? It'll spam the log with alot of information, but it should help narrow down possible culprits. |
I've updated the link to the appveyor build since it failed to compile the first time |
Here is the log for Atelier Ayesha running through the logos: |
Here is the log from debug build on Disgaea 3 |
The only way these logs are even possible is if we can somehow have a DSV and RTV at the same address! I'm posting a build that should debug this case, and give RTVs priority as that is what the texture cache does. |
https://ci.appveyor.com/project/kd-11/rpcs3/build/1.0.305 should get this one. Please confirm. If it doesnt work, post the new log here. |
Appveyor crashed. New build https://ci.appveyor.com/project/kd-11/rpcs3/build/1.0.306 |
Disgaea 3 looks okay again . @SakataGintokiYT, Is Naruto series also ok? |
If it works it means I was right. Well, now on to #2093 |
I run the latest build (https://ci.appveyor.com/project/kd-11/rpcs3/build/1.0.307/artifacts) on Disgaes 3 as well . Log here - RPCS3.zip |
This affects all backends .Regressed at #2173
The text was updated successfully, but these errors were encountered: