Home
last modified time | relevance | path

Searched refs:returnedFloat (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp2562 const Float16 returnedFloat (returned); in compare16BitFloat() local
2567 if (returnedFloat.isZero()) in compare16BitFloat()
2575 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2581 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2591 if (returnedFloat.isNaN()) in compare16BitFloat()
2607 if (expectedFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2611 if (expectedFloat.bits() == returnedFloat.bits()) in compare16BitFloat()
2622 const Float16 returnedFloat (returned); in compare16BitFloat() local
2626 if (returnedFloat.isZero()) in compare16BitFloat()
2635 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
[all …]
DvktSpvAsmFloatControlsTests.cpp2474 bool isZeroOrOtherValue(const TYPE& returnedFloat, ValueId secondAcceptableResult, TestLog& log) in isZeroOrOtherValue() argument
2476 if (returnedFloat.isZero() && !returnedFloat.signBit()) in isZeroOrOtherValue()
2484 if (returnedFloat.bits() == value.ui) in isZeroOrOtherValue()
2493 bool isAcosResultCorrect(const TYPE& returnedFloat, TestLog& log) in isAcosResultCorrect() argument
2501 if (returnedFloat.MANTISSA_BITS == 23) in isAcosResultCorrect()
2512 if (deAbs(returnedFloat.asDouble() - piDiv2) < precision) in isAcosResultCorrect()
2517 << returnedFloat.asDouble() << TestLog::EndMessage; in isAcosResultCorrect()
2522 bool isCosResultCorrect(const TYPE& returnedFloat, TestLog& log) in isCosResultCorrect() argument
2525 double precision = returnedFloat.MANTISSA_BITS == 23 ? dePow(2, -11) : dePow(2, -7); in isCosResultCorrect()
2528 if (deAbs(returnedFloat.asDouble() - expected) < precision) in isCosResultCorrect()
[all …]