V_CMP_U64 semantics - #4561
Conversation
|
one more time cmp , @raphaelthegreat should check that :D |
|
I don't think this is correct, CMP_U64 is most often a thread-bit compare that will not work with U64 src. Did you confirm this is what the shader uses? |
AMD GCN3 ISA: https://docs.amd.com/v/u/en-US/gcn3-instruction-set-architecture AMD's GCN3 ISA documents So for the ISA semantics, the generic U64 compare lowering is justified. However, your question about the specific Knack 2 shader is fair: I do not yet have shader-specific proof from a dump/disassembly showing whether this instance is using a full 64-bit compare or a VCC/thread-bit idiom. |
|
KNACK™ 2 Demo - CUSA09687 goes ingame, just doesn't show graphics properly. Menus work as intended. RESIDENT EVIL 3 "Raccoon City Demo" - CUSA17925 also requires V_CMP_U64, but still crashes at launch, now on this error: |
|
|
Good, I'll check! |
|
Resident Evil 4 (remake) also required V_CMP_U64 so now it crashes with: |
|
Same error with Street Fighter 6 now: |
Did it work on main branch binary? |
|
No, I meant both crash on V_CMP_U64 error on Main (that's the reason I tested them on this PR), so I guess that a progress: now they crash at another type of error... ^^ |
I agree! |
|
@Parotaku I do not have RE3 Demo, can you please test with this? |
Not sure if Parotaku has it, but my tests aren't different. |
Yeah, sorry... I don't have RE3 demo... but I tested with RE4 remake & Street Fighter 6 and there are no changes... :-/ |
|
I don't know if this is still WIP, but now would be a good time to update it from Main (because of all the fixes for UE & others...). It might help new games go further? |
Yes, a lot of games need this. |
|
Tested on the latest version of this PR, it's the same as the previous report. RESIDENT EVIL 3 "Raccoon City Demo": KNACK™ 2 Demo: |
I will check later. |
|
rebased |
|
This should also improve Resident Evil Village, Resident Evil Resistance, and STAR WARS Jedi: Fallen Order. shadps4-compatibility/shadps4-game-compatibility#2597 |













Make Knack 2 menu fully operational.