Robin Kertels
ab12ffa0da
[d3d9] Use max point size of Vulkan device
...
The default render state value has to match what we report in the device caps.
Fixes a Wine stateblock test.
2024-07-05 00:44:28 -07:00
Robin Kertels
dc3dd0f88c
[d3d9] Ignore the vertex stream offset in StateBlock::Capture
...
Fixes a Wine test and matches further testing on Windows.
2024-07-05 00:44:28 -07:00
Robin Kertels
da814668bc
[d3d9] FF: Prevent specular highlights on the back of geometry
...
Fixes the Wine test "test_specular_lighting".
2024-07-05 00:44:28 -07:00
Robin Kertels
df9bdfc6ea
[util] Return unchanged matrix if matrix cannot be inverted
2024-07-05 00:44:28 -07:00
Robin Kertels
9e422a2b63
[d3d9] Fix default light
...
Fixes the diffuse alpha and the direction.
2024-07-05 00:44:28 -07:00
Robin Kertels
11db6d691c
[d3d9] Fix reference leak in ProcessVertices
...
Also fixes a Wine test.
2024-07-05 00:44:28 -07:00
Robin Kertels
9c898bd269
[d3d9] Skip presenting if D3D9Swapchain has no associated window
2024-07-05 00:44:28 -07:00
Robin Kertels
175772944c
[d3d9] Fix Wine test failures in StretchRect
2024-07-05 00:44:28 -07:00
WinterSnowfall
5ae3cfe402
[d3d9] Fix DF Formats selection logic
2024-07-05 00:43:09 -07:00
WinterSnowfall
b03de97f1b
[d3d9] Expose support for D16_LOCKABLE only on AMD
2024-07-05 00:43:09 -07:00
WinterSnowfall
18035820de
[d3d9] Remove vestigial D32 support
2024-07-05 00:43:09 -07:00
Łukasz Zając
1783b9591a
[util] Enable 60 FPS lock for WRC4
...
Fixes an audio issue.
2024-07-04 20:12:08 +02:00
Philip Rebohle
499460184a
[build] Zero-pad soversion components as necessary
2024-07-03 13:23:25 +00:00
Philip Rebohle
afbcd94569
[util] Fix up recently added app profiles
2024-06-26 00:44:43 +02:00
Philip Rebohle
86f04a2da3
Revert "[util] Consolidate maxFrameRate options"
...
This reverts commit 1811f4b995
.
The D3D12 Beyond Good and Evil remaster uses the same exe name as the
original D3D9 game, so it turns out the separation was useful after all.
2024-06-26 00:42:31 +02:00
Philip Rebohle
8573190c7d
[dxvk] Apply frame rate limiter before signaling frame latency event
...
Otherwise we add latency for no reason.
2024-06-24 18:12:59 +02:00
Blisto91
fe0e02de18
[util] Set cachedDynamicBuffers for Battle for Middle-Earth 2
...
Helps slowdowns below 30fps in certain scenarios like when moving the camera over heavy vegetation areas among others
2024-06-22 21:58:16 +02:00
Robin Kertels
3145020a62
[d3d9] Only change vertex offset draw parameters when necessary
...
... Only change it when the vertex data is actually dynamically uploaded.
2024-06-21 13:18:39 +02:00
WinterSnowfall
e9fc071d95
[d3d9] Validate D3DCREATE_PUREDEVICE usage
2024-06-20 03:34:45 +00:00
Blisto91
a276e13821
[util] Set deviceLossOnFocusLoss for Guild Wars
...
Works around the game black screening on alt-tab when it is set to fullscreen with a non native resolution
2024-06-19 15:08:37 +02:00
Blisto91
4b4d323ec3
[util] Set cachedDynamicBuffers for Dragonshard
...
Works around massive FPS decreases in some scenes
2024-06-17 22:49:25 +02:00
Blisto91
d9994665a8
[util] Set strict floatEmulation for New Vegas
...
Fixes various visual issues with some effects in mods such as New Vegas Reloaded. White spots/shapes, black streaks across the screen (rain?) and probably more.
2024-06-17 22:49:25 +02:00
Blisto91
22b13a94ca
[util] Enable deviceLossOnFocusLoss for The Force Unleased
...
Prevents the game from black screening on each alt-tab
2024-06-16 22:04:22 +02:00
Jeff
3e5eb1660f
[d3d8] Implement Dref scaling and fixed-function depth textures ( #3565 )
2024-06-14 12:10:49 +02:00
Trevonn
a8710f70a5
[util] Dead Space 2 - Lock to 60 FPS and enable vsync
...
Similar to the first game it has a poor vsync implementation and physics issues when the frame rate is unlocked.
Locking to 60 FPS and enabling vsync externally provides a better experience after the ingame vsync is disabled
2024-06-13 18:03:12 +02:00
Philip Rebohle
336c9b6acc
[dxgi] Allow changing refresh rate even without ALLOW_MODE_SWITCH
...
Matches Windows behaviour, entering fullscreen state will only prevent
us from changing the display resolution if the flag is not set.
2024-06-12 17:33:41 +02:00
Blisto91
018db92342
[util] Disable Crysis 1 refresh rate fps limiter
...
Game bug in its d3d10 mode where it selects the lowest supported refresh rate.
2024-06-11 15:45:30 +02:00
Philip Rebohle
51f2e246fa
[util,dxvk] Limit frame rate based on deadline
...
This should work better now that present_wait is universally supported.
2024-06-11 15:45:17 +02:00
Philip Rebohle
1811f4b995
[util] Consolidate maxFrameRate options
2024-06-11 15:45:17 +02:00
Philip Rebohle
5674abe483
[d3d9] Limit frame rate to display refresh as necessary
2024-06-11 15:45:17 +02:00
Philip Rebohle
1c198dcd48
[dxgi] Limit frame rate to display refresh as necessary
2024-06-11 15:45:17 +02:00
Philip Rebohle
379346751a
[util] Implement refresh rate heuristic for frame rate limiter
2024-06-11 15:45:17 +02:00
Philip Rebohle
b4c4c9e683
[util] Remove useless vsync parameter from FPS limiter
2024-06-11 15:45:17 +02:00
Sanakan8472
2188caae8e
Fix GLFW exception at startup
...
`GlfwWsiDriver::getInstanceExtensions` was creating an `std::vector` with a size argument in the ctor but then used `push_back` instead of filling the pre-allocated elements, leading to a bunch of nullptr entries at the start that caused an exception later on when accessed.
2024-06-10 13:41:50 +02:00
Blisto91
8d965359a5
[util] Set longMad for Watch_Dogs
...
Works around flickering on some objects such as the blue light arrow on lowering gates
2024-06-06 19:01:42 +02:00
Philip Rebohle
fd978704fb
[dxvk] Add dxvk.deviceFilter config option
2024-06-05 00:49:26 +02:00
Tiagoquix
ee18aecb8a
[util] Add dxvk.maxChunkSize 1 for Origin Web Helper Service and Ubisoft Connect (UPlay) ( #4047 )
...
* Add dxvk.maxChunkSize 1 to Ubisoft Connect (UPlay)
* Add Origin Web Helper Service and fix Rockstar Games entries
* Revert Rockstar changes, improve Origin and Ubisoft
2024-06-02 20:08:52 +02:00
Blisto91
c2fd91f835
[util] Set longMad for Ghostbusters Remastered
...
Works around flickering on character faces
2024-06-02 11:10:13 +02:00
Tiagoquix
79eea564fb
Add dxvk.maxChunkSize 1 to Origin
2024-05-31 23:46:26 +02:00
Robin Kertels
7df8017e46
[d3d9] FF: Apply transform flags count to generated texture coords
...
... and fix cases where projection doesn't get applied.
2024-05-27 20:52:32 +00:00
WinterSnowfall
c98152683f
[d3d9] Tweak VCache query results
2024-05-27 19:53:19 +02:00
Blisto91
890ad3f47f
[CI] Update CI actions
2024-05-27 19:38:16 +02:00
Robin Kertels
60cfafe027
[d3d9] Fix strange type in dynamic vertex upload
2024-05-26 04:58:47 +00:00
Robin Kertels
889802887f
[d3d9] Rework uploading dynamic sysmem buffers at draw time
...
... and handle mismatching vertex sizes and vertex strides.
2024-05-23 16:44:49 +02:00
WinterSnowfall
a1ce690c5c
[d3d9] Determine DF format support in the options parser
2024-05-23 16:37:09 +02:00
WinterSnowfall
07d007c642
[d3d9] Use customVendorId to determine the options vendorId
2024-05-23 16:37:09 +02:00
Danylo Piliaiev
58d8ea2d31
[d3d11,d3d9,util] Add a config option for reproducible VK output
...
It ensures that for the same D3D commands the output VK commands
don't change between runs.
Useful for comparative benchmarking, can negatively affect performance.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
2024-05-23 15:20:28 +02:00
Philip Rebohle
61bd62c327
[dxvk] Allow descriptor pool overallocation if supported
2024-05-23 14:27:28 +02:00
Philip Rebohle
7bc77b597e
[dxvk] Enable VK_NV_descriptor_pool_overallocation if available
2024-05-23 14:27:28 +02:00
Simon McVittie
2ff2c826a5
[build] Generate pkg-config metadata to link to DXVK libraries
...
This allows dependent projects to query the version and location of DXVK
via the pkg-config interface.
The include directories aren't yet set, because the headers aren't
installed; that will follow in a subsequent commit.
The naming of these pkg-config files is based on proposed Fedora packages
for DXVK 2.0, and is not compatible with older Fedora packages for DXVK
1.x (which used the naming convention dxvk-native-d3d9 and so on).
Packagers can create symlinks such as dxvk-native-d3d9.pc -> dxvk-d3d9.pc
if they want to retain compatibility with older names.
Signed-off-by: Simon McVittie <smcv@collabora.com>
2024-05-21 19:18:12 +00:00