Skip to content

[Vulkan] Remove redundant VkImage transition that was possibly breaking some GPU hardware. - #744

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

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

Conversation

@RubyNova

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, ...)
Bug fix

Is there an open issue that this resolves? If so, please link it here.
Resolves #741

What is the current behavior? (You can also link to an open issue here)
on iGPUs it breaks as described in #741

What is the new behavior (if this is a feature change)?
It no longer does this and our all-black VkImage clear works as intended

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
no

Other information:
This was tested in another PR that ended up becoming a pigsty so this is my attempt to submit a clean submission in a real PR. I am still awaiting feedback to make sure this cleaner version of the fix still works.

@RubyNova RubyNova added bug Something isn't working engine core Tickets pertaining to the engine core codebase. engine api Tickets pertaining to NovelRT's end-user API. labels Nov 22, 2026
…d also bringing code into line with our conventions and formatting rules.

@capnkenny capnkenny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment

struct PerFrameResources
{
uint64_t frameNumber;
uint64_t FrameNumber;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this following our clang-format guidelines?

I thought that private members should be camelCased, not PascalCased

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang tidy/clang format was enforcing it on me and I was getting annoyed lol, but also in a struct they're public

@RubyNova
RubyNova merged commit cd52995 into main Nov 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working engine api Tickets pertaining to NovelRT's end-user API. engine core Tickets pertaining to the engine core codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON array screen flicker

3 participants