Update computeshader.cpp

This commit is contained in:
Ender Doe 2020-05-30 10:40:46 -04:00 committed by GitHub
parent cac1d2e850
commit 831442eb18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -632,7 +632,7 @@ public:
VulkanExampleBase::submitFrame(); VulkanExampleBase::submitFrame();
// Submit compute commands // Submit compute commands
// Use a fence to ensure that compute command buffer has finished executin before using it again // Use a fence to ensure that the compute command buffer has finished executing before using it again
vkWaitForFences(device, 1, &compute.fence, VK_TRUE, UINT64_MAX); vkWaitForFences(device, 1, &compute.fence, VK_TRUE, UINT64_MAX);
vkResetFences(device, 1, &compute.fence); vkResetFences(device, 1, &compute.fence);