Philip Rebohle
d4f25c81be
[d3d11] Remove d3d11.maxImplicitDiscardSize option
2024-10-31 12:13:27 +01:00
Philip Rebohle
80fbaed291
Revert "[d3d11] Use existing MD5 hash to look up shader objects"
...
This reverts commit 800f71c4f53bb13276571b09fecf8c878eb7b9bd.
We can't do this without breaking fossilize DBs because we compile the
SHA1 hash into the shader binary.
2024-10-27 12:53:11 +01:00
Philip Rebohle
640758afcf
[util] Enable mapped memory clearing for Vindictus
2024-10-27 02:43:58 +02:00
Philip Rebohle
e9574a4155
[dxvk] Add utility function to clear large regions of memory
2024-10-27 02:43:58 +02:00
Philip Rebohle
1c157d1a63
[util] Properly return reference from small_vector emplace_back
2024-10-24 12:31:18 +02:00
Philip Rebohle
800f71c4f5
[d3d11] Use existing MD5 hash to look up shader objects
...
Skips the expensive SHA-1 pass.
2024-10-23 16:56:32 +02:00
Blisto91
24e0440043
[util] Remove The Old Republic config
...
Looks fine without since dxvk 2.0
2024-10-23 11:19:01 +02:00
Blisto91
f813549ced
[util] Set forceSamplerTypeSpecConstants for Alpha Protocol
...
Some objects like metal containers will have unwanted reflection when they shouldn't otherwise.
2024-10-22 11:34:02 +02:00
Philip Rebohle
863ce5f117
[dxvk] Move DxvkAccess{Flags} to separate file
2024-10-18 12:42:33 +02:00
Philip Rebohle
43355ecd73
[dxvk] Optimize small_vector reallocation code
2024-10-18 12:42:33 +02:00
Philip Rebohle
0249193403
[util] Avoid locking fence objects on wait if target value was reached
2024-10-16 20:57:50 +02:00
Philip Rebohle
de65e06831
[dxvk] Do not try to reset pointer in Rc destructor
...
This gets optimized away in release builds.
2024-10-15 11:48:51 +02:00
Blisto91
98fa338be0
[util] Move Far Cry 2 config to d3d9 section
2024-10-14 18:39:02 +02:00
Blisto91
b707ca1309
[util] Enable memoryTrackTest for Secret World Legends
...
Otherwise d3d9 mode thinks we only have 512MB vram which will lock the higher graphics presets.
2024-10-14 18:39:02 +02:00
WinterSnowfall
b99012d332
[d3d9] Adjust matrix inversion boundary
2024-10-13 11:09:13 +00:00
Philip Rebohle
458b8e3b41
[util] Add missing includes small_vector
...
Fixes #4357 .
2024-10-13 12:29:12 +02:00
Philip Rebohle
4635397bb1
[dxvk] Implement sampler pool
...
Deduplicates redundant sampler objects and makes sampler creation
as well as lifetime tracking a bit more efficient.
2024-09-28 20:21:06 +02:00
Philip Rebohle
5f9f43e658
[util] Add helpers to encode or decode fixed-point numbers
2024-09-28 20:21:06 +02:00
Philip Rebohle
5263307c4a
[dxvk] Improve lifetime tracking logic
...
Reduces ref counting overhead on the CS thread a bit.
2024-09-26 17:37:50 +02:00
Philip Rebohle
7ec75aaf81
[util] Make likely/unlikely less annoying to use
2024-09-26 17:37:50 +02:00
Philip Rebohle
888906a6da
[util] Add some functionality to smart pointer
...
Basically lets us deal with objects that manage their own destruction,
which ideally shold be all of them at some point.
Also adds some missing comparison operators.
2024-09-26 17:37:50 +02:00
Philip Rebohle
1eec969448
[util] Add 64-bit lzcnt
2024-09-26 13:13:48 +02:00
WinterSnowfall
97091aad39
[util] Enable legacy DISCARD for Rayman 3
2024-09-26 06:48:13 +02:00
琴梨梨OvO
bb6d1b3b4c
[util]Add support for Time Leap Paradise
2024-09-25 19:54:24 +02:00
Blisto91
5a08b3c451
[util] Cap fps for F.E.A.R 1 & expansions
...
Visual glitches can occur at very high fps
2024-09-22 21:07:08 +02:00
Blisto91
e687303197
[util] Cap Prince of Persia (2008) max fps
...
Game can get stuck when loading at very high fps
2024-09-22 17:47:51 +02:00
Robin Kertels
80e950ac32
[util] Fix small_vector move
...
... again. We can only move over the ptr
if the other small_vector has MORE than N
elements, otherwise it will still use the local array.
2024-09-20 01:20:25 +02:00
Robin Kertels
2f9ce66879
[util] Fix small_vector move constructor
2024-09-19 20:56:09 +02:00
Blisto91
11ec603540
[util] Enable cachedDynamicBuffers for Battle Mages
...
Helps CPU bound performance
2024-09-18 00:25:05 +02:00
Paul Gofman
758dc805bb
[dxgi] Prevent recursive fullscreen mode change.
2024-09-18 00:19:56 +02:00
WinterSnowfall
0a2f2275da
[d3d8] Add a framecap for Chrome: Gold Edition
2024-09-14 23:52:20 +02:00
Kacper Michajłow
26a14c5175
[util] Fix GetEnvironmentVariableW usage
2024-09-12 00:04:49 +02:00
WinterSnowfall
3e26958906
[util] Add a framecap for Pandora Tomorrow
2024-09-12 00:02:34 +02:00
Philip Rebohle
565ec7e0d3
[dxvk] Remove dxvk.maxChunkSize option
2024-09-09 18:45:34 +02:00
WinterSnowfall
63506ee1ff
[util] Enable cachedDynamicBuffers for Steel Soldiers and FIFA 2003
2024-09-08 19:26:46 +02:00
Billy Laws
9077e5212d
[util] Use cdecl calling convention for __wine_dbg_output
...
This matches wine's definition, fixes crashes when wine is built with clang.
Since __cdecl isn't defined for non-windows targets ifdef this needs all
dbg callback uses to be ifdefed out.
2024-09-07 19:44:36 +02:00
Philip Rebohle
427e706a40
[util,d3d11] Be more robust against use-after-free
...
Sims 4 binds an SRV after destroying it, so we need to ensure our internal
view pointers are null or we'll create a problem otherwise.
2024-09-02 22:03:26 +02:00
Philip Rebohle
04d558cf2e
[util] Make frame rate limiter enablement heuristic more robust
...
Allow for more buffering to happen in order to not enable the limiter
too eagerly.
2024-09-02 17:50:47 +02:00
Tiagoquix
d31b7997c0
[util] Enable cachedDynamicBuffers for APB:Reloaded
...
Fixes frametime jumps when shooting.
Discussed on the Discord server.
2024-08-30 20:27:05 +02:00
MickAlmighty
8c58bef9cf
[util] Hide Intel for Kena: Bridge of Spirits to skip faulty water rendering path.
2024-08-30 17:39:21 +02:00
Robin Kertels
a5fc08d176
[util] Disable direct buffer mapping for Max Payne 1
...
Improves performance by avoiding stalls.
2024-08-30 00:37:58 +02:00
Robin Kertels
9a280b063a
[util] Set maxDeviceMemory for GTA IV
...
... and replace emulateUMA
2024-08-24 19:05:44 +02:00
Philip Rebohle
d89e324bc4
[util] Remove obsolete Metro Exodus EE config
...
No longer necessary or useful.
2024-08-20 13:33:04 +02:00
Philip Rebohle
71e44b380d
[util] Enable context lock for EDF6
...
May or may not fix random crashing.
2024-08-15 20:55:17 +02:00
Philip Rebohle
1e5b78e8ea
[d3d9] Enable longMad behaviour by default
...
And remove the respective config option.
2024-08-14 22:15:50 +02:00
Philip Rebohle
60e04503a6
[d3d11] Enable longMad/longDot behaviour by default
...
And remove the respective config options.
2024-08-14 22:15:50 +02:00
Philip Rebohle
0d0b9eaac1
[util] Enable d3d11.longDot for Trails through Daybreak
2024-08-11 18:30:59 +02:00
Blisto91
7c9e1ed7cd
[util] Set maxChunkSize to 1 for Epic Games Launcher
...
Also move up Battle.net so the launchers are grouped
2024-08-03 14:57:36 +02:00
Blisto91
e2b823b760
[util] Enable cachedDynamicBuffers for Art of Murder
...
Horrible CPU bound perf
2024-07-31 18:34:39 +02:00
Blisto91
1077d6a67f
[util] Set textureMemory to 0 for Operation Racoon City
...
Works around a crash
2024-07-30 09:15:28 +02:00