-
Notifications
You must be signed in to change notification settings - Fork 308
amdxc: Support FSR 4.0.2 #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Etaash-mathamsetty
wants to merge
454
commits into
ValveSoftware:bleeding-edge
Choose a base branch
from
Etaash-mathamsetty:amdxc2
base: bleeding-edge
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
amdxc: Support FSR 4.0.2 #296
Etaash-mathamsetty
wants to merge
454
commits into
ValveSoftware:bleeding-edge
from
Etaash-mathamsetty:amdxc2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CW-Bug-Id: #24534
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)
(cherry picked from commit 3310434)
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)
…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
CW-Bug-Id: #25515 CW-Bug-Id: #25571
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)
…r Warnament. CW-Bug-Id: #25960
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
(cherry picked from commit c736282)
CW-Bug-Id: #25747
…le." This reverts commit 451aace.
…call." This reverts commit 264abf7.
And enabled it for Surgeon Simulator: Experience Reality. CW-Bug-Id: #25966
(cherry picked from commit 2994dc5)
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58710 (cherry picked from commit d83ab36)
…all() on Linux. (cherry picked from commit 9cfee39)
…l() on Linux. (cherry picked from commit d5f76b0)
(cherry picked from commit 79fd4c4)
(cherry picked from commit 52eb548)
(cherry picked from commit 632d936)
(cherry picked from commit 21ee481)
… system assigned ones. (cherry picked from commit ada093a)
Fixes FSR 4.0.2
4a5ca68 to
0a1d0d2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)