Commit Graph
3272 Commits
Author SHA1 Message Date
cdozdil 5e35cc8ff8 Minor updates to streamline hooks 2026-02-10 02:20:42 +03:00
cdozdil 250931fc6e Added a few init params + changed min hw arch return value 2026-02-10 02:19:01 +03:00
cdozdil 3f8fb61526 Prevented hookReflex spam 2026-02-10 02:17:46 +03:00
cdozdil c17d89359d Added WDDM 2.9 hook for HAGS 2026-02-10 02:16:41 +03:00
cdozdil 6b2226521c Update the pre-build events to prevent file is already open errors 2026-02-10 02:16:09 +03:00
cdozdil f28ae3e053 Move resource lock to an earlier position to let checks work 2026-02-08 23:12:57 +03:00
cdozdil 30d362091d Updated FSR2-Vulkan format matching method 2026-02-08 22:20:16 +03:00
cdozdil 40578b367e Updated FFX-Vulkan format matching method 2026-02-08 22:20:14 +03:00
cdozdil 207e20eecb Remove requested extensions and optical flow, fixed X4 reflex crash issue 2026-02-08 22:20:12 +03:00
cdozdil 31afe54bf8 Skip spoofing when creating Vulkan swapchain 2026-02-08 22:20:10 +03:00
cdozdil 54ce87c643 Disable GetProcAddress logs 2026-02-08 22:20:07 +03:00
TheRazerMD 2dc2fa3c61 Added Indiana Jones and the Great Circle quirk
* DisableDxgiSpoofing
* EnableVulkanExtensionSpoofing - enough to expose DLSS/DLSSG inputs
2026-02-08 20:17:35 +01:00
TheRazerMD c9ff24795c Clang fix 2026-02-08 18:06:20 +01:00
PotatoOfDoom 40298c62d6 Merge pull request #859 from ZachHembree/fix-pch
Fix PCH implementation and optimize build times
2026-02-08 14:40:51 +01:00
Zach Hembree 109b4c2161 Add reminder for PCH usage
Hopefully, this helps to remind people not to break the precompiled headers.
2026-02-08 04:16:04 -05:00
Zach Hembree 85aca7e728 Fix HudCopy pch 2026-02-08 03:54:54 -05:00
Zach Hembree 79254464a4 Reenable deprecation warnings, but force them to be treated as warnings
The /sdl flag forced C4996 to be treated as an error. I've set /w34996 to force it to be treated as a warning globally, and removed old pragmas that disabled it entirely.
2026-02-08 03:54:46 -05:00
Zach Hembree 774c3a2fd5 Replace incorrect usages of LOG_DEBUG() with LOG_FUNC()
Replaced usages of LOG_DEBUG() without arguments with LOG_FUNC() where appropriate.
2026-02-08 03:54:37 -05:00
Zach Hembree 14f5b9107e Enable proper precompiled headers (PCH) and eliminate misuse of pch.h
This change more than doubles build speed for both clean and incremental builds. This could further improved by better managing pch.h contents and separating dependency compilation.

- Debug clean build: 75s to 32s (~2.3× faster)
- Debug incremental: 8s to 4s (2.0× faster)
- Release clean build: 84s to 38s   (~2.2× faster)
- Release incremental: 40s to 18s   (~2.2× faster)

Problems with previous setup:
- pch.h was misused as a general-purpose utility header and included from other headers.
- Precompiled headers were never actually enabled in the build configuration.
- Including a putative PCH from other headers violates two fundamental requirements:
  1. A PCH must be the first #include in a translation unit to be effective.
  2. Including PCH candidates in other headers defeats the optimization and triggers excessive rebuilds.

