Repository navigation
Hell Is Us (PPSA09259) #23071
ashwin280802
started this conversation in
Game bring-up
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Status: relinks and boots to the menus on current
main(a85640310d6) only with #21747 applied. With it, the whole UI is vertically flipped from the disclaimers onward.Host: Windows 11, Intel Core i5-14600K, NVIDIA GeForce RTX 5070. Relinked with
--windows --to-intel.1. Abort on
mainwithout #21747. The first menu frame aborts withRect-list SPIR-V: custom per-vertex interpolation is unsupported. #21747 (colour masks reaching no formatted target) clears it. This is already known.2. With #21747, the UI is upside down. The logo movie plays upright. The disclaimers, menus and gameplay are flipped vertically; text still reads left to right.
What I measured. I logged the viewport state at each draw decode:
PA_CL_VTE_CNTL= 0, for example a 3840x2160 target withxs=1920 ys=-1080 xo=1920 yo=1080(the same pattern at every target size), and the driver then builds a{0, 0, w, h}viewport.0x43fwrites only appear inside context-state push-clear/pop blocks. The title never writes the register in its normal draw context.0x43fget the negative-height viewport, which is the flip.Where it comes from.
bade67338ce(PR #16053) changed the initialPA_CL_VTE_CNTLfrom 0x43f to 0. I believe the reset of 0 matches the documented reset, and shadPS4 and fpPS4 use 0 as their clear-state default and treat disabled transform bits as scale 1, offset 0.Local test. With a VTE = 0 draw using the title's programmed viewport registers when they differ from their reset defaults (and the full-target viewport otherwise), the menus and gameplay display correctly.
agc_driver_graphicspasses. This is not a PR.Evidence status, plainly. The fix rests on this title's call pattern only. I have no console measurement and no source for the PS5's clear-state value of this register, and the behaviour contradicts the register's documented meaning. So I'm not opening a PR.
Questions. What does the PS5 hold in
PA_CL_VTE_CNTLafter CLEAR_STATE? Does anyone have a measurement? Would a maintainer accept the "programmed viewport" rule, or is there a better reading of how this title draws?All reactions