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
Blisto91
2dadad57f0
[util] Hide amd for GTA The Definitive Edition trilogy
...
Crashes because of static ags on amd systems which report HDR support.
2024-11-13 12:17:43 +01:00
Randy Eckenrode
8dc1fe1262
[build] Fix native GLFW build
...
Fixes an undefined reference to `glfwGetWindowAttrib` when building with
GLFW support enabled.
2024-11-11 22:33:52 +01:00
Philip Rebohle
e6209d28cd
[build] Fix project version for native builds
...
Derp, wasn't tested.
2024-11-11 19:59:39 +01:00
Philip Rebohle
56b7c8cd41
[meta] Release 2.5
v2.5
2024-11-11 15:27:07 +01:00
Philip Rebohle
757081a55a
[hud] Pre-multiply alpha before color space conversion
...
Derp.
2024-11-11 12:53:52 +01:00
Philip Rebohle
3756e83ae4
[dxso] Don't emit FOrdNotEqual
2024-11-11 12:33:40 +01:00
Philip Rebohle
6610f4237f
[dxso] Remove OpCross path for cross products
2024-11-11 12:33:40 +01:00
Philip Rebohle
bca3e8db5a
[dxso] Explicitly emit long dot products
...
Potentially avoids vertex shader bugs if a game expects dot product and
a chain of mad instructions to return the same result.
2024-11-11 12:33:40 +01:00
Philip Rebohle
a71603a2a4
[dxso] Fix lrp instruction
...
Games expect this to be equivalent to add -> mad, but since we changed
mad to emit mul + add, this is no longer the case. Also remove OpFMix
path.
2024-11-11 12:33:40 +01:00
Philip Rebohle
f05b104310
[dxvk] Disable defragmentation on ANV
2024-11-11 12:33:20 +01:00