Changes:
- Relocated global utility declarations from pch.h to new SysUtils.h
- Replaced all #include "pch.h" occurrences in header files with #include "SysUtils.h"
- Headers no longer include pch.h under any circumstances
- Enabled /Yc (Create PCH) on pch.cpp and /Yu (Use PCH) on remaining .cpp files
- Excluded ImGui build from precompiled headers. Ideally this should be compiled as a separate, statically linked dependency, but this is a problem for another time.
- Added #include "pch.h" as the **very first** non-comment line in all .cpp translation units
2026-02-08 03:52:58 -05:00
cdozdil 0ebeb44a78 Added MipLODBias clamping, thanks to @ShmidtS 2026-02-07 23:12:18 +03:00
TheRazerMD c01ccd217f Added Nioh 3 quirk
* Nioh 3 - DisableDxgiSpoofing
2026-02-06 17:28:31 +01:00
cdozdil 79544be6c6 Added Ninja Gaiden 4 quirk 2026-02-05 23:55:18 +03:00
cdozdil 40071536b9 Added process filter options. Thanks to @ShmidtS 2026-02-05 23:25:08 +03:00
FakeMichau 4828cb8dbf Add FSR FG inputs to hud copy
Also a more aggressive hud detection for those inputs to combat the vignette if someone is using FSR FG inputs and somehow hasn't disabled the vignette.
2026-02-03 15:07:07 +01:00
FakeMichau 2b47c18460 Fix CDPR being a meme
Extract UI and paste it over hudless to fix pixel noise in interpolated frames with FSR FG
2026-02-03 15:07:07 +01:00
TheRazerMD 2796359ee1 Update README.md
More updates to bring it on par for 0.9
2026-02-01 00:45:46 +01:00
TheRazerMD ffd4024eca Added new quirks, modified Starfield quirks
* GameQuirk::SetDepthValidNow
* GameQuirk::SetVelocityValidNow
* GameQuirk::SetHudlessValidNow
* Modified Starfield quirks to fix FG artifacts with DLSSG via SL
* Modified Endfield quirks
2026-01-28 15:05:56 +01:00
TheRazerMD 13c97c4896 Modified Endfield quirks v0.7-old_nightly 2026-01-26 01:02:56 +01:00
TheRazerMD ebb442c7c8 Updated some tooltips 2026-01-24 21:17:16 +01:00
TheRazerMD 4db15de746 More game quirks
* Some XeSS-only games
2026-01-24 15:00:20 +01:00
TheRazerMD 084b50ecd1 Added more game quirks
* For FSR-only games
2026-01-24 01:21:20 +01:00
cdozdil fcaed12d43 Modified Dx11 w/Dx12 to always priotize it's own D3D12 device
Added Endfield quirk
2026-01-22 23:02:15 +03:00
cdozdil bb9121c80a More resource tracking improvements 2026-01-22 18:34:06 +03:00
cdozdil 46dba66a15 Match FSR-FG 3.0 inputs to FSR-FG 3.1 2026-01-21 23:08:20 +03:00
cdozdil 8b8fe55039 Don't clean render menu render target when exiting
Prevents Cp77 DLSSD crash at exit
2026-01-21 20:30:16 +03:00
TheRazerMD bee3a4c749 Added OverrideVsyncWhenUsingXeFG quirk, updated Metro EE and Dead Space quirks 2026-01-21 16:16:16 +01:00
TheRazerMD e8d4a2ea51 Modified BAT with more info for Vulkan/XGP 2026-01-21 14:50:19 +01:00
cdozdil 762151f730 Added ForceBorderlessWhenUsingXeFG quirk 2026-01-21 10:54:48 +03:00
TheRazerMD 6e3c168915 Added quirks for Sony ports with RT
* Dxgi spoofing disabled due to RT crashes
* FSR3.1 FG inputs are working, DLSSG requires -forceReflexMarkers (except SM2) as SL plugin won't load otherwise
2026-01-20 21:20:39 +01:00
cdozdil 608b2c7d90 Added output scaling ratio info to menu 2026-01-20 20:49:07 +03:00
cdozdil 52bda52fe5 Fix Output Scaling, now < 1.0 values work too 2026-01-20 20:44:19 +03:00
cdozdil 400dba9811 Implementing OutputScaling for rest of the upscalers 2026-01-20 17:29:33 +03:00
cdozdil f04cde4aca XeSS output scaling is implemented,
Will check DLSS & FSR variants later
2026-01-20 03:04:53 +03:00
cdozdil 4f99852b37 Vulkan output scaling is done 2026-01-20 03:04:20 +03:00
cdozdil 84b12be6b1 Add VK define to shader compiler 2026-01-20 01:33:26 +03:00
cdozdil 2e21ea45f6 Fix thread and dispatch sizes of 3 shaders 2026-01-20 01:31:32 +03:00
cdozdil f79214ac88 Fix clang 2026-01-19 01:49:01 +03:00
cdozdil 15510595c0 Add RCAS to Vulkan upscalers 2026-01-19 01:45:37 +03:00
cdozdil be0aefcdb1 Add vulkan shader compile batch 2026-01-19 00:46:12 +03:00
cdozdil 1701c826bd Update shader tools 2026-01-19 00:45:52 +03:00