Adding agents.md, fixing long-broken initializer list constructor
This commit is contained in:
1 parent
6a6294c67d
commit
ff2e4e642d
12 files changed
+484
-526
No files matched your search
@@ -32,12 +32,12 @@ void Queue::submitCommandBuffer(PCommand command, const Array<VkSemaphore>& sign
|
||||
// is also signalled in this same submit.
|
||||
for (VkSemaphore waitHandle : command->waitHandles) {
|
||||
waitSemaphores.add(waitHandle);
|
||||
std::cout << "Semaphore " << waitHandle << " waited on by cmd " << command->getHandle() << std::endl;
|
||||
// std::cout << "Semaphore " << waitHandle << " waited on by cmd " << command->getHandle() << std::endl;
|
||||
}
|
||||
|
||||
for (VkSemaphore signalSemaphore : signalSemaphores) {
|
||||
std::cout << "Semaphore " << signalSemaphore << " is signalled by cmd " << command->getHandle() << std::endl;
|
||||
}
|
||||
// for (VkSemaphore signalSemaphore : signalSemaphores) {
|
||||
// std::cout << "Semaphore " << signalSemaphore << " is signalled by cmd " << command->getHandle() << std::endl;
|
||||
// }
|
||||
|
||||
VkSubmitInfo submitInfo = {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO,
|
||||
|
||||
@@ -234,7 +234,7 @@ void Seele::Vulkan::Window::endFrame() {
|
||||
.pResults = &swapChainResult,
|
||||
};
|
||||
VkResult r = vkQueuePresentKHR(graphics->getGraphicsCommands()->getQueue()->getHandle(), &presentInfo);
|
||||
std::cout << "Semaphore " << renderDoneHandle << " signals present for image index " << currentImageIndex << std::endl;
|
||||
// std::cout << "Semaphore " << renderDoneHandle << " signals present for image index " << currentImageIndex << std::endl;
|
||||
if (swapChainResult == VK_ERROR_OUT_OF_DATE_KHR || swapChainResult == VK_SUBOPTIMAL_KHR || r == VK_ERROR_OUT_OF_DATE_KHR || r == VK_SUBOPTIMAL_KHR) {
|
||||
createSwapChain();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user