Rewrite of the graphics and present queue index determination#104
Rewrite of the graphics and present queue index determination#104gpx1000 merged 1 commit intoKhronosGroup:mainfrom
Conversation
f501e9d to
51e260c
Compare
|
Note, that this should not be merged yet! In case the graphics and the present index are different, the following code would fail: It's just the The question now is: should the index determination be simplified, such that just one index is determined, and just one queue is requested? Or should the device creation part be extended to correctly handle different graphics and present queue? |
|
Tbh. the no. of devices that don't support present on graphics is so miniscule and if compared to how much more code that adds, I'd just skip that and simply mentioned it in the docs. I don't think anyone doing the tutorial will ever run into such a configuration. |
51e260c to
e7d8661
Compare
|
@SaschaWillems Totally agree. Just asking for a queue with both graphics and present support makes it much easier. |
gpx1000
left a comment
There was a problem hiding this comment.
Yep, agreed that this is easier and there's little chance anyone will ever really run into a need to do it the current way.
22344e4 to
415afc9
Compare
… the two queue indices. If it looks good, I can again carry that over to all the other chapters.
415afc9 to
1a2c4e3
Compare
|
OK, carried the modifications over to all the other chapters. Please pay special attention to chapters 33 and 34, which were slightly different than the others. Note, that I could not run any of the programs, as I'm currently not able to build them. That is, would be great if someone else could verify, that they are still alive. |
|
I'll review and run all of them. Working on it now. |
|
Alright, it seems everything is working for me here in Linux. |
SaschaWillems
left a comment
There was a problem hiding this comment.
Working fine for me on Windows
|
Since we don't have a strict "three approvals" rule over here: Should we just merge this? |
|
Yes, we absolutely should. I'll merge it now. I was waiting for the docs call that was yesterday in case we were going to go over them. |
Replaces #93.