/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderConstExprTests.cpp | 96 …{"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()
|
D | es2fStencilTests.cpp | 283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
|
D | es2fMultisampleTests.cpp | 547 const int numLines = (int)(100.0f * deFloatSqrt((float)m_viewportSize / 256.0f)); in renderPattern()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderConstExprTests.cpp | 103 …{"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()
|
D | es3fStencilTests.cpp | 286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
|
D | es3fVertexTextureTests.cpp | 1305 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderConstExprTests.cpp | 356 …{ "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()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderVertexSpacing.cpp | 282 float delta = deFloatSqrt(delta_x * delta_x + delta_y * delta_y); in getEdgesForQuadsTessellation() 354 …deFloatSqrt((current_tl_point.x - current_tr_point.x) * (current_tl_point.x - current_tr_point.x) + in getEdgesForQuadsTessellation() 357 …deFloatSqrt((current_tr_point.x - current_br_point.x) * (current_tr_point.x - current_br_point.x) + in getEdgesForQuadsTessellation() 360 …deFloatSqrt((current_br_point.x - current_bl_point.x) * (current_br_point.x - current_bl_point.x) + in getEdgesForQuadsTessellation() 363 …deFloatSqrt((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 …]
|
D | esextcTessellationShaderVertexSpacing.hpp | 269 …deFloatSqrt((a.x - base_point.x) * (a.x - base_point.x) + (a.y - base_point.y) * (a.y - base_point… in operator ()() 271 …deFloatSqrt((b.x - base_point.x) * (b.x - base_point.x) + (b.y - base_point.y) * (b.y - base_point… in operator ()()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMath.h | 200 DE_INLINE float deFloatSqrt (float a) { return (float)sqrt(a); } in deFloatSqrt() function 226 DE_INLINE float deFloatAsinh (float a) { return deFloatLog(a + deFloatSqrt(a*a + 1)); } in deFloatAsinh() 227 DE_INLINE float deFloatAcosh (float a) { return deFloatLog(a + deFloatSqrt(a*a - 1)); } in deFloatAcosh()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuVectorUtil.hpp | 97 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)
|
D | tcuImageCompare.cpp | 340 float sum = deFloatSqrt((float)squaredSum); in measurePixelDiffAccuracy()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgBuiltinFunctions.hpp | 581 return deFloatSqrt(inVal); in evaluateComp() 613 return 1.0f/deFloatSqrt(inVal); in evaluateComp()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 143 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderAdjacencyTests.cpp | 493 float deltaStart = deFloatSqrt( in createGridLineSegments() 496 float deltaEnd = deFloatSqrt( in createGridLineSegments()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 300 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance()
|
D | vktDrawShaderLayerTests.cpp | 500 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
|
D | vktDrawShaderViewportIndexTests.cpp | 368 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationCoordinatesTests.cpp | 224 tcu::Vec2(0.5f, 0.95f - 0.9f*deFloatSqrt(3.0f/4.0f)), in drawTessCoordPoint()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsScissorTests.cpp | 386 …const float scale = 1.44f/deFloatSqrt(float(m_primitiveCount)*2.0f); // Magic value to roughly… in render()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryWatertightnessTests.cpp | 316 const float ab = deFloatSqrt(abq); in triangleEdgeLength() 329 return deFloatSqrt(q); in triangleArea()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport() 886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport() 886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 553 return dst + (2.0f*src - 1.0f)*(deFloatSqrt(dst)-dst); in softlight()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 216 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()
|