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
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
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
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
56b7c8cd41
[meta] Release 2.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
Philip Rebohle
d9d99445bd
[hud] Properly pre-multiply graphs and bars with alpha
...
Oversight, our blend mode relies on pre-multiplied alpha.
2024-11-11 12:01:31 +01:00
Philip Rebohle
125f0acefd
[util] Hide integrated graphics for Diablo 4
2024-11-10 21:39:07 +01:00
Philip Rebohle
c745136f67
[dxgi] Fix global variable declarations
2024-11-10 18:18:26 +01:00
Blisto91
8bca36460a
[dxvk] Log build target and compiler used
2024-11-10 14:33:14 +01:00
Philip Rebohle
9b272fb3f6
[dxvk] Enable and use VK_EXT_pageable_device_local_memory if supported
2024-11-08 17:25:54 +01:00
Philip Rebohle
c5bc4d1bac
[dxvk] Order allocations to relocate by offset
...
Potentially improves the situation where a chunk cannot be relocated
in its entirely by freeing up a larger block of memory at the end of
the chunk, which may be enough to service a subsequent defrag attempt
of a different chunk.
2024-11-08 13:39:47 +01:00
Philip Rebohle
8584fc7722
[d3d11] Simplify mapped resource tracking on deferred context
2024-11-08 11:19:21 +01:00
Philip Rebohle
bdd4956dd3
[d3d11] Properly validate map parameters for images
2024-11-08 11:19:21 +01:00
Philip Rebohle
2db10b0af8
[d3d11] Use D3D11_COMMON_TEXTURE_MAP_MODE_DYNAMIC where possible
2024-11-08 11:19:21 +01:00
Philip Rebohle
da406133f1
[d3d11] Add D3D11_COMMON_TEXTURE_MAP_MODE_DYNAMIC
2024-11-08 11:19:21 +01:00
Philip Rebohle
1d2d05dde0
[d3d11] Clean up some texture map mode checks
2024-11-08 11:19:21 +01:00
Philip Rebohle
43e636cf42
[dxvk] Rearrange DxvkBufferCreateInfo
2024-11-08 11:19:21 +01:00
Philip Rebohle
bd6b7aedc1
[d3d11] Clean up image staging buffer creation
2024-11-08 11:19:21 +01:00
Philip Rebohle
9e316b8c71
[d3d11] Disallow MAP_WRITE_NO_OVERWRITE on dynamic images
...
D3D11 explicitly bans this, so we shouldn't pretend to support it.
2024-11-08 11:19:21 +01:00
Philip Rebohle
1dfb869df2
[d3d11] Tie mapped image memory type to map mode selection
...
Allows us to keep video images in system memory in order to avoid
wasting precious HVV.
2024-11-08 11:19:21 +01:00
Philip Rebohle
ae67c026aa
[d3d11] Implement image MAP_WRITE_DISCARD on immediate context
2024-11-08 11:19:21 +01:00
Philip Rebohle
789e8db699
[d3d11] Fix MAP_WRITE_DISCARD for mapped images on deferred contexts
...
The previous implementation was straight-up broken since it would use the
wrong subresource layout. We can discard the image now so let's just do that.
2024-11-08 11:19:21 +01:00
Philip Rebohle
30f2a8c26b
[d3d11] Add methods to discard direct-mapped images
2024-11-08 11:19:21 +01:00