Home
last modified time | relevance | path

Searched refs:deFloatCeil (Results 1 – 25 of 39) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput))); in checkColor()
184 channelChoices.push_back(de::max(0, (int)deFloatCeil(scaledInput) - 1)); in checkColor()
188 channelChoices.push_back(de::max(0,(int)deFloatCeil(scaledInput) - 2)); in checkColor()
189 channelChoices.push_back(de::max(0,(int)deFloatCeil(scaledInput) + 1)); in checkColor()
196 channelChoices.push_back((int)deFloatCeil(scaledInput) - 2); in checkColor()
198 channelChoices.push_back((int)deFloatCeil(scaledInput) + 1); in checkColor()
Des3fShaderCommonFunctionTests.cpp1308 const float ref1 = deFloatCeil(in0); in compare()
1419 const float ref = deFloatCeil(in0); in compare()
1440 const int minRes = int(deFloatCeil(in0-eps)); in compare()
1441 const int maxRes = int(deFloatCeil(in0+eps)); in compare()
Des3fShaderConstExprTests.cpp121 …{"ceil", "ceil(${T} (82.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCeil(82.2f)… in init()
Des3fStencilTests.cpp286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDitheringTests.cpp183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput))); in checkColor()
184 channelChoices.push_back(de::max(0, (int)deFloatCeil(scaledInput) - 1)); in checkColor()
190 channelChoices.push_back((int)deFloatCeil(scaledInput) - 2); in checkColor()
192 channelChoices.push_back((int)deFloatCeil(scaledInput) + 1); in checkColor()
Des2fShaderConstExprTests.cpp109 …{"ceil", "ceil(${T} (82.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCeil(82.2f)… in init()
Des2fStencilTests.cpp283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgUtils.hpp63 float newMin = deFloatCeil(min*subdiv)/subdiv; in quantizeFloatRange()
DrsgExpression.cpp564 return (int)deFloatCeil(src); in convert()
580 dstMin = (int)deFloatCeil(srcMin); in convertValueRange()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h166 DE_INLINE float deFloatCeil (float a) { return (float)ceil(a); } in deFloatCeil() function
291 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderUtils.cpp891 level = (float)((int)(deFloatCeil(level) + 0.5f)); in getTessellationLevelAfterVertexSpacing()
918 int level_temp = (int)(deFloatCeil(level) + 0.5f); in getTessellationLevelAfterVertexSpacing()
950 int level_temp = (int)(deFloatCeil(level) + 0.5f); in getTessellationLevelAfterVertexSpacing()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp363 …{ "ceil", "ceil(${T} (82.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatCeil(82.… in init()
401 …{ "ceil", "ceil(${T} (2.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatCeil(2.2f) … in init()
/third_party/vk-gl-cts/framework/common/
DtcuRasterizationVerifier.cpp203 …aabb.z() = (int)deFloatCeil (de::max(de::max(screenSpace[0].x(), screenSpace[1].x()), screenSpace[… in getTriangleAABB()
204 …aabb.w() = (int)deFloatCeil (de::max(de::max(screenSpace[0].y(), screenSpace[1].y()), screenSpace[… in getTriangleAABB()
810 const tcu::IVec3 colorMax ((int)deFloatCeil (colorMaxF.x()), in verifyTriangleGroupInterpolationWithInterpolator()
811 (int)deFloatCeil (colorMaxF.y()), in verifyTriangleGroupInterpolationWithInterpolator()
812 (int)deFloatCeil (colorMaxF.z())); in verifyTriangleGroupInterpolationWithInterpolator()
1898 const tcu::IVec3 colorMax ((int)deFloatCeil (colorMaxF.x()), in verifyLineGroupPixelIndependentInterpolation()
1899 (int)deFloatCeil (colorMaxF.y()), in verifyLineGroupPixelIndependentInterpolation()
1900 (int)deFloatCeil (colorMaxF.z())); in verifyLineGroupPixelIndependentInterpolation()
2257 const tcu::IVec3 colorMax ((int)deFloatCeil (colorMaxF.x()), in verifySinglesampleWideLineGroupInterpolation()
2258 (int)deFloatCeil (colorMaxF.y()), in verifySinglesampleWideLineGroupInterpolation()
[all …]
DtcuTexture.cpp2512 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray1DOffset()
2570 …sLinearMipmapMode ? (int)deFloatFloor(minLodRelative) : deClamp32((int)deFloatCeil(minLodRelative … in sampleLevelArray2DOffset()
2590 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DOffset()
2663 …sLinearMipmapMode ? (int)deFloatFloor(minLodRelative) : deClamp32((int)deFloatCeil(minLodRelative … in sampleLevelArray3DOffset()
2682 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray3DOffset()
2725 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray1DCompare()
2765 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DCompare()
3106 …sLinearMipmapMode ? (int)deFloatFloor(minLodRelative) : deClamp32((int)deFloatCeil(minLodRelative … in sampleLevelArrayCubeSeamless()
3121 …const int index = cond ? (int)deFloatFloor(minLodRelative) : ((int)deFloatCeil(minLodRelative + 0.… in sampleLevelArrayCubeSeamless()
3150 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArrayCubeSeamless()
[all …]
DtcuTexCompareVerifier.cpp861 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1460 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1534 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1606 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1685 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1763 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
DtcuTexLookupVerifier.cpp1433 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1498 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1815 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1847 const int maxL = (int)deFloatCeil(layerCoord + err + 0.5f) - 1; // Round up in computeLayerRange()
1902 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1972 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
2066 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
2167 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
DtcuVectorUtil.hpp481 TCU_DECLARE_VECTOR_UNARY_FUNC(ceil, deFloatCeil)
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSampleShadingTests.cpp336 DE_ASSERT(deFloatCeil(ratio * (float)m_numTargetSamples) == float(sampleCount)); in setShadingValue()
Des31fShaderCommonFunctionTests.cpp1388 const float ref1 = deFloatCeil(in0); in compare()
1499 const float ref = deFloatCeil(in0); in compare()
1520 const int minRes = int(deFloatCeil(in0-eps)); in compare()
1521 const int maxRes = int(deFloatCeil(in0+eps)); in compare()
Des31fFboTestUtil.cpp608 const int error = int(deFloatCeil(255.0f * 2.0f / float(srcMaxValue))); in calculateU8ConversionError()
Des31fPrimitiveBoundingBoxTests.cpp895 pixelBox.x() = (int)deFloatCeil(vertexBox.x()+halfPixel); in getViewportPatternArea()
896 pixelBox.y() = (int)deFloatCeil(vertexBox.y()+halfPixel); in getViewportPatternArea()
904 pixelBox.z() = (int)deFloatCeil(vertexBox.z()+halfPixel); in getViewportPatternArea()
905 pixelBox.w() = (int)deFloatCeil(vertexBox.w()+halfPixel); in getViewportPatternArea()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationUtil.cpp396 int result = (int)deFloatCeil(clampedTessLevel); in getRoundedTessLevel()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.cpp396 int result = (int)deFloatCeil(clampedTessLevel); in getRoundedTessLevel()
/third_party/vk-gl-cts/modules/glshared/
DglsStateQueryUtil.hpp77 return (T)(deFloatCeil(val - 0.5f)); in roundGLfloatToNearestIntegerHalfDown()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
DvktRasterizationTests.cpp2764 const float totalOverestimateInSubPixels = deFloatCeil(totalOverestimate * float(subPixels)); in generateDegenerateTriangles()
3567 const float totalOverestimateInSubPixels = deFloatCeil(totalOverestimate * float(subPixels)); in generateDegenerateLines()
4158 …const int renderEnd = int(deFloatCeil(pointEdgeEnd)) + int((deFloatFrac(pointEdgeEnd) > 0.0f) ?… in generatePoints()
4177 const int renderStart = (m_renderSize / 2) + int(deFloatCeil(pointEdgeStart)); in generatePoints()
4195 const int renderStart = (m_renderSize / 2) + int(deFloatCeil(pointEdgeStart)); in generatePoints()
4212 const int renderStart = (m_renderSize / 2) + int(deFloatCeil(pointEdgeStart)) + 1; in generatePoints()

12