Home
last modified time | relevance | path

Searched refs:FloatFormat (Results 1 – 20 of 20) sorted by relevance

/external/deqp/framework/common/
DtcuFloatFormat.cpp59 FloatFormat::FloatFormat (int minExp, in FloatFormat() function in tcu::FloatFormat
98 double FloatFormat::ulp (double x, double count) const in ulp()
133 int FloatFormat::exponentShift (int exp) const in exponentShift()
141 double FloatFormat::round (double d, bool upward) const in round()
155 Interval FloatFormat::clampValue (double d) const in clampValue()
173 Interval FloatFormat::convert (const Interval& x) const in convert()
202 double FloatFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const in roundOut()
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const in roundOut()
227 std::string FloatFormat::floatToHex (double x) const in floatToHex()
255 std::string FloatFormat::intervalToHex (const Interval& interval) const in intervalToHex()
[all …]
DtcuFloatFormat.hpp41 class FloatFormat class
45 FloatFormat (int minExp,
69 static FloatFormat nativeFloat (void);
70 static FloatFormat nativeDouble (void);
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp145 tcu::Interval getChannel (const tcu::FloatFormat& conversionFormat,
175 tcu::FloatFormat getYCbCrFilteringPrecision (vk::VkFormat format);
176 tcu::FloatFormat getYCbCrConversionPrecision (vk::VkFormat format);
188 const tcu::FloatFormat& filteringFormat,
189 const tcu::FloatFormat& conversionFormat,
DvktYCbCrUtil.cpp48 using tcu::FloatFormat;
836 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
1143 tcu::FloatFormat getYCbCrFilteringPrecision (vk::VkFormat format) in getYCbCrFilteringPrecision()
1145 const tcu::FloatFormat reallyLow (0, 0, 6, false, tcu::YES); in getYCbCrFilteringPrecision()
1146 const tcu::FloatFormat low (0, 0, 7, false, tcu::YES); in getYCbCrFilteringPrecision()
1147 const tcu::FloatFormat fp16 (-14, 15, 10, false); in getYCbCrFilteringPrecision()
1148 const tcu::FloatFormat fp32 (-126, 127, 23, true); in getYCbCrFilteringPrecision()
1215 tcu::FloatFormat getYCbCrConversionPrecision (vk::VkFormat format) in getYCbCrConversionPrecision()
1217 const tcu::FloatFormat reallyLow (0, 0, 8, false, tcu::YES); in getYCbCrConversionPrecision()
1218 const tcu::FloatFormat fp16 (-14, 15, 10, false); in getYCbCrConversionPrecision()
[all …]
DvktYCbCrConversionTests.cpp71 using tcu::FloatFormat;
590 const FloatFormat filteringPrecision (getYCbCrFilteringPrecision(config.format)); in textureConversionTest()
591 const FloatFormat conversionPrecision (getYCbCrConversionPrecision(config.format)); in textureConversionTest()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp130 const tcu::FloatFormat& conversionPrecision,
131 const tcu::FloatFormat& filteringPrecision,
238 const tcu::FloatFormat m_conversionPrecision;
239 const tcu::FloatFormat m_filteringPrecision;
DvktSampleVerifierUtil.cpp249 const FloatFormat& internalFormat, in calcUnnormalizedCoordRange()
619 FloatFormat internalFormat, in convertFP16()
633 FloatFormat internalFormat, in convertNormalizedInt()
774 FloatFormat internalFormat, in convertNormalizedFormat()
888 FloatFormat internalFormat, in convertFloatFormat()
929 FloatFormat internalFormat, in convertFormat()
DvktTextureFilteringExplicitLodTests.cpp70 tcu::FloatFormat getConversionPrecision (VkFormat format) in getConversionPrecision()
72 const tcu::FloatFormat reallyLow (0, 0, 8, false, tcu::YES); in getConversionPrecision()
73 const tcu::FloatFormat fp16 (-14, 15, 10, false); in getConversionPrecision()
74 const tcu::FloatFormat fp32 (-126, 127, 23, true); in getConversionPrecision()
111 tcu::FloatFormat getFilteringPrecision (VkFormat format) in getFilteringPrecision()
113 const tcu::FloatFormat reallyLow (0, 0, 6, false, tcu::YES); in getFilteringPrecision()
114 const tcu::FloatFormat low (0, 0, 7, false, tcu::YES); in getFilteringPrecision()
115 const tcu::FloatFormat fp16 (-14, 15, 10, false); in getFilteringPrecision()
116 const tcu::FloatFormat fp32 (-126, 127, 23, true); in getFilteringPrecision()
DvktSampleVerifierUtil.hpp74 const tcu::FloatFormat& internalFormat,
104 tcu::FloatFormat internalFormat,
DvktSampleVerifier.cpp70 const tcu::FloatFormat& conversionPrecision, in SampleVerifier()
71 const tcu::FloatFormat& filteringPrecision, in SampleVerifier()
717 const FloatFormat coordFormat(-32, 32, 16, true); in verifySampleMipmapLevel()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp95 using tcu::FloatFormat;
256 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
262 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
271 void printValue (const FloatFormat& fmt, const T& value, ostream& os) in printValue()
277 string valueToString (const FloatFormat& fmt, const T& val) in valueToString()
288 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
294 typename Traits<T>::IVal convert (const FloatFormat& fmt, in convert()
328 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
333 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
342 static void doPrintIVal (const FloatFormat& fmt, in doPrintIVal()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp108 using tcu::FloatFormat;
292 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
298 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
307 void printValue16 (const FloatFormat& fmt, const T& value, ostream& os) in printValue16()
313 string value16ToString(const FloatFormat& fmt, const T& val) in value16ToString()
412 void printValue32 (const FloatFormat& fmt, const T& value, ostream& os) in printValue32()
418 string value32ToString (const FloatFormat& fmt, const T& val) in value32ToString()
429 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
435 typename Traits<T>::IVal convert (const FloatFormat& fmt, in convert()
464 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
[all …]
DvktShaderCommonFunctionTests.cpp2314 const tcu::FloatFormat formats[] = in fma()
2317 tcu::FloatFormat(0, 0, 7, false, tcu::YES, tcu::MAYBE, tcu::MAYBE), in fma()
2318 tcu::FloatFormat(-13, 13, 9, false, tcu::MAYBE, tcu::MAYBE, tcu::MAYBE), in fma()
2319 tcu::FloatFormat(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE) in fma()
2321 …const tcu::FloatFormat& format = de::getSizedArrayElement<glu::PRECISION_LAST>(formats, precision); in fma()
/external/clang/lib/Basic/
DTargetInfo.cpp74 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo()
319 FloatFormat = &llvm::APFloat::IEEEsingle; in adjust()
DTargets.cpp7008 FloatFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
/external/clang/include/clang/Basic/
DTargetInfo.h81 const llvm::fltSemantics *HalfFormat, *FloatFormat, *DoubleFormat, variable
374 const llvm::fltSemantics &getFloatFormat() const { return *FloatFormat; } in getFloatFormat()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp2054 const tcu::FloatFormat formats[] = in fma()
2057 tcu::FloatFormat(0, 0, 7, false, tcu::YES, tcu::MAYBE, tcu::MAYBE), in fma()
2058 tcu::FloatFormat(-13, 13, 9, false, tcu::MAYBE, tcu::MAYBE, tcu::MAYBE), in fma()
2059 tcu::FloatFormat(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE) in fma()
2061 …const tcu::FloatFormat& format = de::getSizedArrayElement<glu::PRECISION_LAST>(formats, precision); in fma()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp998 const tcu::FloatFormat filteringPrecision (ycbcr::getYCbCrFilteringPrecision(config.format)); in generateYCbCrImage()
999 …const tcu::FloatFormat conversionPrecision (ycbcr::getYCbCrConversionPrecision(config.format)… in generateYCbCrImage()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp1995 FloatFormat fp32Format(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in isAcosResultCorrect()
2000 FloatFormat fp16Format(-14, 15, 10, true, tcu::MAYBE); in isAcosResultCorrect()
DvktSpvAsmInstructionTests.cpp12291 tcu::FloatFormat floatFormat16;