Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 ()()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h200 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/
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()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgBuiltinFunctions.hpp581 return deFloatSqrt(inVal); in evaluateComp()
613 return 1.0f/deFloatSqrt(inVal); in evaluateComp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp143 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacencyTests.cpp493 float deltaStart = deFloatSqrt( in createGridLineSegments()
496 float deltaEnd = deFloatSqrt( in createGridLineSegments()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDepthClampTests.cpp300 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance()
DvktDrawShaderLayerTests.cpp500 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
DvktDrawShaderViewportIndexTests.cpp368 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCoordinatesTests.cpp224 tcu::Vec2(0.5f, 0.95f - 0.9f*deFloatSqrt(3.0f/4.0f)), in drawTessCoordPoint()
/third_party/vk-gl-cts/modules/glshared/
DglsScissorTests.cpp386 …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/
DvktRayQueryWatertightnessTests.cpp316 const float ab = deFloatSqrt(abq); in triangleEdgeLength()
329 return deFloatSqrt(q); in triangleArea()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp553 return dst + (2.0f*src - 1.0f)*(deFloatSqrt(dst)-dst); in softlight()
/third_party/vk-gl-cts/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()

12