Skip to content

Commit

Permalink
fix a barrier position
Browse files Browse the repository at this point in the history
  • Loading branch information
crocdialer committed Sep 20, 2024
1 parent ef76115 commit 470a748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rasterizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,10 +737,10 @@ void Rasterizer::update_buffers(const std::vector<drawable_t> &drawables, Raster
}
else
{
outbuffer->set_data(nullptr, num_bytes);
outbuffer->barrier(frame_asset.staging_command_buffer.handle(), VK_PIPELINE_STAGE_2_TRANSFER_BIT,
VK_ACCESS_2_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_2_TRANSFER_BIT,
VK_ACCESS_2_TRANSFER_WRITE_BIT);
outbuffer->set_data(nullptr, num_bytes);
}

vierkant::staging_copy_info_t info = {};
Expand Down

0 comments on commit 470a748

Please sign in to comment.