[TESTERS NEEDED] rsx/vk: Rewrite how blending works - #19410
Conversation
- Temporary measure. That really needs to be handled carefullly since most games will not actually need programmable blending.
- No need to rerun the blend config and depth state evaluation every time the shader changes. - There's probably more that can be done, but I'll check later.
- The correct order is sRGB -> ROUND -> ALPHA_TEST -> BLEND - Blending DOES NOT run in linear space at all. The bytes are decoded as-is.
- Regardless of the O/Z tag on the format, DST_ALPHA is always 1 - I don't know why it's that way, it shouldn't be but we're probably just looking at a hardware bug
|
Fixes #19333
|
|
Fixes #19290 edit Also mercury menu is fixed again |
Partially fixes #11149, Jax collection also needs to be verified |
|
Jak 1 looks fixed: jak.mp4 |
|
Partially fixes #9150 Menu correctly loads and displays
|
|
Funny enought while testing this branch I had a graphical issue in Asuras Wrath but repeating the scene it played correctly. I thing I found a some kind of FIFO iassue but from my memory it arelady happened before so Asura Wrath tested and I didn't saw any difference |
|
I mean this was quite obvious it was still an issue but Dragon's crown is still broken just like the other Vanillaware game #4133 |
|
Regression: SoulCalibur IV (BLES00296) freezes within ~3 minutes on PR build. Master 0.0.42-19931 works fine, 60 FPS, no freezes. PR: game hangs within 3 minutes — usually on character select screen or shortly after entering a mode. Tried Arcade, VS — same result in all modes. Settings: WCB On, WDB On, Strict Texture Flushing On, Strict Rendering Mode Off, RCB Off. Vulkan, GTX 1070, i7-7700. Log attached. |













Introduces a ton of changes to how blending works in the emulator. Most of the implementation is Vulkan-only for now.
Closes #19269
Relates to #15061 (not closed because OpenGL impl is missing).
OpenGL implementation is currently not provided, it will come later. The amount of changes is already too large so it makes sense to split the work.
I have no idea how many games are affected here, the blast radius is massive. There are a few issues left out that will come later:
EDIT: Hardware tests attached:
rsx-blending-tests.zip
List of fixed issues:
Fixes #19333
Fixes #19290
Fixes #11149
Partial fix #9150