I'm following this tutorial on Vulkan and I tried to see if it actually worked with different queues for drawing and presenting the image of the triangle. My GPU supports presentation with every queue family but it actually works only when I use a queue from the first or second family, not the third. Is there anything wrong with the code or is something like that possible?

  • $\begingroup$ Please provide the code where you verify that the queue family you are using does in fact support presentation. Also, show the code where you perform a present operation on a queue from that family. $\endgroup$ Commented Apr 9, 2020 at 17:28
  • $\begingroup$ This is the code. $\endgroup$
    – E.s
    Commented Apr 9, 2020 at 19:17
  • 1
    $\begingroup$ Clearly, that's not your code. $\endgroup$
    – j00hi
    Commented Apr 10, 2020 at 7:28
  • $\begingroup$ @j00hi TBH I can't see that he has asserted that was 'his' code but just that he was using that tutorial. $\endgroup$
    – Simon F
    Commented Apr 14, 2020 at 6:40
  • 1
    $\begingroup$ @SimonF Maybe my comment was a bit misleading --- it wasn't meant to be directed towards code ownership or copyright issues. What I actually wanted to point out: The tutorial code uses the same queue for drawing and presentation. We can not see the code changes w.r.t. "different queues for drawing and presenting the image". Therefore, we can not help if the code changes are not provided. $\endgroup$
    – j00hi
    Commented Apr 14, 2020 at 14:15


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.