Billy Laws
072b8193a1
Implement thread pool based async pipeline compilation with futures
...
By distributing the load of shader compiling onto multiple threads and then only waiting for completion until absolutely neccessary we can reduce compilation stutters significantly.
2022-12-22 18:05:45 +00:00
Billy Laws
186549748d
Implement HelperShader-local pipeline cache and use dynamic state
...
Avoids the heavy overhead of the VK pipeline cache when we really only have a few bits of non-dynamic state
2022-12-22 18:05:45 +00:00
Billy Laws
9115b8cae8
Properly hash dynamic states in pipeline cache
2022-12-22 18:05:45 +00:00
Billy Laws
7c4b4765bf
Reduce thresholds for slot increase and buffer/texture fast readback
2022-12-22 18:05:45 +00:00
Billy Laws
f32ab1feff
Include BS thread pool library
2022-12-22 18:05:45 +00:00
Billy Laws
ce428af2e6
Use attachment formats rather than views in VK pipeline cache
2022-12-22 18:05:45 +00:00
Billy Laws
e849264028
Abstract out pipeline-compile-time GPU state accesses
...
Introduces the base abstractions that will be used for pipeline caching, with a 'PipelineStateBundle' that can be (de)serialised to/from disk and an abstract accessor class to allow switching between creating disk-cached pipelines and fresh ones.
2022-12-22 18:05:45 +00:00
Billy Laws
2e96248fb6
Track RT format info in PackedPipelineState and move VK conv code there
...
When caching pipelines we can't cache whole images, only their formats so refactor PackedPipelineState so that it can be used for pipeline creation, as opposed to passing in a list of attachments.
2022-12-22 18:05:45 +00:00
Billy Laws
bc7e1eb380
Split-out hash from ShaderBinary struct
...
This isn't necessary for pipeline creation and creates some difficulty with pipeline caching.
2022-12-22 18:05:45 +00:00
Dima
de10ab1219
Stub SetConnectionConfirmationOption
2022-12-18 20:34:55 +00:00
Dima
f3b2b4317e
Stub some IPrepoService calls
2022-12-18 20:34:55 +00:00
Dima
efef67b92b
Stub some IAudioDevice calls
2022-12-18 20:34:55 +00:00
Dima
3a94bcf692
Fix ListOpenContextStoredUsers stub
...
The problem is in StoreOpenContext wasn't storing any user, but ListOpenContextStoredUsers was writing default user (when it's not stored by StoreOpenContext)
2022-12-18 20:34:55 +00:00
TheASVigilante
3c5f8dd876
Fix small typo
2022-12-18 14:49:54 +00:00
lynxnb
6599c1dccf
Stub GyroscopeZeroDriftMode
...
Related service calls are called in a loop by SM3DW. A variable tracking zero drift mode has been added to `npad_device`, but it's unused at the moment.
2022-12-10 14:59:44 +00:00
Dima
dcc3047ba8
Stub ErrorCommonArg
2022-12-10 14:58:20 +00:00
Dima
68253fe995
Stub mii:e/mii:u
...
Needed for SSBU
2022-12-10 14:58:20 +00:00
Dima
69ee3cfc66
Stub DeleteDirectory
...
Should allow deleting/rewriting saves in some games
2022-12-10 14:58:20 +00:00
Dima
bbd34ae7e7
Validate if entries are not empty before using
...
Should fix saving problem in Baldur's Gate: Dark Alliance II at least
2022-12-10 14:58:20 +00:00
Dima
5f510d84d7
Stub IsVibrationPermitted
2022-12-10 14:58:20 +00:00
Dima
51d1f519af
Stub ListDisplays
2022-12-10 14:58:20 +00:00
Dima
a3866a3129
Stub LibraryAppletShop
2022-12-10 14:58:20 +00:00
Dima
1ebec7db82
Stub GetImageSize and LoadImage
2022-12-10 14:58:20 +00:00
Dima
52c4228ecf
Stub some friends service calls
...
Needed for Diablo 3
2022-12-10 14:58:20 +00:00
Dima
ebcbc5b05b
Validate NpadId for ActivateVibrationDevice
2022-12-10 14:58:20 +00:00
Dima
4bdd033354
Stub SetRecordVolumeMuted
2022-12-10 14:58:20 +00:00
Dima
f6d95aae01
Stub GetCacheStorageSize
2022-12-10 14:58:20 +00:00
Dima
4ab8699cd4
Stub ImportServerPki
2022-12-10 14:58:20 +00:00
Dima
41cf4bb12d
Stub GetLanguageCode
2022-12-10 14:58:20 +00:00
Dima
3e078d54b6
Stub GetIdleTimeDetectionExtension
2022-12-10 14:58:20 +00:00
Dima
2311f777fc
Stub IsCpuOverclockEnabled
2022-12-10 14:58:20 +00:00
Dima
4601c28c28
Stub GetCurrentIpAddress
2022-12-10 14:58:20 +00:00
Dima
18e6a6c53c
Stub DeclareOpenOnlinePlaySession and DeclareCloseOnlinePlaySession
2022-12-10 14:58:20 +00:00
Dima
150c1370c2
Stub some IApplicationFunctions funcs
2022-12-10 14:58:20 +00:00
Dima
a6f3aa3062
Stub TrySelectUserWithoutInteraction and ListQualifiedUsers
2022-12-10 14:58:20 +00:00
Dima
5a9a2861df
Add TitleId TextView in App Dialog
2022-12-10 14:57:46 +00:00
Abandoned Cart
b08fcd7027
Favor a predefined "click" over system vibration
2022-12-10 14:57:33 +00:00
Abandoned Cart
cfd3bfecba
Add a rudimentary OSC button vibration setting
2022-12-10 14:57:33 +00:00
Billy Laws
7c802aea46
Mark vertex buffers as dirty on limit changes
2022-12-03 22:50:56 +00:00
Billy Laws
df19810c6c
Always set vertex stride for unbound buffers
2022-12-03 22:50:56 +00:00
Billy Laws
f4f658e3b7
Fix typo
2022-12-03 22:50:56 +00:00
Billy Laws
45b10ef776
Return whole mapping for shader code when end instrs aren't found
2022-12-03 22:50:56 +00:00
Billy Laws
d849875656
Only unlock GPU channel state on queue wait if it was previously locked
2022-12-03 22:50:56 +00:00
Billy Laws
a5e0a64adc
Switch patch error logs to debug
2022-12-03 22:50:56 +00:00
Billy Laws
af7c54297f
Cache staging buffer used for texture download
2022-12-03 22:50:56 +00:00
Billy Laws
8c5e6d2bb4
Update VKMA
2022-12-03 22:50:56 +00:00
Billy Laws
bba07fb101
Update for new hades
2022-12-03 22:50:56 +00:00
Billy Laws
a16383fd4b
Disable compute shaders on mali
...
This will need to be debugged properly at some point but its fine for now.
2022-12-03 22:50:56 +00:00
Billy Laws
d69c6851f3
Update hades
2022-12-03 22:50:56 +00:00
Billy Laws
137d801843
Skip host1x HW emulation and effectively stub submission
...
This was causing a bunch of logspam and isn't really needed as we will be using a HLE approach.
2022-12-03 22:50:56 +00:00