Home
last modified time | relevance | path

Searched refs:deFloatLog2 (Results 1 – 21 of 21) sorted by relevance

/third_party/vk-gl-cts/framework/randomshaders/
DrsgBuiltinFunctions.hpp512 inMin = deFloatLog2(deFloatMax(outMin, rangeMin)); in transformValueRange()
513 inMax = deFloatLog2(deFloatMin(outMax, rangeMax)); in transformValueRange()
549 return deFloatLog2(inVal); in evaluateComp()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp355 …{ "log2", "log2(${T} (100.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatLog2(10… in init()
393 …{ "log2", "log2(${T} (9.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatLog2(9.0) }… in init()
DglcInternalformatTests.cpp702 GLfloat exp_p = deFloatMax(-B - 1, deFloatFloor(deFloatLog2(max_c))) + 1 + B; in convertUint_5_9_9_9_rev()
DglcPackedPixelsTests.cpp1426 GLfloat exp_p = deFloatMax(-B - 1, deFloatFloor(deFloatLog2(max_c))) + 1 + B; in unpack_UNSIGNED_INT_5_9_9_9_REV()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderConstExprTests.cpp95 …{"log2", "log2(${T} (100.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatLog2(100.0… in init()
Des2fTextureUnitTests.cpp227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax()
238 …return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(d… in calculateLodMin()
Des2fVertexTextureTests.cpp549 return deFloatLog2(de::max(sizeRatio.x(), sizeRatio.y())); in calculateLod()
872 return deFloatLog2(de::max(sizeRatio.x(), sizeRatio.y())); in calculateLod()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp360 …return std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageForm… in getImageMaxMipLevels()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderConstExprTests.cpp102 …{"log2", "log2(${T} (100.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatLog2(100.0… in init()
Des3fVertexTextureTests.cpp649 return deFloatLog2(de::max(sizeRatio.x(), sizeRatio.y())); in calculateLod()
970 return deFloatLog2(de::max(sizeRatio.x(), sizeRatio.y())); in calculateLod()
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()
Des3fTextureUnitTests.cpp312 return deFloatLog2(mu + mv + mw); in calculateLodMax()
328 return deFloatLog2(de::max(mu, de::max(mv, mw))); in calculateLodMin()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h199 DE_INLINE float deFloatLog2 (float a) { return (float)log(a) * DE_INV_LOG_2; } in deFloatLog2() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp298 lodBounds[ndx] = deFloatLog2(scaleMaxBounds[ndx]); in calcLodBounds()
/third_party/vk-gl-cts/framework/common/
DtcuVectorUtil.hpp472 TCU_DECLARE_VECTOR_UNARY_FUNC(log2, deFloatLog2)
DtcuTexLookupVerifier.cpp2241 const float minLod = deFloatLog2(pMin-pMinErr); in computeLodBoundsFromDerivates()
2242 const float maxLod = deFloatLog2(pMax+pMaxErr); in computeLodBoundsFromDerivates()
DtcuTextureUtil.cpp1346 float log2c = deFloatLog2(maxc); in packRGB999E5()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp4840 const float lod = deFloatLog2(p) + lodBias; in sample4()
4961 const float lod = deFloatLog2(p) + lodBias; in sample4()
5089 const float lod = deFloatLog2(p) + lodBias; in sample4()
5194 const float lod = deFloatLog2(p) + lodBias; in sample4()
5315 const float lod = deFloatLog2(p) + lodBias; in sample4()
5405 const float lod = deFloatLog2(p) + lodBias; in sample4()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.cpp195 return deFloatLog2(p); in computeLodFromDerivates()
233 return deFloatLog2(p); in computeLodFromDerivates()
274 return deFloatLog2(p); in computeLodFromDerivates()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp151 …return std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, maxMipLev… in getNumMipLevels()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp289 return deFloatLog2(p); in computeLodFromDerivates()
317 return deFloatLog2(p); in computeLodFromDerivates()
346 return deFloatLog2(p); in computeLodFromDerivates()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2513 …return std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(mipmapEdge))) + 1u, imageForm… in getMipmapCount()