inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
777 stars 34 forks source link

Support command pools for other queues than graphics queues #486

Open IAmNotHanni opened 1 year ago

IAmNotHanni commented 1 year ago

Is your feature request related to a problem?

In Vulkan, the command pool must be created for a specific queue. We currently only support graphics queues, not transfer queues or compute queues.

Description

We should support other queue types by creating additional thread local command pools in the device wrapper.

Alternatives

Do not support other queue types than graphics queues.

Affected Code

The device wrapper's code

Operating System

All operating systems