1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-01 08:52:11 +01:00

6406 Commits

Author SHA1 Message Date
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
WinterSnowfall
9e1bc1db23 [d3d9] Expand NormalizeTextureProperties validations 2024-11-23 16:58:25 +01:00
WinterSnowfall
97ad37e409 [d3d9] Validate RT parent device during SetRenderTarget 2024-11-23 16:58:25 +01:00
WinterSnowfall
77020760f1 [d3d9] Fix behavior on multiple image unlocks 2024-11-23 16:58:25 +01:00
WinterSnowfall
bb227fa850 [d3d8] Partially implement ValidateVertexShader/ValidatePixelShader 2024-11-23 16:58:25 +01:00
WinterSnowfall
34165f3814 [d3d8] Validate PS/VS version on creation 2024-11-23 16:58:25 +01:00
WinterSnowfall
423c86bf5e [d3d8] Validate DS dimensions on SetRenderTarget 2024-11-23 16:58:25 +01:00
WinterSnowfall
dd183b4a53 [d3d8] Adjust function, declaration and delete behavior for VS/PS 2024-11-23 16:58:25 +01:00
WinterSnowfall
4f98844f47 [d3d9] Skip some validations for D3DDEVTYPE_NULLREF devices 2024-11-23 16:58:25 +01:00
Blisto91
43b79bcb23 [util] Set Borderlands 2 floatEmulation to Strict
Missing lava in Vault of the Warrior
2024-11-23 02:28:03 +01:00
Blisto91
dd15328ccf [build] Remove old d3dcompiler_47 dependency
Leftover from when tests were in the main repository
2024-11-19 10:50:09 +01:00
Blisto91
7f1e52703d [d3d9] Change correctness factor to 0.5f
The original issue that 0.5f - (1.0f / 128.0f) fixed is a game bug that also happens on Windows and the version of the addon used back then didn't fix correctly. With the latest version of the addon it looks correct.
2024-11-18 13:03:58 +01:00
Philip Rebohle
b276c60f49 [meta] Release 2.5.1 v2.5.1 2024-11-18 12:32:41 +01:00
Philip Rebohle
7ffd6dae2c [meta] Document dxgi.enableUe4Workarounds option 2024-11-18 12:32:41 +01:00
Blisto91
987c132df2 [util] Don't include original WC3 in Reforged config
Reforged sits in a folder called x86_64 which should filter out the original Warcraft 3
2024-11-17 20:02:04 +01:00
Blisto91
fefa4ee1f6 [util] Hide iGPU for WoW and WC3 Reforged
Currently with Proton/Wine these games will prefer to use the iGPU. On systems usng the Nvidia proprietary driver this can make them bug out so they don't start or show a gray screen.

It has to be figured and fixed why they even want to use the iGPU, but in the meantime we might as well work around the issue.
2024-11-17 16:12:17 +01:00
WinterSnowfall
ce1b06d0c6 [d3d8] Use unsigned values to identify remapped sampler states 2024-11-16 17:56:57 +01:00
Philip Rebohle
482e758aee [dxgi] Introduce dxgi.enableUe4Workarounds option 2024-11-16 17:26:33 +01:00
Philip Rebohle
1dcc9f3b6a [dxvk] Fix struct <-> class warning 2024-11-16 16:58:17 +01:00
Philip Rebohle
4fb6403b8f [d3d11] Store map mode as raw integer
Fixes some annoying error with clang, hopefully.
2024-11-16 16:58:17 +01:00
60IQ
12c2b2f81b add --64-only and --32-only build options from package-native.sh 2024-11-15 21:14:51 +01:00
Philip Rebohle
4c09b006a5 [d3d9] Actually use correct sampler state for anisotropy 2024-11-13 14:35:59 +01:00