Implement texture atlas for fonts

This commit is contained in:
Dynamitos committed 2026-10-21 21:21:49 +02:00
1 parent 17dc1e4d88
commit 22a90fe07c
14 files changed
+388 -50

No files matched your search

+5 -1
View File
@@ -1023,7 +1023,11 @@ void Graphics::createDevice(GraphicsInitializer initializer) {
updateQueueInfo(familyIndex, computeQueueInfo, numQueuesForFamily);
}
}
if ((currProps.queueFlags ^ VK_QUEUE_TRANSFER_BIT) == 0) {
// a queue family is a valid transfer queue if it supports the transfer bit at all
// (previously `(flags ^ TRANSFER) == 0`, which only matched pure-transfer families
// that don't exist on standard drivers: no transfer queue was ever created, so
// every vkQueueSubmit on the transfer queue path failed with VK_ERROR_DEVICE_LOST)
if (currProps.queueFlags & VK_QUEUE_TRANSFER_BIT) {
updateQueueInfo(familyIndex, transferQueueInfo, numQueuesForFamily);
}