diff --git a/computecullandlod/computecullandlod.cpp b/computecullandlod/computecullandlod.cpp index 9bd42744..6509f364 100644 --- a/computecullandlod/computecullandlod.cpp +++ b/computecullandlod/computecullandlod.cpp @@ -800,11 +800,11 @@ public: submitInfo.pCommandBuffers = &drawCmdBuffers[currentBuffer]; // Wait on present and compute semaphores - std::vector stageFlags = { + std::array stageFlags = { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, }; - std::vector waitSemaphores = { + std::array waitSemaphores = { semaphores.presentComplete, // Wait for presentation to finished compute.semaphore // Wait for compute to finish };