Henrik Rydgård
3a5968ba33
Don't block the render thread while the CPU is paused. This is a prereq for imgui debuggers.
2024-11-05 12:53:21 +01:00
Henrik Rydgård
294584c608
GCC/llvm: Enable a lot more warnings, error on missing return value
2024-11-04 11:54:45 +01:00
Henrik Rydgård
dd8f9b682f
Don't crash on trying to re-record a GE dump
2024-11-01 20:27:09 +01:00
Henrik Rydgård
4016539c85
Pre-release shader cache version bump for safety
2024-10-29 13:19:58 +01:00
Henrik Rydgård
14bb7a6062
Reduce Windows debugger crashes on shutdown
2024-10-29 11:20:03 +01:00
Henrik Rydgård
ab1072224f
Cleanup, add another GPU stat
2024-10-29 08:18:41 +01:00
Henrik Rydgård
10db7de53c
Prevent bound depal and framebuffer texture views from lingering between frames
...
Should help #19557
2024-10-29 08:11:39 +01:00
Henrik Rydgård
1221a6e928
Minor code cleanups
2024-10-28 17:50:34 +01:00
Henrik Rydgård
6a7435341e
Some reporting cleanups
2024-10-28 17:25:40 +01:00
Henrik Rydgård
56a164a14e
Handle one more error case in presentation
2024-10-28 17:02:03 +01:00
Henrik Rydgård
1b769b61b1
Fragment shader: Don't error on bad blend eqs, instead use default eq (add)
2024-10-25 21:54:57 +02:00
Henrik Rydgård
8991329de4
GPUCommon::PerformMemoryCopy: Add a debug assert
2024-10-25 21:31:51 +02:00
Henrik Rydgård
7d24fca4e2
Crashfix when switching buffered/non-buffered with the game running
2024-10-25 12:00:28 +02:00
Henrik Rydgård
7e952ab795
Delete unused code, fix a comment.
2024-10-23 10:55:46 +02:00
Henrik Rydgård
a545d3074f
Do some renaming, dedupe some strings (old commit resurrected), add an assert
2024-10-22 22:28:06 +02:00
Henrik Rydgård
f54d701a2e
Decentralize the assert for AllocateAlignedMemory failures
2024-10-22 21:49:50 +02:00
Henrik Rydgård
b10c4f7fae
Crashfix, warning fix, cleanup
2024-10-22 14:15:47 +02:00
Henrik Rydgård
3a4b27b086
Fix some more presentation issues
2024-10-22 12:29:32 +02:00
Henrik Rydgård
669c4452cc
More presentation fixes
2024-10-17 22:21:25 +02:00
Henrik Rydgård
843fe22968
Remove superfluous .c_str()
2024-10-17 22:21:07 +02:00
Henrik Rydgård
858f37b8fc
Add a couple of asserts (to make things error out earlier)
2024-10-17 21:01:58 +02:00
Henrik Rydgård
a062e5192b
Fix issue where PresentedThisFrame didn't work on SoftGPU, causing issues
2024-10-16 15:53:42 +02:00
Henrik Rydgård
2c283fbb07
Minor cleanups, crashfixes
2024-10-14 23:57:19 +02:00
Henrik Rydgård
21bf1c588f
Ignore single imm point draws, that are accidentally kicked off when games initialize the GPU.
2024-10-14 14:26:44 +02:00
Henrik Rydgård
e9c7eaf427
Be more consistent with NotifyPresent
...
..
2024-10-14 14:26:44 +02:00
Henrik Rydgård
6797a24199
Texture saving: Try to limp along if memory allocation of buffer memory fails
2024-10-10 16:01:00 +02:00
Henrik Rydgård
e51c58716b
Fix minor code issues flagged by PVS-Studio and reported by alphrixus.
2024-10-10 14:10:30 +02:00
Henrik Rydgård
3d31b4ac4c
Fix possible framebuffer binding bug in EmuScreen
2024-10-02 16:21:53 +02:00
Henrik Rydgård
9b8f18298a
Translation fixes, etc
...
Thanks @TotalCaesar659
2024-09-27 10:15:52 +02:00
Henrik Rydgård
027385d218
Merge pull request #19491 from hrydgard/vertex-decoder-sanity-check
...
DrawEngineCommon: Enforce the limit on vertex decoding
2024-09-26 00:56:40 +02:00
Henrik Rydgård
3a4defe210
DrawEngineCommon: Enforce the limit on vertex decoding
...
Should help #18894 which draws using a nonsense index buffer sometimes,
causing problems since we decode the whole range...
2024-09-26 00:41:01 +02:00
Henrik Rydgård
f7af5a7743
When reinterpreting color between same-sized framebuffers sharing a z-buffer, copy the Z.
...
Fixes socom character customization screen, #19245
2024-09-26 00:16:55 +02:00
Henrik Rydgård
dfca3dd87a
Work around annoying assert in debug memory allocator on 32-bit Windows
2024-09-25 23:24:25 +02:00
Henrik Rydgård
702e77454a
Hardware transform: Clamp the specular coefficient to 0.0 before taking the power.
2024-09-25 21:09:13 +02:00
Henrik Rydgård
c451b41b8b
Merge pull request #19470 from hrydgard/for-based-loop-cpp17
...
Rebase of #18559 (For based loop cpp17 by GermanAizek)
2024-09-18 13:25:34 +02:00
sum2012
0bce42cc33
More Ignore address in gpu ( #16303 )
...
* More Ignore address 0 in gpu
Fix #16297
* Change to ignore bad memory access
* Update SoftGpu.cpp
---------
Co-authored-by: Henrik Rydgård <hrydgard@gmail.com>
2024-09-18 09:48:22 +00:00
Henrik Rydgård
fb80ad6370
Merge pull request #19413 from oltolm/d3d9_com_ptr
...
use ComPtr for D3D9
2024-09-18 11:33:07 +02:00
Herman Semenov
192650f551
[Core/HLE/GPU/D3D11/GLES] Using for based loop C++17 and replaced on structured binding map C++17
2024-09-18 11:10:10 +02:00
Henrik Rydgård
2ba4eaf3dd
First part of the const changes etc
2024-09-17 15:13:13 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Henrik Rydgård
42c32c5afc
VertexDecoder: Don't read loop counts from memory. Improves codegen
2024-09-10 17:53:19 +02:00
Lubos
abeeeb1cbf
OpenXR - Sonic rivals rendering fix
2024-08-27 08:22:58 +02:00
oltolm
87db979ed7
use ComPtr for D3D9
2024-08-25 12:08:31 +02:00
Lubos
3154a5fac1
OpenXR - VR camera features on any platform
2024-08-07 09:25:12 +02:00
Lubos
3a6bf77f6b
OpenXR - Texts review
2024-08-05 12:45:42 +02:00
Henrik Rydgård
5926886c0c
Some include cleanup, delete some obsolete code
2024-07-25 14:52:41 +02:00
Henrik Rydgård
fab034d866
Fix minor difference between ubershader and specialized vshaders
2024-07-24 20:50:33 +02:00
Henrik Rydgård
aa17f71f14
Merge pull request #19363 from hrydgard/vertex-decoder-remove-membfun
...
VertexDecoder: Remove member function pointers from decoding
2024-07-23 08:48:48 +02:00
Henrik Rydgård
0d8f194c65
Merge pull request #19361 from lvonasek/feature-openxr-antiflickering
...
OpenXR - Anti-flickering rendering flow added
2024-07-22 21:12:03 +02:00
Henrik Rydgård
6e0ec4a131
Slightly nudge down the multiplier used for float->u8 conversion in fragment shaders
...
Seems in lowp precision (as seen on some Android devices) this got
rounded up to 256 when multiplied by 1.0, causing the u8 to overflow, giving
us the wrong value instead of nicely rounding down to 255 with the floor
function.
Fixes #19235
2024-07-22 18:36:58 +02:00