Implement texture atlas for fonts
This commit is contained in:
1 parent
17dc1e4d88
commit
22a90fe07c
14 files changed
+388
-50
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user