Repository navigation
Remove legacy barrier functions. - #745
Merged
Merged
Conversation
RubyNova
force-pushed
the
bugfix/vulkan-memory-corruption-v2
branch
from
November 25, 2026 00:06
194dadc to
195dc88
Compare
RubyNova
marked this pull request as ready for review
November 25, 2026 00:29
FiniteReality
approved these changes
Nov 25, 2026
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.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature? Sort of? But technically a bug fix
Is there an open issue that this resolves? If so, please link it here.
No.
What is the current behavior? (You can also link to an open issue here)
We have these legacy functions that are causing UX confusion which is leading to bugs.
What is the new behavior (if this is a feature change)?
I've taken the legacy functions out to pasture. :)
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Yes. I renamed an enum value in ImageLayout and I also delete the legacy functions. I have had to adjust how another enum is also set up and also change the memory barrier API to make it more correct and robust. I couldn't find a better way to do this for now. The previous way had possibly too many issues that might be solved once we make our cmdlist more contextual but for now this is fine.
Other information:
VisualNovel.exe works both with and without VVL, no errors. Tested on CachyOS.
Please note
TODO: I haven't added the plural version of the new command yet. I also still need to add support for using them between queues. I think there's a bug there. I'll be doing that as part of this submission, hence it is a draft at the moment.