Skip to content

Remove legacy barrier functions. - #745

Merged
RubyNova merged 4 commits into
mainfrom
bugfix/vulkan-memory-corruption-v2
Nov 25, 2026
Merged

RubyNova merged 4 commits into
mainfrom
bugfix/vulkan-memory-corruption-v2

Conversation

@RubyNova

@RubyNova RubyNova commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)

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.

@RubyNova
RubyNova force-pushed the bugfix/vulkan-memory-corruption-v2 branch from 194dadc to 195dc88 Compare November 25, 2026 00:06
@RubyNova
RubyNova marked this pull request as ready for review November 25, 2026 00:29
@RubyNova
RubyNova merged commit b198ddb into main Nov 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants