Skip to content
Snippets Groups Projects
Commit b1408fbc authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#66] Fix layout not being updated

parent d85734c7
No related branches found
No related tags found
1 merge request!54Resolve "Cmd/Sync-Rework"
Pipeline #25458 passed
...@@ -287,6 +287,7 @@ namespace vkcv { ...@@ -287,6 +287,7 @@ namespace vkcv {
auto& image = m_images[id]; auto& image = m_images[id];
const auto transitionBarrier = createImageLayoutTransitionBarrier(image, newLayout); const auto transitionBarrier = createImageLayoutTransitionBarrier(image, newLayout);
recordImageBarrier(cmdBuffer, transitionBarrier); recordImageBarrier(cmdBuffer, transitionBarrier);
image.m_layout = newLayout;
} }
void ImageManager::fillImage(const ImageHandle& handle, void* data, size_t size) void ImageManager::fillImage(const ImageHandle& handle, void* data, size_t size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment