Commit Graph

3992 Commits

Author SHA1 Message Date
Henrik Rydgård
3d949b080d Prepare VulkanDescSetPool for block allocation 2023-10-10 09:14:10 +02:00
Henrik Rydgård
9fdc7e2372 Address feedback 2023-10-10 09:02:35 +02:00
Henrik Rydgård
b38b46df0f Update comments 2023-10-10 09:02:35 +02:00
Henrik Rydgård
2b0192d818 Have FrameData structs for each pipeline layout, instead of multiple arrays 2023-10-10 09:02:35 +02:00
Henrik Rydgård
397745ce14 Remove unused code 2023-10-10 09:02:35 +02:00
Henrik Rydgård
8a4d84d82b Simplest possible de-duplication of descriptor set writes 2023-10-10 09:02:35 +02:00
Henrik Rydgård
018e4ee1d6 Show the desc set write time even in the limited GPU profiler. 2023-10-10 09:02:34 +02:00
Henrik Rydgård
84f9c1694f Better logging in descpool 2023-10-10 09:02:21 +02:00
Henrik Rydgård
f0ee3b8daa Fill in descriptors on the render thread in the PPSSPP UI. 2023-10-10 09:00:29 +02:00
Henrik Rydgård
8c821893f1 Android: Fix crashes on screen rotation 2023-10-09 18:24:43 +02:00
Henrik Rydgård
bb38210cfb We somehow lost the usage_ counter increment in VulkanDescSetPool, fix that 2023-10-09 17:01:35 +02:00
Henrik Rydgård
316bc03ac9 Move the destroy function for VKRPipelineLayout to VulkanRenderManager 2023-10-09 11:54:13 +02:00
Henrik Rydgård
03328638b1 Typo fix, reorder 2023-10-08 13:39:04 +02:00
Henrik Rydgård
28ed12aa93 Simplify descriptor pool creation 2023-10-08 12:39:19 +02:00
Henrik Rydgård
88a50575c7 Wrap pipeline layout creation, use in thin3d
Two more types
2023-10-08 12:39:18 +02:00
Henrik Rydgård
dbe395dd00 Add a wrapper around VKRPipelineLayout / descsetlayout 2023-10-08 12:39:18 +02:00
Henrik Rydgård
34fbbf2c2a Split out the descriptorset pool from VulkanMemory.cpp/h 2023-10-08 11:45:00 +02:00
Henrik Rydgård
5711259b86 Declare the back depth buffer as "transient". Allows allocating no memory for it on tiled GPUs.
We can't do the same for other depth buffers as we often need to
preserve them between passes.
2023-10-06 15:40:13 +02:00
Henrik Rydgård
931ff4eb1e Guaranteed gap-free rendering of waves background 2023-10-04 17:07:55 +02:00
Henrik Rydgård
b2f97d5934 Add support for using %1 and %2 in some more translation strings.
Requested in #18306
2023-10-04 14:36:42 +02:00
Unknown W. Brackets
847a87f164 UI: Fix crash on input with no screens. 2023-09-30 15:31:00 -07:00
Henrik Rydgård
aedd51f2f6
Merge pull request #18272 from hrydgard/ui-event-enum
Change global UI messages to use an enum instead of strings.
2023-09-30 13:43:32 +02:00
Henrik Rydgård
19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
2a4d21e53b
Merge pull request #18241 from hrydgard/ini-rewrite
Optimize IniFile for faster save/load of config
2023-09-30 11:26:04 +02:00
Henrik Rydgård
8eefb9f935
Merge pull request #18251 from hrydgard/remove-extra-event-filtering
Control: Remove the axis event dupe filtering, batch events deeper
2023-09-29 13:21:12 +02:00
Henrik Rydgård
ee93e4a2ca Batch axis events all the way into ControlMapper 2023-09-29 11:14:19 +02:00
Henrik Rydgård
b3a2b7a35c Batch axis events coming into the ScreenManager 2023-09-29 11:10:32 +02:00
Henrik Rydgård
1a5d5452fe Batch axis events to the VR code 2023-09-29 11:10:32 +02:00
Henrik Rydgård
b3be6db3ae Remove (probably) unnecessary special case for axis value = 0. 2023-09-29 11:10:32 +02:00
Henrik Rydgård
265a9021fd Control: Remove the axis event dupe filtering from ScreenManager
It's better to have the event sources pre-filter, and most of them now
do that.
2023-09-29 11:10:32 +02:00
Henrik Rydgård
ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård
b8fa3a2071
Merge pull request #18125 from unknownbrackets/arm64-vertexjit
arm64jit: Optimize weight loading a bit
2023-09-29 09:52:56 +02:00
Henrik Rydgård
6063e30fd4 Correct the subpass dependencies for the backbuffer to pass validation. 2023-09-27 16:56:59 +02:00
Henrik Rydgård
ca4ee83038 Vulkan: Add debug names to renderpasses 2023-09-27 16:56:57 +02:00
Henrik Rydgård
b5c4b2c3f7 Add a missing comment 2023-09-27 12:31:17 +02:00
Henrik Rydgård
3d14cd16eb Add a null check in PopupMultiChoice::UpdateText 2023-09-27 12:31:17 +02:00
Henrik Rydgård
c28dc9e4f2 Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis 2023-09-27 11:34:31 +02:00
Henrik Rydgård
2bd2292bac With string_view, stripping whitespace can be done without allocs. 2023-09-26 13:19:19 +02:00
Henrik Rydgård
20e703db83 Simplify string-view-equal-case-insensitive comparisons 2023-09-26 10:11:52 +02:00
Henrik Rydgård
41f4c08d17 Replace the internal representation of IniFile with ParsedIniLine. 2023-09-26 10:07:14 +02:00
Henrik Rydgård
daa1bc3c6e Introduce "ParsedIniLine" 2023-09-26 10:07:10 +02:00
Henrik Rydgård
9fffa33eee
Merge pull request #18234 from unknownbrackets/x86-ir-transfer
x86jit: Perform vector transfers instead of flushing to memory
2023-09-26 09:28:05 +02:00
Henrik Rydgård
42fcd399f4 Restore the ReadyForFence flag. Some paranoia probably 2023-09-26 02:00:22 +02:00
Henrik Rydgård
4d465678cd GL: Add resilience to delete-null bugs (but assert in debug builds) 2023-09-26 00:49:59 +02:00
Henrik Rydgård
db245e1b34 Fix old texture leak in GLES hardware tessellation 2023-09-26 00:38:11 +02:00
Hoe Hao Cheng
28edae016e SDL: fallback to atlas if SDL2_ttf is <2.0.18 2023-09-25 10:07:30 +08:00
Unknown W. Brackets
d9f6bae1ff x64jit: Initial reg transfer. 2023-09-24 16:28:29 -07:00
Henrik Rydgård
546f9d7743 Some cleanups and fixes to obscure crashes 2023-09-24 13:05:25 +02:00
Henrik Rydgård
d31ba393af Don't load the shader cache on a separate thread - all it does is already async 2023-09-24 10:53:23 +02:00
Henrik Rydgård
964f606a9c Fix some issues around geometry shaders - like, loading them from shader cache while disabled 2023-09-24 01:29:38 +02:00
Unknown W. Brackets
4a2cd1bb7b http: Fix errors on connect. 2023-09-23 13:05:01 -07:00
Henrik Rydgård
6a8f65b566 Some assert paranoia, remove unused "failed_" variable 2023-09-23 10:09:32 +02:00
Henrik Rydgård
949f746f96 Add time-elapsed to assert messages
Just a crude thing to easily see if a crash is from just starting a game
or later.
2023-09-23 08:53:59 +02:00
Henrik Rydgård
755648c997 Don't use std::move in dirlisting, see #18192 2023-09-22 10:09:10 +02:00
Henrik Rydgård
602407fcf2 Warning and comment fixes, logic precedence fixes in PPGeDraw 2023-09-21 16:41:42 +02:00
Henrik Rydgård
3aed81d51b
Merge pull request #18170 from hch12907/sdl-ttf
ci: use pkgconfig as a fallback for finding SDL2_ttf
2023-09-21 13:45:52 +02:00
Henrik Rydgård
cdffce8ce0
Merge pull request #18186 from hrydgard/remove-unhelpful-assert
Vulkan: Remove an assert that didn't give much actionable information
2023-09-21 09:15:00 +02:00
Henrik Rydgård
2e171b22ec Vulkan: Remove an assert that didn't give much actionable information. Replace with reporting. 2023-09-20 22:50:38 +02:00
Henrik Rydgård
2648cd0eee Store: Fix race condition causing crashes if looking at another game before an icon finishes downloading 2023-09-20 21:49:17 +02:00
Henrik Rydgård
3783afd855 Fix a really bad race condition during game shutdown. 2023-09-20 18:47:32 +02:00
Henrik Rydgård
b8353c6273 Add a commented-out torture test for a shader race condition 2023-09-20 18:47:32 +02:00
Henrik Rydgård
5c94b41dde Vulkan: If a createimageview failed, don't leak the image. Probably very rare. 2023-09-20 18:47:32 +02:00
Hoe Hao Cheng
b768210797 ci: use pkgconfig as a fallback for finding SDL2_ttf 2023-09-19 00:51:19 +08:00
Henrik Rydgård
0bfd166200 Try to prevent a weird shutdown race condition that I'm not sure can happen - but crash logs show it 2023-09-18 16:45:07 +02:00
Henrik Rydgård
3c810521e2 TextureBatch tiny optimization: Use vector.reserve 2023-09-18 14:49:13 +02:00
Henrik Rydgård
8f88442343 SDL ttf rendering: Try two 4444 tex formats to find one that works. 2023-09-18 11:48:28 +02:00
Henrik Rydgård
388a34cdf1 HTTPClient: On Windows, we have to permit connect to "fail" with an errno of 0. Wacky. 2023-09-17 22:40:29 +02:00
Henrik Rydgård
33ab45557a remove redundant log 2023-09-17 17:39:17 +02:00
Henrik Rydgård
377892bc22 Improve logging 2023-09-17 17:37:45 +02:00
Henrik Rydgård
24bc0b067b Don't leak the sockets that won't connect 2023-09-17 17:23:58 +02:00
Henrik Rydgård
0421607c00 Fix HTTP connect on linux (need to ignore failed connections in the select) 2023-09-17 17:19:24 +02:00
Henrik Rydgård
e829c97d7e
Merge pull request #18154 from GermanAizek/excess-cstr
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 16:53:21 +02:00
German Semenov
c498a42e92 Core, UI, Windows: Removed excess converting C-string in params 2023-09-15 13:54:11 +03:00
Henrik Rydgård
e8289f929f
Merge pull request #18152 from hrydgard/minor-stuff
Fix a valgrind warning
2023-09-15 12:19:16 +02:00
German Semenov
c27481d637 GPU, VFS, UI: Fixed minor memleaks 2023-09-15 12:23:54 +03:00
Henrik Rydgård
d15001b5d3 Check the return value of fread to avoid warning 2023-09-15 11:21:07 +02:00
Henrik Rydgård
be65cf0fc2 Assert improvements 2023-09-12 17:15:26 +02:00
Henrik Rydgård
4df4adb936 Fix closing the chat window with ESC, see #18134 2023-09-11 17:37:50 +02:00
Henrik Rydgård
ec33bcfce3 Turn the debug assert in BindPipeline into a proper one to try to get some more context in the logs
Shouldn't be too expensive.
2023-09-11 16:57:38 +02:00
Henrik Rydgård
875112e9c2 Improve an assert 2023-09-11 14:18:55 +02:00
Henrik Rydgård
10f93875c6 Fix the semantics of DenseHashMap to be consistent even when inserting nulls 2023-09-11 12:07:18 +02:00
Henrik Rydgård
5fcca7d9f5 Fix customization of Leaderboard Submitted events.
See #17631
2023-09-11 10:47:59 +02:00
Henrik Rydgård
43e792fb71 Move RetroAchievements to the Tools tab. 2023-09-11 10:47:34 +02:00
Unknown W. Brackets
00e691d633 arm64jit: Try shifted MOVI in MOVI2FDUP().
Any penalty from int/float or size change should be less than GPR load.
2023-09-10 23:04:15 -07:00
Henrik Rydgård
5547fe2107 Add missing mutex lock in ScreenManager::RecreateAllViews 2023-09-11 00:31:59 +02:00
Henrik Rydgård
c343c194ff Early-outs in IconCache 2023-09-11 00:31:41 +02:00
Henrik Rydgård
626d901441 OpenGL: Fix hang that mostly happened when buffered commands == off 2023-09-11 00:30:52 +02:00
Henrik Rydgård
6eba885955 Slight OSD message duration tweak. 2023-09-08 12:33:00 +02:00
Henrik Rydgård
7b9e03ef4a
Merge pull request #18103 from unknownbrackets/arm64jit-more
Implement the remaining arm64jit IR ops
2023-09-08 09:59:47 +02:00
Henrik Rydgård
c43cbe4f14
Merge pull request #18102 from hrydgard/kernel-printf
New logging channel "PRINTF" for SceKernelPrintf
2023-09-08 09:35:04 +02:00
Unknown W. Brackets
7a5cdafdf3 arm64jit: Implement convert/int conversions. 2023-09-08 00:03:12 -07:00
Unknown W. Brackets
c523273d51 arm64jit: Implement vector unpacks. 2023-09-08 00:03:12 -07:00
Henrik Rydgård
6cb2c0dc59 KERNELPRINTF->PRINTF, NOTICE->INFO 2023-09-08 08:40:54 +02:00
Henrik Rydgård
2e22fbdb8e
Merge pull request #18101 from unknownbrackets/android-run-tests
Android: Fix developer tools -> run tests
2023-09-08 08:34:34 +02:00
Henrik Rydgård
ce4ee78157
Merge pull request #18099 from unknownbrackets/include-guards
Build: Add some missing include guards.
2023-09-08 08:33:53 +02:00
Henrik Rydgård
0a234df037
Merge pull request #18089 from unknownbrackets/arm64jit-float
arm64jit: Implement VFPU compare, trig, couple others
2023-09-08 08:33:22 +02:00
Unknown W. Brackets
9cc266b0e7 Android: Fix developer tools -> run tests. 2023-09-07 17:36:41 -07:00
Unknown W. Brackets
5617d08620 arm64jit: Remove unused variable. 2023-09-07 17:26:30 -07:00
Unknown W. Brackets
cec9dbbdf7 Build: Add some missing include guards. 2023-09-07 17:14:58 -07:00
Nemoumbra
90cd9d4c68 New logging channel "KERNELPRINTF" for SceKernelPrintf 2023-09-08 00:34:26 +03:00