Commit Graph
761 Commits
Author SHA1 Message Date
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årdandGitHub 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årdandGitHub 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årdandGitHub 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 SemenovandHenrik Rydgård 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 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 d891aaf9cd Remove code that pretended that we supported multiple vertex streams
Don't really see that we'll have much use for this feature, so simplify
it away. Only single vertex stream data is now supported by the thin3d
API.
2023-11-13 01:15:28 +01:00
Henrik Rydgård dd032dc533 Delete two unused structs 2023-11-11 10:55:54 +01:00
Henrik Rydgård ac93419331 Merge the 1.16.6 branch into master
Also deletes some unused code.
2023-10-13 11:00:11 +02:00
Henrik RydgårdandGitHub a196c5e7d4 Merge pull request #18351 from hrydgard/shutdown-fixes-better
Better fix for shutdown crash
2023-10-13 02:31:00 +02:00
Henrik Rydgård 6357b95ff5 Better version. 2023-10-12 23:33:54 +02:00
Henrik Rydgård f301035ba0 Step 1 2023-10-12 23:28:44 +02:00
Henrik Rydgård 6dbe49775c Add a sysprop for IsDebuggerPresent. 2023-10-12 11:58:04 +02:00
Henrik Rydgård a507563708 Remove the exit-game sync again.
It's not actually needed until some of the additions made on master, and
in that case, I'm going to change the solution again.
2023-10-12 10:14:19 +02:00
Henrik Rydgård 2c751d39f8 Vulkan: Add simple delete count to GPU profiler, to make sure we don't have more resource churn
Also fix the render pass type name lookup table.
2023-10-12 09:02:45 +02:00
Henrik Rydgård 028c7c3ea8 Android: Fix crashes on screen rotation 2023-10-11 16:44:30 +02:00
Henrik Rydgård d60c9a015f Vulkan: Fix synchronization when shutting the GPU down in-game. 2023-10-11 12:49:33 +02:00
Henrik Rydgård f769b2c8a3 Remove unused functionality from descpool 2023-10-11 12:29:57 +02:00
Henrik Rydgård 0ad2827e14 Vulkan: Fix synchronization when shutting the GPU down in-game. 2023-10-11 12:27:39 +02:00
Henrik Rydgård 183d49329a Allow writing directly into the packed descriptor buffer, saving a memcpy. 2023-10-11 11:02:17 +02:00
Henrik Rydgård f931f85d57 Fix outdated renderpass name lookup table (debug info) 2023-10-11 10:34:20 +02:00
Henrik Rydgård 2ac14f555d Remove VulkanPushBuffer (keeping our newer replacement VulkanPushPool) 2023-10-11 09:06:24 +02:00
Henrik Rydgård c362c159d7 VulkanDescSetPool: Don't forget to increment usage 2023-10-10 19:14:19 +02:00
Henrik Rydgård 8ebc08185b Allocate descriptors in blocks of 8 instead of individually, to reduce overhead. 2023-10-10 10:17:56 +02:00
Henrik Rydgård 3b22d1248e Fix for Vulkan on 32-bit devices, oops. 2023-10-10 10:10:12 +02:00
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