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$
$\endgroup$
5
-
$\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$– Nicol BolasApr 9, 2020 at 17:28
-
$\begingroup$ This is the code. $\endgroup$– E.sApr 9, 2020 at 19:17
-
1$\begingroup$ Clearly, that's not your code. $\endgroup$– j00hiApr 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 FApr 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$– j00hiApr 14, 2020 at 14:15
Add a comment
|