You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::make_pair(bool(assetManager), "Invalid `creationParams.assetManager` is nullptr!"),
58
-
std::make_pair(bool(assetManager->getSystem()), "Invalid `creationParams.assetManager->getSystem()` is nullptr!"),
59
-
std::make_pair(bool(utilities), "Invalid `creationParams.utilities` is nullptr!"),
60
-
std::make_pair(bool(transfer), "Invalid `creationParams.transfer` is nullptr!"),
61
-
std::make_pair(bool(renderpass), "Invalid `creationParams.renderpass` is nullptr!"),
62
-
(assetManager && utilities && transfer && renderpass) ? std::make_pair(bool(utilities->getLogicalDevice()->getPhysicalDevice()->getQueueFamilyProperties()[transfer->getFamilyIndex()].queueFlags.hasFlags(video::IQueue::FAMILY_FLAGS::TRANSFER_BIT)), "Invalid `creationParams.transfer` is not capable of transfer operations!") : std::make_pair(false, "Pass valid required DrawAABB::S_CREATION_PARAMETERS!")
if (!bool(utilities->getLogicalDevice()->getPhysicalDevice()->getQueueFamilyProperties()[transfer->getFamilyIndex()].queueFlags.hasFlags(video::IQueue::FAMILY_FLAGS::TRANSFER_BIT)))
63
+
{
64
+
logger.log("Invalid `creationParams.transfer` is not capable of transfer operations!", system::ILogger::ELL_ERROR);
65
+
returnfalse;
66
+
}
72
67
73
68
returntrue;
74
69
}
@@ -80,8 +75,8 @@ namespace nbl::ext::debug_draw
80
75
// creates pipeline layout from push constant range
0 commit comments