-
Notifications
You must be signed in to change notification settings - Fork 134
feat: upscaling using drs system #1391
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
Closed
Closed
Changes from all commits
Commits
Show all changes
201 commits
Select commit
Hold shift + click to select a range
8e8ac2a
feat: upscaling based drs
doodlum 4222109
fix: dont use ultra performance
doodlum c0f4448
chore: reduce taa jitter
doodlum 7e5a237
fix: only add tearing for fsrfg
doodlum d46b22b
feat: synced DLSS mode with FSR
doodlum 5c0e25f
revert: does not fix
doodlum 58531c3
fix: fix jitters amount
doodlum 5279f43
fix: fix screenshot screen size
doodlum 0dfd244
chore: cleanup
doodlum 3e9f2ce
chore: pixel perfect upscaling
doodlum 4932dc4
fix: fix menus with upscaling
doodlum fd59a80
chore: move upscale preset above sharpness
doodlum 021520b
chore: update ui
doodlum bee4855
feat: hdr space upscaling
doodlum b63464c
chore: cleanup
doodlum c85d039
fix: fix allow upscaling setting
doodlum d627ed8
fix: missing semicolon
doodlum affd104
feat: depth upscaling
doodlum 1ff5deb
feat: shadow fix
doodlum 277208e
chore: cleanup
doodlum 1f78f2f
chore: settings cleanup and working taa
doodlum 5f9cb47
chore: remove skyrim upscaler detection
doodlum 80b9c58
fix: fix precipitation and skylighting
doodlum aa03bb5
chore: plugin init things
doodlum ac2e85b
chore: most ae work
doodlum 3b10e7c
feat: ae support
doodlum 0e23d6e
chore: remove upscaler checks
doodlum 60962e5
fix: add VR addresses
alandtse c97e34a
fix: fix some shaders to use upscaling
doodlum b757fe5
fix: fix facegen with upscaling
doodlum 28f36c0
chore: use actual name
doodlum 1c3f78c
chore: do depth upscale alongside other upscaling
doodlum 1c5e2d9
chore: disable fg
doodlum 7011c98
chore: slightly sharper screenspace shadows
doodlum 2df32ea
chore: remove update viewport, not needed
doodlum 7034fbb
chore: update streamline, remove dlssg
doodlum 6dfdc1c
chore: update dlss dll
doodlum 430f049
chore: cleanup plugins
doodlum 5cffc1e
chore: update ui info
doodlum 93434b8
chore: more streamline updates
doodlum 74e177d
chore: lock off flatrim specific hooks
doodlum 4c7610b
chore: start on vr upscale
doodlum 4a1e49d
chore: reduce skylighting blur with drs
doodlum 726692a
feat: transparency mask
doodlum 999e43d
chore: cleanup
doodlum 84c7e94
chore: xess dx11
doodlum 2f7e000
feat: xess working but vibecode
doodlum 57a8925
chore: use winrt
doodlum 487c824
chore: add wrapped resource destructor
doodlum 74f3acd
chore: use throwiffailed
doodlum 8bb5f3a
chore: clean up nonsense
doodlum 2613a1e
chore: set resource states
doodlum 1f87e82
feat: working xess
doodlum 97d013c
chore: cleanup
doodlum 555d39f
chore: optimise copies
doodlum 3063848
chore: minimise copies
doodlum d454631
chore: move interop into upscaling, cleanup xess
doodlum 6c0c2cb
chore: try to optimise xess
doodlum ae9e3b7
fix: xess performance
doodlum fb1ca5c
chore: cleanup xess
doodlum 652c052
chore: cleanup settings changes
doodlum 2b8743a
chore: add back sharpening
doodlum 625ae2b
feat: fsr via api
doodlum 2a3421a
chore: cleanup
doodlum f4e906f
chore: cleanup
doodlum 86ef855
fix: crash nonsense
doodlum b93d70d
chore: match sharpness between upscalers
doodlum 623d53c
chore: use xess resolution scale
doodlum 2df9b51
chore: use dlss resolution scale
doodlum b115617
chore: remove fsr upscaling
doodlum 8ff3d37
chore: remove xess vk
doodlum d7d750c
chore: cleanup
doodlum 931319c
chore: cleanup
doodlum 1779d1e
chore: optimise encode textures
doodlum 4bf8627
chore: xess tweaks
doodlum 90dcdfd
chore: clean up sss related issues
doodlum df05084
chore: cleanup vr depth
doodlum 02a5ecd
fix: use minimum to pass on edges
doodlum 533ee6e
chore: disable ui taa
doodlum fa664b2
fix: fix upscaling on vr
doodlum 360d036
chore(xess): add debug logging
alandtse a773769
fix(VR): add FrameBufferCache
alandtse 687d2f2
feat: add taa drs
doodlum 3ef9572
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] 2059636
chore: optimise vr copies
doodlum cd026d3
Merge branch 'upscaling-drs-xess' into vr_xess_upscaler
doodlum 7299f15
fix(VR): add FrameBufferCache (#1374)
doodlum 42e9b5c
chore: do not sharpen vr
doodlum 0a6f4cd
chore: depth optimisations
doodlum fa22772
fix: taa not being disabled
doodlum 813e7f3
chore: mostly finalise upscaling
doodlum 61f1807
chore: max out sharpness for xess
doodlum 8edf2a9
fix: fix reactive mask
doodlum 7ae118d
fix: less aggressive encode
doodlum a0ec63a
chore: less aggressive sharpening, too scene dependant
doodlum 58e2f05
fix: fix movie videos
doodlum 638dbdf
fix: flickering on water
doodlum 86c58a3
fix: sort of fix shadows
doodlum b402521
chore: scale both axis
doodlum 2bb5a63
chore: increase sample count
doodlum 836b50a
fix: fix shadow artifacts
doodlum 19f09c6
chore: restore shadow blur to fix issues
doodlum 6e08057
fix: fix ConvertToDynamic on menus
doodlum b7ba1cb
chore: remove rcas due to flicker complaints
doodlum 5d19ca6
refactor: simplify redundant code
alandtse 23f8cf0
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] fe713e7
chore: address ai comments
alandtse 78e0d03
Merge branch 'upscaling_sss_refactor' of https://github.com/alandtse/…
alandtse 2ba4f44
refactor(sss): simplify redundant code (#1379)
doodlum 6651ddd
build: use portfile for xess (#1378)
alandtse 6f97033
chore: add back fsr
doodlum 2409ce5
fix: fix xess/fsr crash
doodlum ee678f7
chore: clean up fsr
doodlum e83d949
fix(VR): reenable upscaling
alandtse b546861
feat: cursed denoising of shadows
doodlum e5c9e77
chore: add fidelityfx resolution ratio
doodlum 2baee12
chore: completely remove dx11 fsr
doodlum 9268933
Update src/Upscaling.cpp
doodlum c6d379a
Update src/Upscaling.cpp
doodlum d99c47e
Update src/Upscaling.cpp
doodlum 15eee31
fix(VR): SSS
alandtse ff78074
chore: kill claude
doodlum ac7a91d
fix: fix load screens
doodlum a116600
chore: revert skylighting
doodlum 09926a5
chore: add drs support for llf
doodlum 06aaf82
feat: upscaling working again
doodlum 7d40095
fix: fix fg on loading screens
doodlum 23913d2
feat: separate ui from framegen
doodlum 4c5c9f5
chore: mitigate tree flicker
doodlum c784af2
chore: jitter taa for consistency
doodlum c439bbc
fix: fix llf padding
doodlum ab445f4
fix: fix padding
doodlum 6250d0b
fix: utility compile error
doodlum 629fdac
chore: upscaling vr updates (#1389)
doodlum 197a7c2
Merge branch 'upscaling-drs-xess' of https://github.com/doodlum/skyri…
doodlum 1042162
feat: offset fg menu latency
doodlum c5eef85
chore: clean up hooks
doodlum f599a0f
chore: only on flatrim
doodlum 09aaac7
chore: fg fixes
doodlum c7f0a8a
chore: remove taa as upscale compatible
doodlum e575415
feat: add ultra performance option
doodlum 9ef4d31
chore: remove uneeded swapchain replacement
doodlum f356dd4
fix: dlss memory leak
doodlum d45eefd
fix: revert dlss file
doodlum 69f79f5
fix: actually fix memory leak
doodlum 656e210
chore: clean up fg code
doodlum da4967d
chore: better latency handling
doodlum 5ba653d
chore: optimise menus resolution
doodlum 448fed7
chore: add back optimised swapchain type
doodlum 0ee8d09
chore: mostly move upscaling to its own feature
doodlum 4cfbd9c
chore: more work porting to feature
doodlum 1efbf69
chore: ai based cleanup
doodlum 19253a8
fix: fix most upscaling issues with features system
doodlum bda9446
chore: move upscaling features inside
doodlum c42cd61
chore: minor cleanup
doodlum a6e2950
chore: abbreviate taa
doodlum d98382a
chore: kill claude again
doodlum 1413a49
chore: remove swap effect, fg handles this
doodlum a6fc42c
fix: fix dynamic sample count
doodlum a70893b
chore: move dx12 swapchain
doodlum a3d509c
chore: less upscaling complaints
doodlum 98937b8
fix: fix reshade issues
doodlum f8842f7
chore: change upscaling category
doodlum 8574829
chore: less spaghetti upscaling code
doodlum a32b571
chore: remove display menu
doodlum c8ee838
chore: address some rabbit comments
doodlum ed9a92f
chore: load fidelityfx from root dir first
doodlum 8196ae1
fix: fix shader issues
doodlum bf05bde
fix: maybe fix vr sss
doodlum 6170471
chore: add vr eye bounds
doodlum d8444fb
fix: correct write behaviour
doodlum 3a2dbc7
chore: make compiler happy
doodlum eaa8b34
fix: sss
doodlum 65c25a9
fix(VR): hanging on startup
alandtse 7ca3f85
refactor: add Load Hook
alandtse ab0bf53
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] 4905ae3
chore: try to make compiler tests happy
doodlum 4e6c8e2
chore: maybe quicker compile
doodlum 1fd9552
fix(VR): hanging on startup (#1394)
doodlum 29a2fa3
Merge branch 'upscaling-drs-xess' of https://github.com/doodlum/skyri…
doodlum 181a843
fix: vr motion vector fixes
doodlum 6237f6f
fix: and clean up graphics hooks
doodlum a0e2c45
fix: fix vr mipbias
doodlum 494ffe8
fix: fix sss not compiling
doodlum e3e9efe
fix: fixed vr sss
doodlum 98c5e6f
chore: dont reduce screensize or too small range on vr
doodlum d72f1c5
fix: vr drs on sss
doodlum 92263c9
fix: fix vr composite for drs
doodlum 143a772
fix: fix vr culling
doodlum b1b10d0
chore: disable vr jitter
doodlum 294b917
fix: fix flat drs idk why
doodlum ba1dd37
chore: upscale buffers instead of shader changes
doodlum 85c210b
chore: move plugins location
doodlum 4b24a4a
chore: optimisations
doodlum 62377a9
fix: fix bad style pop
doodlum 56593e8
fix: add nullptr to frametoken
doodlum d757bc5
fix: logic fixes
doodlum eb5960a
chore: use comptrs for safety
doodlum 52526f0
fix(VR): hooks for refraction and underwater
alandtse a6189e0
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] 8077891
fix(VR): hooks for refraction and underwater (#1399)
doodlum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ shadertoolsconfig.json | |
|
|
||
| # Folder view configuration files | ||
| **/.DS_Store | ||
| .claude/settings.local.json | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,6 @@ | ||
| [submodule "extern/CommonLibSSE-NG"] | ||
| path = extern/CommonLibSSE-NG | ||
| url = https://github.com/alandtse/CommonLibVR.git | ||
| [submodule "extern/FidelityFX-SDK"] | ||
| path = extern/FidelityFX-SDK | ||
| url = https://github.com/MapleHinata/FidelityFX-SDK.git | ||
| [submodule "extern/Streamline-DX12"] | ||
| path = extern/Streamline-DX12 | ||
| url = https://github.com/NVIDIAGameWorks/Streamline.git |
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
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # XeSS SDK Configuration | ||
| # This file configures the Intel XeSS SDK integration for the project | ||
|
|
||
| # XeSS is dynamically loaded at runtime, so we don't need to link against static libraries | ||
| # The XeSS DLL (libxess.dll) should be placed in the Data/SKSE/Plugins/XeSS directory | ||
|
|
||
| # Find XeSS headers installed by vcpkg port | ||
| find_path(INTEL_XESS_INCLUDE_DIRS "xess/xess.h") | ||
|
|
||
| if(INTEL_XESS_INCLUDE_DIRS) | ||
| message(STATUS "XeSS SDK headers found via vcpkg at ${INTEL_XESS_INCLUDE_DIRS}") | ||
| target_include_directories( | ||
| ${PROJECT_NAME} | ||
| PRIVATE | ||
| ${INTEL_XESS_INCLUDE_DIRS} | ||
| ) | ||
| else() | ||
| message(WARNING "XeSS SDK headers not found - XeSS compilation may fail") | ||
| message(STATUS "Make sure intel-xess is installed via vcpkg") | ||
| endif() | ||
|
|
||
| # Link required D3D12 libraries for interop | ||
| target_link_libraries( | ||
| ${PROJECT_NAME} | ||
| PRIVATE | ||
| d3d12.lib | ||
| dxgi.lib | ||
| ) | ||
|
|
||
| # Add preprocessor definition to enable XeSS support | ||
| target_compile_definitions( | ||
| ${PROJECT_NAME} | ||
| PRIVATE | ||
| XESS_SUPPORT=1 | ||
| ) | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Intel XeSS SDK - headers only | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO intel/xess | ||
| REF v2.1.0 | ||
| SHA512 6129abf9a271c366e8d04f2676ec8f39858cd8e1530b0178911a0c5e1c616db56bc6c577aa3cec2d63f23310cedb658f5e7b463469bb467482bb40af59ed155a | ||
| HEAD_REF main | ||
| ) | ||
|
|
||
| # Install only the necessary header files (not the entire repo) | ||
| set(XESS_HEADERS_SOURCE ${SOURCE_PATH}/inc/xess) | ||
| file(INSTALL ${XESS_HEADERS_SOURCE} DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
|
|
||
| # Install copyright | ||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "intel-xess", | ||
| "version": "2.1.0", | ||
| "port-version": 1, | ||
| "description": "Intel Xe Super Sampling (XeSS) SDK - AI-based upscaling technology (headers only)", | ||
| "homepage": "https://github.com/intel/xess", | ||
| "supports": "windows" | ||
| } |
Submodule FidelityFX-SDK
deleted from
8138c9
Submodule Streamline-DX12
updated
from d4837e to 3e78b8
408 changes: 0 additions & 408 deletions
408
features/Frame Generation/SKSE/Plugins/Streamline/nvngx_dlss.license.txt
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
21 changes: 0 additions & 21 deletions
21
features/Frame Generation/SKSE/Plugins/Streamline/sl.dlss_g.license.txt
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| [Info] | ||
| Version = 2-2-0 | ||
| Version = 2-2-1 |
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
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
2 changes: 1 addition & 1 deletion
2
features/Screen-Space Shadows/Shaders/Features/ScreenSpaceShadows.ini
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| [Info] | ||
| Version = 1-2-1 | ||
| Version = 1-2-2 |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Define XESS_SUPPORT only when headers are found; otherwise build may break
XESS_SUPPORT is currently defined unconditionally, which can cause compilation failures when xess headers are missing. Define it only when headers are found; optionally define XESS_SUPPORT=0 in the else branch.
Apply this diff:
find_path(INTEL_XESS_INCLUDE_DIRS "xess/xess.h") if(INTEL_XESS_INCLUDE_DIRS) message(STATUS "XeSS SDK headers found via vcpkg at ${INTEL_XESS_INCLUDE_DIRS}") target_include_directories( ${PROJECT_NAME} PRIVATE ${INTEL_XESS_INCLUDE_DIRS} ) + # Add preprocessor definition to enable XeSS support when headers are available + target_compile_definitions( + ${PROJECT_NAME} + PRIVATE + XESS_SUPPORT=1 + ) else() message(WARNING "XeSS SDK headers not found - XeSS compilation may fail") message(STATUS "Make sure intel-xess is installed via vcpkg") + # Optionally set to 0 so code can guard on #if XESS_SUPPORT + target_compile_definitions( + ${PROJECT_NAME} + PRIVATE + XESS_SUPPORT=0 + ) endif() # Link required D3D12 libraries for interop target_link_libraries( ${PROJECT_NAME} PRIVATE d3d12.lib dxgi.lib ) - -# Add preprocessor definition to enable XeSS support -target_compile_definitions( - ${PROJECT_NAME} - PRIVATE - XESS_SUPPORT=1 -)Optional: Add PATH_SUFFIXES to find_path to improve robustness with some toolchains:
🤖 Prompt for AI Agents