Home
last modified time | relevance | path

Searched refs:deFloatSqrt (Results 1 – 25 of 42) sorted by relevance

12

/external/deqp/modules/gles2/functional/
Des2fShaderConstExprTests.cpp96 …{"sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSqrt(10.0f)… in init()
127 …vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
128 …vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
129 …vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
132 …istance(vec2(1.0), vec2(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
133 …istance(vec3(1.0), vec3(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
134 …istance(vec4(1.0), vec4(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
Des2fStencilTests.cpp283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
Des2fMultisampleTests.cpp547 const int numLines = (int)(100.0f * deFloatSqrt((float)m_viewportSize / 256.0f)); in renderPattern()
/external/deqp/modules/gles3/functional/
Des3fShaderConstExprTests.cpp103 …{"sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSqrt(10.0f)… in init()
170 …vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
171 …vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
172 …vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
175 …istance(vec2(1.0), vec2(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
176 …istance(vec3(1.0), vec3(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
177 …istance(vec4(1.0), vec4(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
Des3fStencilTests.cpp286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
Des3fVertexTextureTests.cpp1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod()
1648 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
/external/angle/src/tests/deqp_support/
DglcShaderConstExprTests_override.cpp398 {"sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, {deFloatSqrt(10.0f)}}, in init()
441 {deFloatSqrt(2.0f)}}, in init()
448 {deFloatSqrt(3.0f)}}, in init()
455 {deFloatSqrt(4.0f)}}, in init()
526 {"sqrt", "sqrt(${T} (4.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, {deFloatSqrt(4.5f)}}, in init()
575 {deFloatSqrt(2.0f)}}, in init()
582 {deFloatSqrt(3.0f)}}, in init()
589 {deFloatSqrt(4.0f)}}, in init()
/external/deqp/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp356 …{ "sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatSqrt(10.… in init()
369 …ec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, { deFloatSqrt(2.0f) } }, in init()
370 …ec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, { deFloatSqrt(3.0f) } }, in init()
371 …ec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, { deFloatSqrt(4.0f) } }, in init()
394 …{ "sqrt", "sqrt(${T} (4.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatSqrt(4.5f) … in init()
407 …{ "length_vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_INT, { deFloatSqrt(2… in init()
408 …{ "length_vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_INT, { deFloatSqrt(3… in init()
409 …{ "length_vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_INT, { deFloatSqrt(4… in init()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderVertexSpacing.cpp282 float delta = deFloatSqrt(delta_x * delta_x + delta_y * delta_y); in getEdgesForQuadsTessellation()
354deFloatSqrt((current_tl_point.x - current_tr_point.x) * (current_tl_point.x - current_tr_point.x) + in getEdgesForQuadsTessellation()
357deFloatSqrt((current_tr_point.x - current_br_point.x) * (current_tr_point.x - current_br_point.x) + in getEdgesForQuadsTessellation()
360deFloatSqrt((current_br_point.x - current_bl_point.x) * (current_br_point.x - current_bl_point.x) + in getEdgesForQuadsTessellation()
363deFloatSqrt((current_bl_point.x - current_tl_point.x) * (current_bl_point.x - current_tl_point.x) + in getEdgesForQuadsTessellation()
631 …float curr_delta_v1 = deFloatSqrt((cartesian_coordinate.x - 0.5f) * (cartesian_coordinate.x - 0.5f… in getEdgesForTrianglesTessellation()
633 …float curr_delta_v2 = deFloatSqrt((cartesian_coordinate.x - 1.0f) * (cartesian_coordinate.x - 1.0f… in getEdgesForTrianglesTessellation()
635 …float curr_delta_v3 = deFloatSqrt((cartesian_coordinate.x - 0.0f) * (cartesian_coordinate.x - 0.0f… in getEdgesForTrianglesTessellation()
840 deFloatSqrt((edge_end_point.x - edge_start_point.x) * (edge_end_point.x - edge_start_point.x) + in getEdgesForTrianglesTessellation()
883 float denominator = deFloatSqrt(Dx * Dx + Dy * Dy); in isPointOnLine()
[all …]
DesextcTessellationShaderVertexSpacing.hpp269deFloatSqrt((a.x - base_point.x) * (a.x - base_point.x) + (a.y - base_point.y) * (a.y - base_point… in operator ()()
271deFloatSqrt((b.x - base_point.x) * (b.x - base_point.x) + (b.y - base_point.y) * (b.y - base_point… in operator ()()
/external/deqp/framework/delibs/debase/
DdeMath.h123 DE_INLINE float deFloatSqrt (float a) { return (float)sqrt(a); } in deFloatSqrt() function
149 DE_INLINE float deFloatAsinh (float a) { return deFloatLog(a + deFloatSqrt(a*a + 1)); } in deFloatAsinh()
150 DE_INLINE float deFloatAcosh (float a) { return deFloatLog(a + deFloatSqrt(a*a - 1)); } in deFloatAcosh()
/external/deqp/framework/common/
DtcuVectorUtil.hpp97 return eta * i - (eta * cosAngle + deFloatSqrt(k)) * n; in refract()
153 return deFloatSqrt(lengthSquared(a)); in length()
473 TCU_DECLARE_VECTOR_UNARY_FUNC(sqrt, deFloatSqrt)
DtcuImageCompare.cpp340 float sum = deFloatSqrt((float)squaredSum); in measurePixelDiffAccuracy()
/external/deqp/framework/randomshaders/
DrsgBuiltinFunctions.hpp581 return deFloatSqrt(inVal); in evaluateComp()
613 return 1.0f/deFloatSqrt(inVal); in evaluateComp()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp143 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacencyTests.cpp493 float deltaStart = deFloatSqrt( in createGridLineSegments()
496 float deltaEnd = deFloatSqrt( in createGridLineSegments()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCoordinatesTests.cpp224 tcu::Vec2(0.5f, 0.95f - 0.9f*deFloatSqrt(3.0f/4.0f)), in drawTessCoordPoint()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderLayerTests.cpp478 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
DvktDrawShaderViewportIndexTests.cpp358 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
/external/deqp/modules/glshared/
DglsScissorTests.cpp386 …const float scale = 1.44f/deFloatSqrt(float(m_primitiveCount)*2.0f); // Magic value to roughly… in render()
/external/deqp/modules/gles2/performance/
Des2pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryWatertightnessTests.cpp316 const float ab = deFloatSqrt(abq); in triangleEdgeLength()
329 return deFloatSqrt(q); in triangleArea()
/external/deqp/modules/gles3/performance/
Des3pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp216 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
256 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp553 return dst + (2.0f*src - 1.0f)*(deFloatSqrt(dst)-dst); in softlight()

12