vkcube icon indicating copy to clipboard operation
vkcube copied to clipboard

Spinning Vulkan Cube

Results 20 vkcube issues
Sort by recently updated
recently updated
newest added

Enables building example in cases where XCB and/or Wayland is not present. Signed-off-by: Joel Winarske

Former implementation effectively always selected VK_PRESENT_MODE_FIFO_KHR. This is probably not intended. Intended behaviour is probably selecting VK_PRESENT_MODE_MAILBOX_KHR over fallback VK_PRESENT_MODE_FIFO_KHR, which is established with this commit.

With the Vulkan WSI Wayland MR [1] that adds dma-buf hints support, vkcube may receive `VK_SUBOPTIMAL_KHR` when calling `vkAcquireNextImageKHR()`. In this case, we should recreate the swapchain and pass the...

vkAcquireNextImageKHR() function accepts timeout value in nano-second unit. But, the timeout value is used as milli-second unit at mainloop_wayland(), mainloop_xcb() function as follow. result = vkAcquireNextImageKHR(vc->device, vc->swap_chain, 60, vc->semaphore, VK_NULL_HANDLE,...

Allows building on systems that don't have Wayland or X11

Since we can add a flag to VkDeviceQueueCreateInfo, we need to have a matching value in vkGetDeviceQueue2() and can't use vkGetDeviceQueue : vkGetDeviceQueue must only be used to get queues...

This change adds -w and -h options to specify width and height when running vkcube. Nicolas Caramelli

Is this still needed? Also glslc is a bit of a mystery also.