Philip Rebohle
2507820339
[dxvk] Add support for resource debug names
2025-01-09 16:25:46 +01:00
Philip Rebohle
7f4f927980
[dxvk] Add command buffer parameter to debug label functions
2025-01-09 16:25:46 +01:00
Philip Rebohle
5487f8b9a0
[dxvk] Add convenience methods to check for debug utils support
2025-01-09 16:25:46 +01:00
WinterSnowfall
4151d35e8e
[d3d8] Alignment and formatting improvements
2025-01-09 15:50:46 +01:00
WinterSnowfall
639f815432
[d3d8] Refactor D3D8Vertex/IndexBuffer implementation
2025-01-09 15:50:46 +01:00
WinterSnowfall
13ec120289
[d3d8] Refactor D3D8Surface implementation
2025-01-09 15:50:46 +01:00
WinterSnowfall
9d37e4abb4
[d3d8] Refactor D3D8Volume implementation
2025-01-09 15:50:46 +01:00
WinterSnowfall
7bb8819fbc
[d3d8] Refactor D3D8Texture2D/3D/Cube implementation
2025-01-09 15:50:46 +01:00
WinterSnowfall
8017607fe7
[d3d8] Refactor D3D8SwapChain implementation
2025-01-09 15:50:46 +01:00
WinterSnowfall
84ad2ea261
[d3d8] Properly initialize state block data
2025-01-09 15:50:46 +01:00
WinterSnowfall
8ead28e481
[d3d8] Unify source file endline delimiters
2025-01-09 15:50:46 +01:00
WinterSnowfall
475bf4e9c1
[d3d9] Use cdw to iterate over register tokens in D3D9ShaderValidator
2025-01-07 17:49:18 +01:00
WinterSnowfall
150cb0d4c7
[d3d9] Refactor the D3D9ShaderValidator implementation
2025-01-06 18:55:37 +01:00
WinterSnowfall
28a08cae6d
[d3d8/9] Clear pLockedRect/Box contents universally on lock
2025-01-06 15:52:42 +01:00
Philip Rebohle
9a244e8951
[dxbc] Use NClamp for tess factors and depth clamp
...
This flushes NaN tess factors to 0, which should match D3D behaviour
for both outer and inner tess factors. The legacy code hasn't been
touched in 7 years.
2025-01-04 17:41:50 +01:00
Robin Kertels
24f98c5835
[d3d9] Skip texture type check when forceSpecConst option is active
2025-01-04 02:11:58 +00:00
esullivan
33498eb512
[spirv] Emit the grad and const offset image ops in the correct order
...
Currently the grad and const offset image operand ids are emitted in the
incorrect order. This causes incorrect code gen if both the grad and const
offset image operands are used.
This fixes the compilation error found when running TopSpin 2k25 through
DXVK using the NVIDIA proprietary Vulkan driver.
2025-01-03 23:30:56 +01:00
Blisto91
8b9b46dfff
[util] Cap fps in The hurricane of the Varstray
2025-01-01 23:42:56 +01:00
Blisto91
7425a33dd7
[util] Merge the Arcana Heart 3 entries
2025-01-01 23:42:56 +01:00
spiffeeroo
39f4d804a2
[util] Limit frame rate to 60 fps for Arcana Heart 3 Love Max!!!!! and Arcana Heart 3 Love Max Six Stars!!!!!! Xtend
...
[Arcana Heart 3 Love Max!!!!!](https://store.steampowered.com/app/370460 ) runs too fast when frame rate is above 60 fps (like on high refresh rate monitor). Limit frame rate to 60 fps so game runs at correct speed.
[Arcana Heart 3 Love Max Six Stars!!!!!! Xtend](https://store.steampowered.com/app/661990 ) also suffers from the game speed being too fast while in windowed mode. Limit frame rate to 60 fps to fix game speed.
2025-01-01 19:46:37 +01:00
Robin Kertels
1eb0c687a6
[d3d9] Fix messing up the dirty textures bitmask
2024-12-20 18:26:02 +01:00
Philip Rebohle
b4faf0bb3e
[meta] Release 2.5.2
v2.5.2
2024-12-20 13:37:07 +01:00
Robin Kertels
acf93aa70a
[util] Remove Alpha Protocol config
...
The texture type check makes this redundant.
2024-12-17 14:49:52 +01:00
Robin Kertels
65843aa016
[d3d9] Don't bind textures if texture type doesnt match
2024-12-17 14:49:52 +01:00
Tiagoquix
67f4ec73aa
[util] Adjust "Earth Defense Force 5" position
...
Game uses D3D11 according to https://www.pcgamingwiki.com/wiki/Earth_Defense_Force_5#API . Currently it's listed in the D3D9 section.
2024-12-16 23:05:33 +01:00
Philip Rebohle
d1789c4d85
[dxvk] Always consider env var configuration as active
...
Fixes #4529 .
2024-12-15 16:51:32 +01:00
Blisto91
fb8f79e4a7
[util] Add Sims 2 Content Manager & HomeCrafter Plus
2024-12-12 14:02:00 +01:00
Blisto91
0997719a73
[util] Set textureMemory to 0 for Dark Sector
...
Works around some crashes
2024-12-12 14:01:40 +01:00
Philip Rebohle
5868b067e4
[dxgi] Use VK_FORMAT_A8_UNORM if supported
2024-12-10 01:16:44 +01:00
Philip Rebohle
32399461da
[dxvk] Properly encode KHR_maintenance5 formats
2024-12-10 01:16:44 +01:00
WinterSnowfall
4dd0afe121
[d3d9] Validate depth and stencil clears
2024-12-10 01:16:24 +01:00
Jeff
d1abce3be2
[d3d9] Add GetInstanceExtensions to interop API
2024-12-09 18:11:46 +01:00
Philip Rebohle
45da7d6678
[d3d11] Fix rectangle check in ClearView
...
It is legal to pass a potentially invalid pointer if NumRects is 0.
Fixes validation errors in TopSpin 2k25.
2024-12-09 17:43:53 +01:00
WinterSnowfall
b1ad43145b
[d3d8] Add missing include to d3d8_state_block.h
2024-12-05 23:43:23 +01:00
Tiagoquix
a78c1bd6dd
[util] Separate Borderlands 2 fixes from Borderlands: The Pre-Sequel
2024-12-05 15:00:19 +01:00
WinterSnowfall
d094053018
[d3d9] Implement several IDirect3DShaderValidator9 validations
...
Co-Authored-By: Joshua Ashton <joshua@froggi.es>
Co-Authored-By: Paul Gofman <gofmanp@gmail.com>
2024-12-05 14:59:56 +01:00
Autumn Ashton
d956b188ed
[d3d9] Clip plane compaction
...
Compact clip planes to the smallest amount that are enabled.
Signed-off-by: Autumn Ashton <misyl@froggi.es>
2024-12-05 06:08:34 +00:00
Autumn Ashton
8c4c814fb7
[d3d9] Spec-constant out writes to clip distances when disabled
...
Add a new spec constant with a mask of the enabled clip planes such that they can be optimized out to improve performance.
For GPL shaders, override what we return here so it's always true and don't bother putting the mask in the UBO.
Signed-off-by: Autumn Ashton <misyl@froggi.es>
2024-12-05 06:08:34 +00:00
WinterSnowfall
027fe5963a
[d3d9] Fixes for state block specific behavior
2024-12-04 13:06:28 +01:00
WinterSnowfall
17b85accfb
[d3d9] Adjust device reset failure error codes
2024-12-04 13:06:28 +01:00
WinterSnowfall
f23c74949a
[d3d9] Validate supported formats in D3D9Surface::GetDC
2024-12-04 13:06:28 +01:00
WinterSnowfall
fb56668dc0
[d3d9] Adjust out of bounds clip plane index handling
2024-12-04 13:06:28 +01:00
WinterSnowfall
9c012c8e75
[d3d9] Skip recording MultiplyTransform calls in state blocks
2024-12-04 13:06:28 +01:00
WinterSnowfall
640a266158
[d3d9] Only advertise SRCCOLOR2 & INVSRCCOLOR2 with 9Ex
2024-12-04 13:06:28 +01:00
WinterSnowfall
93d2715b7a
[build] Suppress gcc misleading indentation warnings
2024-12-04 10:00:15 +01:00
WinterSnowfall
218b67dd0c
[d3d9] Use header back buffer limits during validation
...
Co-authored-by: Blisto91 <47954800+Blisto91@users.noreply.github.com>
2024-11-28 15:44:00 +01:00
Jeff
4e07302cbf
[d3d9] Fix race condition in PIX events
2024-11-28 07:24:12 +00:00
WinterSnowfall
b8ce414820
[util] Enable deferSurfaceCreation for the Codename Panzer series
2024-11-27 16:51:54 +01:00
Philip Rebohle
d7bd3cd58e
[d3d9] Remove d3d9.enableDialogMode option
2024-11-25 11:54:55 +01:00
Philip Rebohle
15db475edf
[dxvk] Always disable exclusive fullscreen
2024-11-25 11:54:55 +01:00