Commit graph

994 commits

Author SHA1 Message Date
Henrik Rydgård
d502929cb2 Minor cleanup 2024-01-22 11:19:09 +01:00
Henrik Rydgård
0bf7a98aff Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming. 2024-01-22 11:06:50 +01:00
Henrik Rydgård
0e708367b5 Remove compileBlocked_ flag 2024-01-22 10:52:01 +01:00
Henrik Rydgård
6b5a4e3ba9 VulkanRenderManager: Move and rename some stuff to make the next change clearer 2024-01-22 10:50:07 +01:00
Henrik Rydgård
74f5be02a1 GameInfo: Try to reduce the locking a bit. 2024-01-18 22:52:56 +01:00
Henrik Rydgård
ce2163eb93 Vulkan MSAA: Avoid creating backbuffer renderpasses with the wrong sample count, oops 2024-01-17 21:41:04 +01:00
Henrik Rydgård
b5496851dc Vulkan: Semaphore-per-frame seems to be the way to go, according to the new validation layers. 2024-01-17 21:34:31 +01:00
Henrik Rydgård
6b20fdfb11
Merge pull request #18715 from hrydgard/more-beta-fixes
More beta fixes
2024-01-17 18:21:45 +01:00
Henrik Rydgård
cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård
2b6bb46a98 Vulkan: Minor descriptor write optimization, add some debug asserts 2024-01-17 11:08:16 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
7b738edfc9 Try to eliminate another shutdown deadlock (drain shader compile queue)
See #18705
2024-01-15 23:36:47 +01:00
Henrik Rydgård
8b282a5d79
Merge pull request #18701 from hrydgard/more-beta-crash-fixes
More beta crash fixes
2024-01-15 18:16:37 +01:00
Henrik Rydgård
a49073c6cd Remove debug logging 2024-01-15 17:38:17 +01:00
Henrik Rydgård
c1a7235767 Fix another shutdown race condition in the Vulkan backend 2024-01-15 17:06:00 +01:00
Henrik Rydgård
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
d0faf250b5 Remove unused async compute pipeline creation 2024-01-15 12:38:59 +01:00
Henrik Rydgård
0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Henrik Rydgård
56c797e7f6 Fix possible hangs in ManagedTexture destruction. Change a thread name. 2024-01-15 10:47:16 +01:00
Henrik Rydgård
52d05aaa27 GPU profiling: Count how many descriptors we manage to deduplicate. 2024-01-12 11:31:06 +01:00
Henrik Rydgård
b4fe03de8b Better solution, still pretty much optimal. 2024-01-10 18:14:59 +01:00
Henrik Rydgård
d0817c4c0a Vulkan: Fix trying to compare uninitialized parts of packed descriptors
Found by Valgrind.

Other minor cleanup, too.
2024-01-10 12:10:20 +01:00
Henrik Rydgård
de4c04efcb Ignore a couple of benign perf warnings 2023-12-30 10:54:27 +01:00
Henrik Rydgård
6de05f13f1 More barrier batching 2023-12-30 10:41:59 +01:00
Henrik Rydgård
b2f2e7356a Add new VulkanBarrierBatch 2023-12-30 10:41:59 +01:00
Henrik Rydgård
86ed9a9b89 Move code to cpp 2023-12-30 10:41:59 +01:00
Henrik Rydgård
484fbeb4cb Add end-of-init barrier 2023-12-30 10:41:59 +01:00
Henrik Rydgård
e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård
126d88ecfc Back out clearly inconsequential/useless .reserve() calls 2023-12-29 08:27:56 +01:00
Henrik Rydgård
28189dc738 Vulkan render queue runner: Count commands in debug builds, like the GL backend. 2023-12-20 15:26:41 +01:00
Henrik Rydgård
bbcaeb9d13
Merge pull request #18557 from GermanAizek/reserve-add
Using reserve in different places PPSSPP
2023-12-15 12:28:21 +01:00
Herman Semenov
b8748ae9e5 [Common/File/GPU/Render/Input] Using reserve if possible 2023-12-15 14:00:51 +03:00
Henrik Rydgård
06ba0027c7 Vulkan: Lift unmotivated restriction on texture size 2023-12-15 10:47:51 +01:00
Henrik Rydgård
43a2af46ee Fix error handling on texture creation failure 2023-12-15 10:47:20 +01:00
Henrik Rydgård
ed4941f416 Remove Vulkan (and Windows.h) include from DevScreens.cpp 2023-12-14 19:01:18 +01:00
Henrik Rydgård
d64b61010d
Merge pull request #18547 from GermanAizek/fix-render-state4
Fixed all set render state4 after DirectXState::Restore()
2023-12-14 16:40:18 +01:00
Herman Semenov
9b4cf5fad8 Fixed all set render state4 after DirectXState::Restore() 2023-12-14 17:55:54 +03:00
Henrik Rydgård
7634eba083
Merge pull request #18532 from dima-xd/adrenotools
Android: Implement custom driver loading for ARM64 Android devices
2023-12-14 15:54:24 +01:00
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
5a0d54be83 [Common/Data/GPU/Input/System/UI] Added const reference for function params 2023-12-14 14:21:11 +03:00
Dzmitry Dubrova
a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03:00
Herman Semenov
315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård
4c3f82da55 Remove ManagedTexture from HttpImageView 2023-12-12 22:44:03 +01:00
Henrik Rydgård
6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård
dde13b448f Use FastVec in VulkanBarrier 2023-12-07 17:30:18 +01:00
Henrik Rydgård
e2480b9fa0 D3D9: Apply a half-pixel offset in 2D shader draws. Makes Tantalus games less broken (but still broken) 2023-12-05 14:09:14 +01:00
Henrik Rydgård
81d741a5fe D3D9: Fix recent regression (crash) 2023-12-05 13:41:04 +01:00
Henrik Rydgård
bc4e8d4d47 Remove some remains of the old input attachment code 2023-12-04 14:50:02 +01:00
Henrik Rydgård
1f2dbfaf25 Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård
31c85ae0a5 Add the basics of a played-time tracker. 2023-11-26 19:15:38 +01:00