Implement bindless pipeline to optimize VRAM usage#504
Draft
PancakeTAS wants to merge 31 commits intodevelopfrom
Draft
Implement bindless pipeline to optimize VRAM usage#504PancakeTAS wants to merge 31 commits intodevelopfrom
PancakeTAS wants to merge 31 commits intodevelopfrom
Conversation
I think RenderDoc attaches a fence or something, so the dispatch never returns. And ontop of this it looks like timeline semaphores can be signaled back to a lower value, when shared across processes
This is a temporary commit, such that the console is not filled with message that cannot be turned off
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
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.
After 9 weeks of experimenting with Vulkan, I have finally finished the bindless pipeline. Some small issues are still left to be ironed out, but the pipeline is usable and fast.
The new pipeline intelligently reuses memory, requiring 40% to 70% less VRAM to run. The bindless design of the new pipeline furthermore reduces CPU overhead, leading to a ~5-20% performance uplift on desktop GPUs, or a ~5% performance uplift on the Steam Deck.
A detailed explanation of what was done can be found in #483.
This version of lsfg-vk once again requires new shaders, packaged in a new DLL file called lsfg-vk.dll. It has not yet been uploaded to Steam and may take a bit longer until it is. Switch to the linux-testing branch to get the update as early as possible.
Closes #483