Skip to content

Conversation

@Etaash-mathamsetty
Copy link
Contributor

@Etaash-mathamsetty Etaash-mathamsetty commented Sep 22, 2025

This MR allows the FSR SDK 2.0.0 to automatically use FSR 4.0.2 whenever the hardware supports it. On RDNA 3, this currently requires using the wmma workaround env to get things to work correctly. However, it may be possible to get rid of this restriction in the future.

A point of potential issues could be the usage of some AMD d3d12 extension headers that were accidentally released under the MIT license. However, I thought they would be fine for inclusion since it's MIT license and not FSR4 source code itself. (Also these headers have been modified heavily from the original form of course)

Yuxuan Shui and others added 30 commits September 18, 2025 18:54
strarray_add does not clone the string.

CW-Bug-Id: #24534
…lling DllMain().

The partial import fixup performed by

    fixup_imports( wm, load_path );
    wm->ldr.Flags |= LDR_DONT_RESOLVE_REFS;

resulted in all the imports being loded but without continuing the
"resolve" later on - DllMain() of those DLLs was not called.

This could result in things like secur32 being loded but none of the
providers are initialized if steamclient loads that DLL first.

Fixes: 40af052 ("ntdll: HACK: Partially fixup imports for Win Steam libs."
CW-Bug-Id: #24174
CW-Bug-Id: #25106
CW-Bug-Id: #25635
Otherwise the `~MHz` registry key is initialized to the
maximum clock speed of the CPUs, which is known to break games.

(cherry picked from commit 97d8733)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 5c6de45)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 21b7e01)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit aceebea)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit df340b2)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 93e6232)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 3721a90)
Introduce a new model for vector allocation:
- No longer requiring initial size (using a pure quadratic
  growth),
- No longer providing stability of element address across
  add operations.

This allows some reduction in memory usage.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 5c54087)
We can't (no longer) get inlined functions here.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit c36cbd9)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 72a322b)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit e0e9330)
Enumeration only report types with name, so we can get
rid of module's vtype vector and only the use the types'
hash table.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit f56985c)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 1b8161f)
…egex.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 6298b0c)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 2609784)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 38a6eac)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit e6ecd70)
As they can represent constant values, use largest possible
integral type.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 01f7d93)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 2060774)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 0a42aa7)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit ea42184)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 064b2c8)
Basically,
- calling one or the other from the same point,
- exposing if line number information has been read.

This refactorization will be used in next patch.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit 994f8d2)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit f640ba1)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit fc0e0e8)
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
(cherry picked from commit cf1256f)
Ratchanan Srirattanamet and others added 28 commits September 18, 2025 18:56
…opy.

Commit 8cd6981 ("msi: Get system directory just once.") remove call
to GetSystemDirectoryW() in load_fusion_dlls() but forgot to add
corresponding wcscpy() call. This causes loading mscoree.dll to fail,
breaking .NET-assembly-related functionalities. Add it back.

(cherry picked from commit 7242e15)
This can go away once URL media sources go through winedmo, like local
files and byte streams already do. A decoder transform is used in that
case, and NV12 is fixed there.

CW-Bug-Id: #25905
The game puts itself in XP compatibility mode on Windows.

CW-Bug-Id: #25874
Different windows version return differnt values.
MDAC 2.8 returns 2.8
Windows 10 returns 10.0

(cherry picked from commit e7eeb27)
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
(cherry picked from commit 61e69b8)
Inverting left/right trigger usages and Y values, so that WGI doesn't
need to mess with axes order.

(cherry picked from commit 6d08d32)

CW-Bug-Id: #25366
CW-Bug-Id: #25325
To avoid the builtin axis mapping that c_dfDIJoystick2 does, we need
IRawGameController to expose the axes / povs / buttons in their raw
order.

(cherry picked from commit 15c02e6)

CW-Bug-Id: #25366
CW-Bug-Id: #25325
To avoid exposing it with the other buttons, the XUSB / GIP frontends
don't expose it to applications (for instance in Windows.Gaming.Input).

(cherry picked from commit 9206673)

CW-Bug-Id: #25366
CW-Bug-Id: #25325
And enabled it for Surgeon Simulator: Experience Reality.

CW-Bug-Id: #25966
(cherry picked from commit 52eb548)
… system assigned ones.

(cherry picked from commit ada093a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.