Henrik Rydgård
02b8bf33fb
Merge pull request #16458 from hrydgard/desktop-friendly-msaa
...
Implement MSAA support for desktop GPUs in Vulkan
2022-12-03 11:22:41 +01:00
Henrik Rydgård
4589473231
Merge pull request #16486 from unknownbrackets/softgpu-opt
...
softgpu: Apply optimizations to states generically
2022-12-03 11:08:10 +01:00
Henrik Rydgård
d6b9f39215
Merge pull request #16483 from lvonasek/hotfix_simpsons_crash
...
Simpsons crash on GLES fixed
2022-12-03 10:40:02 +01:00
Unknown W. Brackets
204789a27f
softgpu: Skip fog when no verts have fog.
2022-12-02 21:55:49 -08:00
Unknown W. Brackets
0c42e45e92
softgpu: Cleanup reapply logic.
...
This makes more sense to read.
2022-12-02 21:42:57 -08:00
Unknown W. Brackets
4d92533907
softgpu: Apply optimizations to states generically.
...
This is for optimizations we can only do when we know the vertex values.
2022-12-02 21:30:53 -08:00
Unknown W. Brackets
6bd0eec54d
softgpu: Calc flags on state as we queue verts.
...
Might be some other ways, like doing this directly in a vertex reader.
Also am thinking about doing things regarding UVs or positions.
Flags not yet used, keeping separate for perf checks.
2022-12-02 21:28:50 -08:00
Unknown W. Brackets
a04b7cf3b3
softgpu: Force shading flag off in clearMode.
...
Probably fixes a line shading bug, and clearer anyway.
2022-12-02 21:20:59 -08:00
Unknown W. Brackets
778a0487cb
softjit: Switch to DenseHashMap.
2022-12-02 20:59:13 -08:00
Unknown W. Brackets
7dee26eae4
Merge pull request #16482 from hrydgard/savestate-checkpoints
...
Add savestate checkpoints to verify that MEASURE and WRITE match
2022-12-02 14:06:14 -08:00
Unknown W. Brackets
0c19f6ae1d
Merge pull request #16484 from lvonasek/compat_openxr_fixes
...
OpenXR - HUD support for even more games
2022-12-02 14:03:23 -08:00
Henrik Rydgård
c7041d6e97
Reserve some space in the checkpoints vector
2022-12-02 22:46:39 +01:00
Henrik Rydgård
f954013d0b
Fix (?) the savestate bug in PSPSaveDialog/SaveDataParam
...
PSPSaveDialog::DoState called SetPspParam in non-READ modes, which could
modify it.
2022-12-02 22:46:39 +01:00
Henrik Rydgård
f5a7661c51
Add a NOOP state to reduce logspam after error
2022-12-02 22:46:38 +01:00
Henrik Rydgård
52a684644d
Verify that the Measure and Save passes match accurately through checkpointing
...
Adding this after seeing some very suspicious behavior in Ratchet &
Clank.
2022-12-02 22:46:38 +01:00
Henrik Rydgård
237fbca979
Savestate: Prepare some sanity checks
2022-12-02 22:46:38 +01:00
Lubos
353bdc2d3d
OpenXR - Default config updated
2022-12-02 20:57:50 +01:00
Lubos
0060a14fa7
OpenXR - Adjust the render resolution for VR
2022-12-02 20:48:35 +01:00
Henrik Rydgård
116bc9d59a
Merge pull request #16485 from unknownbrackets/softgpu-fog-nan
...
softgpu: Handle infnan fog coefficients better
2022-12-02 19:49:32 +01:00
Unknown W. Brackets
1121a6fb68
softgpu: Handle inf-end + negative constant slope.
2022-12-02 10:20:30 -08:00
Unknown W. Brackets
38de2f11af
softgpu: Handle infnan fog coefficients better.
...
If we ended up with a dot product that had opposing inf signs, the add
would result in NAN and cause problems.
2022-12-02 10:15:15 -08:00
Unknown W. Brackets
c5844c4174
GE Debugger: Add breakpoint symbol for prim count.
...
This way you can break when a register is changed and prim count is in a
certain range, which can be convenient.
2022-12-02 10:14:36 -08:00
Unknown W. Brackets
6619da2a0d
Debugger: Add decimal constants.
...
For the GE debugger and CPU debugger, it's annoying sometimes to express
everything in hex. This allows using an i or u prefix to get decimal.
2022-12-02 10:13:32 -08:00
Lubos
39c399df47
OpenXR - GTA Chinatown wars rendering fixed
2022-12-02 17:53:03 +01:00
Lubos
769b1d7342
OpenXR - Assasins Creed rendering fixed
2022-12-02 17:45:29 +01:00
Lubos
66cbe55ffc
OpenXR - Tony Hawk HUD fixed
2022-12-02 16:47:26 +01:00
Henrik Rydgård
35777d5eef
Use proper copies for depth blits between multisampled framebuffers. Needed to keep all the information.
2022-12-02 15:26:29 +01:00
Henrik Rydgård
d554085388
Implement copy operation properly for the multisampled case
2022-12-02 15:25:02 +01:00
Henrik Rydgård
2d6c632bfe
Check resolve mode, just to be safe.
2022-12-02 15:19:06 +01:00
Lubos
1e2cf07c6b
OpenXR - Monster Hunter HUD fixed
2022-12-02 15:16:41 +01:00
Henrik Rydgård
75b558eb5f
Address feedback
2022-12-02 14:35:43 +01:00
Lubos
b41a782fcd
Revert "Centralize ClearCacheNextFrame"
...
This reverts commit cbfa4bfc8e .
2022-12-02 14:32:27 +01:00
Henrik Rydgård
cd0acec3f0
Crashfix the other backends
2022-12-02 13:49:28 +01:00
Henrik Rydgård
a349e2b85b
Merge pull request #16481 from unknownbrackets/gedebugger
...
Cleanup some GE debugger logspam, small texture proj optimization
2022-12-02 11:10:49 +01:00
Henrik Rydgård
24aad50133
Merge pull request #16480 from unknownbrackets/softgpu-depth
...
softgpu: Cull verts outside post-viewport Z
2022-12-02 11:08:52 +01:00
Unknown W. Brackets
106d730a20
GPU: Optimize out common case texture proj.
...
NFS Most Wanted 5-1-0 uses this when it could use uv scale/offset.
2022-12-01 23:20:25 -08:00
Unknown W. Brackets
33abbca464
softgpu: Optimize out texture proj for UVs.
...
Seen in NFS Most Wanted 5-1-0.
2022-12-01 23:13:20 -08:00
Unknown W. Brackets
d7224a8401
GE Debugger: Cleanup logspam on game exit.
...
If you're stopped on a frame and quit, it was previously logging every
command as it exited, thinking it was waiting on each.
2022-12-01 23:12:14 -08:00
Unknown W. Brackets
cb7131b314
Merge pull request #16479 from JohnnyonFlame/vreinterpret-fix
...
Fix wrong vreinterpret neon intrinsic usage.
2022-12-01 22:39:03 -08:00
João Henrique
9fcc6857f6
Fix wrong vreinterpret neon intrinsic usage.
...
This fixes a compilation failure introduced on d0e8cfa365 .
2022-12-02 03:10:57 -03:00
Unknown W. Brackets
c5a98e62dd
softgpu: Cull verts outside post-viewport Z.
...
Shouldn't have removed this before, points are still culled when depth
clamp is off and throughmode is off.
Fixes Crazy Taxi graphics glitches.
2022-12-01 21:57:48 -08:00
Henrik Rydgård
5610734d40
Assert improvement
2022-12-02 00:30:06 +01:00
Henrik Rydgård
7f65ba115b
Merge pull request #16478 from unknownbrackets/softgpu-line-z
...
softgpu: Interpolate Z for 3D lines
2022-12-01 23:44:14 +01:00
Henrik Rydgård
8a3e92aa38
Not pretty, but with this, you can switch MSAA level at runtime.
2022-12-01 23:41:31 +01:00
Unknown W. Brackets
a1f6a40d10
softgpu: Interpolate Z for 3D lines.
...
Important for Me & My Katamari, see #16131 .
2022-12-01 14:39:19 -08:00
Henrik Rydgård
28e1b532bd
Detect Apple/MoltenVK and allow multisampling. Unfortunately no support for sample rate shading.
2022-12-01 22:49:01 +01:00
Henrik Rydgård
29a2157485
Correctly handle input attachments with CreateRenderpass2. But also don't use it while not multisampling.
2022-12-01 22:49:01 +01:00
Henrik Rydgård
7950a00c14
Headless buildfix. Crashfix in shader generator test.
2022-12-01 22:49:00 +01:00
Henrik Rydgård
f758cc0de4
Remove quality setting for now, we default to a balanced setting.
2022-12-01 22:49:00 +01:00
Henrik Rydgård
4990683cf2
Implement "enhanced" multisample quality setting
2022-12-01 22:49:00 +01:00