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

[#69] Add buffer memory barrier

parent 961d62c9
No related branches found
No related tags found
1 merge request!56Resolve "Partikelsystem"
...@@ -240,6 +240,8 @@ int main(int argc, const char **argv) { ...@@ -240,6 +240,8 @@ int main(int argc, const char **argv) {
{vkcv::DescriptorSetUsage(0,core.getDescriptorSet(computeDescriptorSet).vulkanHandle)}, {vkcv::DescriptorSetUsage(0,core.getDescriptorSet(computeDescriptorSet).vulkanHandle)},
pushConstantDataCompute); pushConstantDataCompute);
core.recordBufferMemoryBarrier(cmdStream, particleBuffer.getHandle());
vkcv::PushConstantData pushConstantDataDraw((void *) mvp.data(), sizeof(glm::mat4)); vkcv::PushConstantData pushConstantDataDraw((void *) mvp.data(), sizeof(glm::mat4));
core.recordDrawcallsToCmdStream( core.recordDrawcallsToCmdStream(
cmdStream, cmdStream,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment