Robin Kertels
ea13a68678
[util] Enable apitrace mode for Everquest
2020-12-26 17:37:07 +00:00
Robin Kertels
56399e49d1
[util] Enable apitraceMode for Tomb Raider Legend
2020-12-14 16:51:19 +00:00
PendingChaos
495b2a098e
[util] Set invariantPosition for Monster Hunter World ( #1850 )
...
Fixes flickering on GFX10.3 with RADV/ACO.
2020-12-11 18:51:10 +01:00
Joshua Ashton
5d8539672d
[util] Fix config for EverQuest2
2020-11-27 06:27:01 +00:00
Joshua Ashton
bbfd6d0690
[util] Enable alpha test wiggle room for EverQuest 2
...
Fixes clothing being alpha tested incorrectly due to wonky interpolation on NVIDIA.
Game uses oC0 == 1.0f
My testing on NV shows the alpha test has a precision of 1/256 for all A8 and below formats, and around 1 / 2048 for A32F formats and 1 / 4096 for A16F formats (It makes no sense to me too) so anyway, we're just going to round this to a precision of 1 / 4096 and hopefully this should make things happy everywhere.
Closes : #1832
2020-11-26 12:16:33 +00:00
Shawn M. Chapla
7ef6132cf0
[util] Use nvapiHack by default for Far Cry Primal ( #1821 )
...
Remove nvapiHack=False default override for Far Cry Primal as the game
is unplayable without an nvapi implementation and appears to now perform
fine with nvapiHack.
Co-authored-by: Shawn M. Chapla <schapla@codeweavers.com>
2020-11-18 10:12:40 +01:00
Rhys Perry
4251b7a59c
[util]: Set enableRtOutputNaNFixup for Art of Rally
...
Fixes the (Windows) Art of Rally demo.
See https://gitlab.freedesktop.org/mesa/mesa/-/issues/3562
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
2020-10-06 15:57:07 +02:00
Samuel Pitoiset
ccb782219c
[util] Set enableRtOutputNanFixup for some Chilla's Art games
...
See ValveSoftware/Proton#4167
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2020-09-26 16:45:49 +02:00
Samuel Pitoiset
3487685a79
[util] Set enableRtOutputNaNFixup for The Dungeon of Naheulbeuk
...
Fixes rendering issues with RADV and AMDVLK (haven't tried -pro).
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2020-09-26 15:06:29 +02:00
ishitatsuyuki
bb85a4caa8
Handle non-ASCII characters properly in paths
2020-09-10 15:56:38 +02:00
Philip Rebohle
645c8f8177
[util] Add option to disable log files entirely
...
But still log to stderr. Fixes #1743 .
2020-08-24 09:09:18 +02:00
Philip Rebohle
2a0f10e611
[util] Enable apitrace mode for Monster Hunter World
2020-08-13 18:52:45 +02:00
Philip Rebohle
346197c8c1
[util] Enable apitrace mode for Darksiders Warmastered Edition
...
Fixes #1719 .
2020-08-12 23:39:53 +02:00
Kevin Schmidt
9f6f6a7979
[util] Enable d3d9.memoryTrackTest for Anarchy Online
...
Prevents the game from consuming all system memory.
Signed-off-by: Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
2020-08-07 11:11:05 +01:00
Joshua Ashton
e7d9d4739a
[util] Fix trace macro for functions with no args
2020-08-07 10:56:26 +01:00
Joshua Ashton
aa01d914f1
[util] Implement METHOD_NAME for _MSC_VER
2020-08-07 10:56:26 +01:00
Jason Bagavatsingham
145d8225f4
[util] Set enableRtOutputNaNFixup for Observation
2020-08-06 14:14:49 +02:00
ryester27
d88b792447
Use d3d9.deferSurfaceCreation for Fairy Tail
2020-08-04 04:29:57 +02:00
Christopher Egert
76e3bb78c9
[util] Disable DF24 support for Borderlands 2
...
and The Pre Sequel!
2020-07-20 18:41:40 +01:00
Gregor Münch
4ac9dcf855
[util] Enable d3d11.invariantPosition for Mafia III: Definitive Edition
2020-07-05 17:37:13 +02:00
Samuel Pitoiset
c4f37d3981
[util] Enable d3d11.invariantPosition for Star Wars Jedi: Fallen Order
...
Seems to resolve https://gitlab.freedesktop.org/mesa/mesa/-/issues/2706#note_538316
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2020-06-18 13:40:24 +02:00
Rhys Perry
cd0a21dda5
[util] Enable d3d11.invariantPosition for Terminator: Resistance
...
Seems to resolve https://gitlab.freedesktop.org/mesa/mesa/-/issues/2608
2020-06-12 17:58:30 +02:00
Rhys Perry
0a486bd975
[util] Enable d3d11.invariantPosition for Borderlands 3
...
Seems to resolve https://gitlab.freedesktop.org/mesa/mesa/-/issues/2608
2020-06-12 17:58:30 +02:00
Philip Rebohle
51bd84368c
[util] Disable relaxed barrier option for RE7
...
Introduces lighting glitches in some places.
2020-06-11 22:06:53 +02:00
Samuel Pitoiset
86c53bb9e6
[util] Set enableRtOutputNaNFixup for Stars End
...
To fix output NaNs that introduce glitches with RADV.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2020-06-09 16:08:16 +02:00
Joshua Ashton
86e8315416
[d3d9] Revert Nekopara hacks
2020-06-05 23:15:10 +01:00
Joshua Ashton
326f6c26cb
[util] Enable forceSamplerTypeSpecConstants for all of the games in the Spellforce 2 seires
2020-06-05 02:36:17 +01:00
Joshua Ashton
b658cae509
[util] Enable uploadAllManagedSubresources for Nekopara titles
2020-06-05 02:35:03 +01:00
Joshua Ashton
f92d60496c
[util] Enable forceSamplerTypeSpecConstants for SpellForce 2: Faith in Destiny
...
The game binds a 2D texture to a 3D (volume) sampler which causes the readback to be 0 0 0 0 on native, whereas we can workaround it and see the intended texture and cool refracty effect that would have rendered on older real hardware 👏
Closes #1645
2020-05-27 17:14:20 +01:00
DadSchoorse
84bb768a32
[util] Enable d3d9.invariantPosition for Halo/Hale CE
...
Fixes #1550
2020-05-17 23:41:42 +02:00
Christian Sturm
97cd91885d
[util] Enable constant buffer range check for Secret World Legends
2020-04-18 21:53:21 +02:00
Philip Rebohle
487ecd861c
[util] Enable constant buffer range check for Blue Reflection
...
Fixes #1574 .
2020-04-18 14:00:04 +02:00
Philip Rebohle
7f03f45301
[util] Support encapsulated strings in configuration files
...
Fixes #1567 .
2020-04-10 21:16:29 +02:00
Joshua Ashton
6b431851da
[util] Enable d3d9.invariantPosition for Battlefield 2
...
Closes #1558 for good
2020-04-09 14:00:26 +01:00
Joshua Ashton
f549586331
[util] Set d3d9.longMad to True for Battlefield 2
2020-04-08 23:23:21 +01:00
Philip Rebohle
00d371d78d
[util] Spoof AMD GPU for GTA IV
2020-04-03 16:39:29 +01:00
Philip Rebohle
5c3d0c6836
[util] Enable d3d11.relaxedBarriers option for Resident Evil 3
2020-04-03 02:58:59 +02:00
Samuel Pitoiset
649c3805d9
[util] fix typo for Yooka-Laylee executable name
2020-03-25 14:29:28 +01:00
Samuel Pitoiset
f6a79c366a
[util] Set enableRtOutputNaNFixup for Super Monkey and Yooka-Laylee
...
Both games output NaNs that introduce glitches with RADV and
AMDVLK.
2020-03-22 15:38:24 +01:00
Philip Rebohle
3104192af7
[d3d11] Fix winelib build
...
Closes #1521 .
2020-03-20 17:01:46 +01:00
Philip Rebohle
76fd9013d4
[util] Add missing include
2020-03-19 23:22:13 +01:00
Florian Will
ba41a5219a
[util] Disable explicit frontbuffer for ZUSI 3
...
Fixes flickering when parts of the screen are not redrawn in a frame.
Closes #1368
Merges #1437
2020-03-18 19:32:45 +00:00
Philip Rebohle
26798eb312
[util] Use SwitchToThread for yield
...
According to MSDN, this doesn't interfere with scheduling of other threads,
unlike Sleep(0).
2020-03-15 03:43:04 +01:00
Philip Rebohle
da506f5932
[util] Add generic recursive spinlock
2020-03-15 03:43:04 +01:00
Philip Rebohle
55e3240479
[util] Add generic spin function
2020-03-15 03:43:04 +01:00
Philip Rebohle
3a1243b05e
[util] Don't set display mode if the desired mode is already set
...
See #1489 .
Co-authored-by: zvova7890 <zvova7890@gmail.com>
2020-03-04 23:06:15 +00:00
Philip Rebohle
4e16d65bb8
[util] Introduce common functions to set, get and restore display modes
2020-03-04 23:06:15 +00:00
Philip Rebohle
66503aeaa0
[util] Factor out common monitor-related functions
2020-03-04 23:06:15 +00:00
Joshua Ashton
74d23c22de
[build] Use __CRT_UUID_DECL for uuid definitions
...
Closes #1463
2020-02-18 20:25:05 +01:00
Joshua Ashton
760a163fc5
[util] Disable discard for D&D Temple of Elemental Evil
...
This game uses D3DLOCK_DISCARD incorrectly
2020-02-18 17:01:41 +00:00