Lines Matching defs:limits
689 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize);
2159 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize);
2588 void validatePointSize (const VkPhysicalDeviceLimits& limits, const deUint32 pointSize);
2601 const VkPhysicalDeviceLimits limits = getPhysicalDeviceProperties(vki, physDevice).limits;
2603 validatePointSize(limits, static_cast<deUint32>(TEST_POINT_SIZE_WIDE));
2604 validatePointSize(limits, static_cast<deUint32>(TEST_POINT_SIZE_SMALL));
2607 void MultiViewPointSizeTestInstance::validatePointSize (const VkPhysicalDeviceLimits& limits, const deUint32 pointSize)
2612 if (!de::inRange(testPointSizeFloat, limits.pointSizeRange[0], limits.pointSizeRange[1]))
2613 TCU_THROW(NotSupportedError, "Required point size is outside of the the limits range");
2615 granuleCount = static_cast<float>(deCeilFloatToInt32((testPointSizeFloat - limits.pointSizeRange[0]) / limits.pointSizeGranularity));
2617 if (limits.pointSizeRange[0] + granuleCount * limits.pointSizeGranularity != testPointSizeFloat)