Lines Matching defs:limits
38 #include <limits>
67 const tcu::PlatformMemoryLimits& limits)
71 if (limits.totalDeviceLocalMemory == 0)
74 size = std::min(bufferSize, limits.totalSystemMemory - alignment);
79 size = std::min(bufferSize, limits.totalDeviceLocalMemory - alignment);
202 const VkPhysicalDeviceLimits limits = getPhysicalDeviceProperties(vkInstance, vkPhysicalDevice).limits;
209 size = std::min(size, limits.sparseAddressSpaceSize);
239 // should be tested against the platform memory limits as significant portion of the heap
413 const VkPhysicalDeviceLimits limits = getPhysicalDeviceProperties(vkInstance, vkPhysicalDevice).limits;
430 size = std::min(size, limits.sparseAddressSpaceSize);
475 // should be tested against the platform memory limits as a significant portion of the heap
702 const VkPhysicalDeviceLimits limits = getPhysicalDeviceProperties(context.getInstanceInterface(),
703 context.getPhysicalDevice()).limits;
712 params.bufferSize = std::min(params.bufferSize, limits.sparseAddressSpaceSize);