PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
514 stars 65 forks source link

Compute only queue fix #32

Closed dorian-apanel-intel closed 1 year ago

dorian-apanel-intel commented 1 year ago

Create new array of command buffers pools to be used by compute only queue. Adds new optional argument to CommandBufferManager::get_command_buffer to get compute only command buffers. Do not use pipeline statistics queries in compute only queue.

Related to: #31

theWatchmen commented 1 year ago

Thanks again for the PR. While testing locally I noticed the timestamp queries were no longer working, so I made some changes on top of yours to fix it.

I just realized I should have merged this PR and then make the changes so that authorship would have been maintained. Sorry about that :( I will remember for the next PR.