Function Kataglyphis::pickUploadFamily

Function Kataglyphis::pickUploadFamily#

Function Documentation#

inline std::optional<std::uint32_t> Kataglyphis::pickUploadFamily(std::span<const QueueFamilyShape> families, std::uint32_t graphicsFamily)#

The family that copies a model’s uploads beside the graphics queue: a transfer-only one first, its DMA engine idle otherwise, then a compute one without graphics. Either must copy single texels, as a chain’s tail is 1x1. None, as on llvmpipe’s one family, leaves the uploads on the graphics queue.