ppsspp
ppsspp copied to clipboard
Boku no Natsuyasumi 4: Setouchi Shounen Tanteidan missing part of the title screen
Game or games this happens in
Boku no Natsuyasumi 4: Setouchi Shounen Tanteidan UCJS10095
What area of the game / PPSSPP
bottom part of the title screen is missing
here is a GE dump UCJS10095.zip
What should happen
here is what it is supposed to look like
Logs
Platform
Windows
Mobile phone model or graphics card
AMD RX 580
PPSSPP version affected
PPSSPP v1.13.1-237-g9a678406b
Last working version
No response
Graphics backend (3D API)
Vulkan
Checklist
- [X] Test in the latest git build in case it's already fixed.
- [X] Search for other reports of the same issue.
- [X] Try resetting settings or older versions and include if the issue is related.
- [X] Try without any cheats and without loading any save states.
- [X] Include logs or screenshots of issue.
The lower part is drawn at 2/31 - 8/31, and the vertices each have a 0 value for Z. This transforms to 65514.000000. Max Z is set to 65530 (0xFFFA.)
For some reason, this causes it not to draw. Obviously, there's something wrong with the depth comparison here.
Notably, the minz is 0, and depth clamp is off. So it should be killing all values outside the [0, 65530] range. Instead, 0xFFFC fails even, and 0xFFFD (65533) finally allows the draw. So the error is not small (19.)
I haven't looked into it more than that, but this happens in both Direct3D 11 and Vulkan, but does not happen in OpenGL or Direct3D 9. Software renderer is fine as well.
-[Unknown]
273b9a3dc161cf18629dfc8a4077e475803bb7da introduced this problem for Vulkan, so it's an accuracy issue with that.
The prims in question are triangle strips, so not sure if it could be a precision issue (it doesn't happen in OpenGL...) or some kind of math issue.
-[Unknown]
if you don't press start and watch the demo when it comes back to the title screen nothing is wrong