Searched refs:objectSystemMemoryUsage (Results 1 – 1 of 1) sorted by relevance
372 size_t objectSystemMemoryUsage, in getSafeObjectCount() argument379 if (objectSystemMemoryUsage > 0) in getSafeObjectCount()380 return de::min(memoryLimits.totalSystemMemory / objectSystemMemoryUsage, in getSafeObjectCount()385 else if (objectSystemMemoryUsage + roundedUpDeviceMemory > 0) in getSafeObjectCount()387 DE_ASSERT(roundedUpDeviceMemory <= std::numeric_limits<size_t>::max() - objectSystemMemoryUsage); in getSafeObjectCount()388 return memoryLimits.totalSystemMemory / (objectSystemMemoryUsage + (size_t)roundedUpDeviceMemory); in getSafeObjectCount()406 size_t getSafeObjectCount (Context& context, size_t objectSystemMemoryUsage, VkDeviceSize objectDev… in getSafeObjectCount() argument408 …return getSafeObjectCount(getPlatformMemoryLimits(context), objectSystemMemoryUsage, objectDeviceM… in getSafeObjectCount()