Commit Graph
3293 Commits
Author SHA1 Message Date
cdozdil eca6d08fc7 Improve Vulkan barriers, clean up code a bit 2026-02-10 17:40:48 +03:00
cdozdil 3bf1c5df1c Disabled some log spam sources 2026-02-10 17:40:43 +03:00
cdozdil a23a571467 Fix clang 2026-02-10 17:39:48 +03:00
cdozdil 03107b6f95 Align call to tracker with updates 2026-02-10 17:39:37 +03:00
cdozdil 91304d4fd3 Improve the state tracker 2026-02-10 17:39:33 +03:00
cdozdil 7e411e92ed Fix clang 2026-02-10 17:39:29 +03:00
cdozdil 3e9e9c7f2a Remove unused files from project 2026-02-10 17:39:05 +03:00
cdozdil a8f076c593 Added basic caller check for enable/disable adapter spoofing 2026-02-10 17:39:02 +03:00
cdozdil 97494dd826 Updated Vulkan hooks for w/Dx12 2026-02-10 17:38:56 +03:00
cdozdil 8b11dfb405 Added Vulkan w/Dx12 support 2026-02-10 17:38:30 +03:00
cdozdil 9f82f290d0 Added IsWithDx12 info to upscalers 2026-02-10 17:38:02 +03:00
cdozdil b99c8d053d Fixed logged method names 2026-02-10 17:37:59 +03:00
cdozdil 66ed740278 Updated target/display res logic to match other upscalers 2026-02-10 17:37:56 +03:00
cdozdil 017924dd56 Added Vulkan resource copy shader 2026-02-10 17:37:52 +03:00
cdozdil 9719ad5584 Added Vulkan Depth Transfer shader 2026-02-10 17:37:48 +03:00
cdozdil 998ecc5770 Updated output scaling non-fsr downscalers 2026-02-10 16:07:17 +03:00
cdozdil 1ab431bc32 Fix clang 2026-02-10 09:42:58 +03:00
cdozdil 3ebb11b1af Merge branch 'master' of https://github.com/optiscaler/OptiScaler 2026-02-10 02:20:55 +03:00
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
TheRazerMD f56231abce Some INI changes 2026-02-10 00:03:34 +01:00
TheRazerMD 8e22ee1b6d Merge branch 'master' of https://github.com/optiscaler/OptiScaler 2026-02-09 23:46:21 +01:00
TheRazerMD e85cf3a07c Modified Endfield quirks
* Removed DontUseNtDllHooks due to causing major performance issues
2026-02-09 23:45:02 +01: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