Commit Graph
47140 Commits
Author SHA1 Message Date
Unknown W. Brackets 0aba5ff3c1 TexCache: Correct alpha mask checks for SSE2.
Should have been shifts by byte (4/8), but let's just switch to shuffles
anyway.  These were always shifting in zeros and failing.
2022-12-03 12:38:01 -08:00
Unknown W. Brackets 38eb0a7a82 softgpu: Check for queued compile.
Rarely, we could have queued compiling the same one, which would crash on
a double insert.
2022-12-03 12:15:58 -08:00
Henrik Rydgård aa7341def6 Merge pull request #16492 from hrydgard/reorganize-display-layout-screen
Reorganize the display layout screen
2022-12-03 20:56:10 +01:00
Henrik Rydgård 6acbd1f9e3 Fix loading of texture shaders 2022-12-03 20:37:58 +01:00
Henrik Rydgård f3ba8fb334 Address feedback, also sort texture shaders 2022-12-03 19:30:50 +01:00
Henrik Rydgård e46b036482 Reorganize the DisplayLayoutScreen again - flip left/right sides, move mode switch to bottom. 2022-12-03 19:13:39 +01:00
Henrik Rydgård b938992da4 Add a new centering capability to AnchorLayout 2022-12-03 19:13:21 +01:00
Henrik Rydgård fb5474115c Align the version number better on the main screen 2022-12-03 19:07:38 +01:00
Henrik Rydgård f5c0dc717a Sort post-shaders alphabetically in the list. 2022-12-03 18:58:47 +01:00
Henrik Rydgård f651f365b0 Disable the MSAA selector if software rendering is selected. Move software rendering up. 2022-12-03 17:43:08 +01:00
Henrik Rydgård 238c9439e3 Merge pull request #16491 from unknownbrackets/cleanup
Quick cleanup
2022-12-03 16:38:32 +01:00
Unknown W. Brackets 2b58ac7e95 Psmf: Fix pointer check. 2022-12-03 07:17:27 -08:00
Unknown W. Brackets e50eae1bfb GPU: Cleanup some bounds checks, assignments. 2022-12-03 07:17:12 -08:00
Unknown W. Brackets 7c16c4dbb9 Merge pull request #16489 from mjunix/small-fixes
Small fixes
2022-12-03 07:03:10 -08:00
Johan Mattsson d694b3a2e9 Merge branch 'hrydgard:master' into small-fixes 2022-12-03 15:31:40 +01:00
Henrik Rydgård c9c4a7ef7d Merge pull request #16487 from hrydgard/simpsons-hotfix-alternative-try
Safer and simpler alternative to commit cbfa4bf.
2022-12-03 15:29:16 +01:00
Johan Mattsson e260ba4062 Fix missing 'else' 2022-12-03 15:29:14 +01:00
Johan Mattsson 2b1d57257a Fix comparison 2022-12-03 15:28:22 +01:00
Johan Mattsson 954bd69e30 Fix progress computation 2022-12-03 15:26:31 +01:00
Henrik Rydgård 0f12d44e59 Remove some unused/unnecessary code 2022-12-03 12:05:10 +01:00
Henrik Rydgård 92df6b832c Safer and simpler alternative to cbfa4bf.
See #16483
2022-12-03 12:05:08 +01:00
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