Home
last modified time | relevance | path

Searched refs:deFloatSqrt (Results 1 - 25 of 56) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderConstExprTests.cpp96 {"sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSqrt(10.0f) }, in init()
127 {"length_vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
128 {"length_vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
129 {"length_vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
132 {"distance_vec2", "distance(vec2(1.0), vec2(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
133 {"distance_vec3", "distance(vec3(1.0), vec3(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
134 {"distance_vec4", "distance(vec4(1.0), vec4(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
H A Des2fStencilTests.cpp283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderConstExprTests.cpp103 {"sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSqrt(10.0f) }, in init()
170 {"length_vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
171 {"length_vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
172 {"length_vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
175 {"distance_vec2", "distance(vec2(1.0), vec2(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(2.0f) }, in init()
176 {"distance_vec3", "distance(vec3(1.0), vec3(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(3.0f) }, in init()
177 {"distance_vec4", "distance(vec4(1.0), vec4(2.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, deFloatSqrt(4.0f) }, in init()
H A Des3fStencilTests.cpp286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate()
H A 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 + dwdy*dwdy))); in calculateLod()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderConstExprTests.cpp356 { "sqrt", "sqrt(${T} (10.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatSqrt(10.0f) } }, in init()
369 { "length_vec2", "length(vec2(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, { deFloatSqrt(2.0f) } }, in init()
370 { "length_vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_FLOAT, { deFloatSqrt(3.0f) } }, in init()
371 { "length_vec4", "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.0f) } }, in init()
408 { "length_vec3", "length(vec3(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_INT, { deFloatSqrt(3.0f) } }, in init()
409 { "length_vec4", "length(vec4(1.0))", glu::TYPE_FLOAT, 1, 1, glu::TYPE_INT, { deFloatSqrt(4.0f) } }, in init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderVertexSpacing.cpp282 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(D in isPointOnLine()
[all...]
H A DesextcTessellationShaderVertexSpacing.hpp269 deFloatSqrt((a.x - base_point.x) * (a.x - base_point.x) + (a.y - base_point.y) * (a.y - base_point.y)); in operator ()()
271 deFloatSqrt((b.x - base_point.x) * (b.x - base_point.x) + (b.y - base_point.y) * (b.y - base_point.y)); in operator ()()
/third_party/vk-gl-cts/framework/delibs/debase/
H A 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/randomshaders/
H A DrsgBuiltinFunctions.hpp581 return deFloatSqrt(inVal); in evaluateComp()
613 return 1.0f/deFloatSqrt(inVal); in evaluateComp()
/third_party/vk-gl-cts/framework/common/
H A 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)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawDepthClampTests.cpp308 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance()
H A DvktDrawShaderLayerTests.cpp506 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
H A DvktDrawShaderViewportIndexTests.cpp370 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCoordinatesTests.cpp226 tcu::Vec2(0.5f, 0.95f - 0.9f*deFloatSqrt(3.0f/4.0f)),
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawDepthClampTests.cpp308 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance()
H A DvktDrawShaderLayerTests.cpp502 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationCoordinatesTests.cpp226 tcu::Vec2(0.5f, 0.95f - 0.9f*deFloatSqrt(3.0f/4.0f)),
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderAdjacencyTests.cpp493 float deltaStart = deFloatSqrt( in createGridLineSegments()
496 float deltaEnd = deFloatSqrt( in createGridLineSegments()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryWatertightnessTests.cpp287 const float ab = deFloatSqrt(abq); in triangleEdgeLength()
300 return deFloatSqrt(q); in triangleArea()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio);
886 const float targetRatioSqrt = deFloatSqrt(targetRatio);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryWatertightnessTests.cpp287 const float ab = deFloatSqrt(abq); in triangleEdgeLength()
300 return deFloatSqrt(q); in triangleArea()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pShaderOperatorTests.cpp878 const float targetRatioSqrt = deFloatSqrt(targetRatio);
886 const float targetRatioSqrt = deFloatSqrt(targetRatio);

Completed in 41 milliseconds

123