Commit Graph

3255 Commits

Author SHA1 Message Date
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
TheRazerMD ee7cb383a4 Updated RDR2 quirks, some quirk reordering
* Re-enabled FSR2 inputs as spoofing was the cause of crashing (or atleast the only one nowadays)
* Disabled Dxgi Spoofing as DLSS inputs require OptiPatcher to avoid artifacts/crashes anyway
2026-01-18 21:58:19 +01:00
cdozdil 172e35ec72 Disabled reactive mask for preventing WWZ crash 2026-01-18 21:31:01 +03:00
cdozdil 9255937dc9 Shorten FSR2 input names 2026-01-18 18:57:53 +03:00
cdozdil 00b11b0633 Change NVSDK Init code to allow re-init 2026-01-18 18:57:40 +03:00
cdozdil 40ef8b5eef Added BG3 Vulkan quirk for XeSS inputs 2026-01-18 16:33:26 +03:00
cdozdil 1e9052ca9c Changed Intel sample to b580 2026-01-18 15:28:25 +03:00
cdozdil e0189ee8d5 Added XeSS Dx11 inputs 2026-01-18 15:28:03 +03:00
cdozdil d55d06eee7 Added more information to DLSS & DLSSD presets 2026-01-18 13:13:01 +03:00
cdozdil fd57167f8b Added removehooks for restracking 2026-01-18 01:45:08 +03:00
cdozdil abd1f2699d Improve UE Intel Atomics support 2026-01-18 01:40:14 +03:00
cdozdil 47cb931c9d Correct Detach logic 2026-01-18 01:39:24 +03:00
cdozdil 43a9064e34 Prevent possible crash at resource tracking 2026-01-18 01:37:17 +03:00
cdozdil d8d17282ba Added logging info for new struct types 2026-01-17 14:47:36 +03:00
TheRazerMD 5a924bb9b9 Bump to Pre9
_should be final_
2026-01-13 19:35:22 +01:00
cdozdil 7b9260429e XeFG naming 2026-01-13 00:54:20 +03:00
cdozdil aa6b8b9329 Do not track ImGu command list 2026-01-13 00:54:12 +03:00
cdozdil 25d32f317b Added FSR2 Vulkan input support 2026-01-12 23:57:55 +03:00