Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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,
52 virtual ~FloatFormat() {} in ~FloatFormat()
70 static FloatFormat nativeFloat (void);
71 static FloatFormat nativeDouble (void);
87 class NormalizedFormat : public FloatFormat
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp131 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision,
132 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision,
239 const std::vector<de::SharedPtr<tcu::FloatFormat>> m_conversionPrecision;
240 const std::vector<de::SharedPtr<tcu::FloatFormat>> m_filteringPrecision;
DvktTextureFilteringExplicitLodTests.cpp72 std::vector<de::SharedPtr<tcu::FloatFormat>> getPrecision (VkFormat format, int fpPrecisionDelta) in getPrecision()
74 std::vector<de::SharedPtr<tcu::FloatFormat>> floatFormats; in getPrecision()
75 …de::SharedPtr<tcu::FloatFormat> fp16 (new tcu::FloatFormat(-14, 15, std::max(0, 10 + fpPreci… in getPrecision()
76 …de::SharedPtr<tcu::FloatFormat> fp32 (new tcu::FloatFormat(-126, 127, std::max(0, 23 + fpPre… in getPrecision()
86 …floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channe… in getPrecision()
90 …floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channe… in getPrecision()
618 std::vector<de::SharedPtr<tcu::FloatFormat>> strictPrecision = getPrecision(m_imParams.format, 0); in verify()
619 …std::vector<de::SharedPtr<tcu::FloatFormat>> relaxedPrecision = tcuFormat.type == tcu::TextureForm… in verify()
DvktSampleVerifierUtil.cpp249 const FloatFormat& internalFormat, in calcUnnormalizedCoordRange()
619 const de::SharedPtr<FloatFormat>& internalFormat, in convertFP16()
633 const de::SharedPtr<tcu::FloatFormat>& internalFormat, in convertNormalizedInt()
779 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertNormalizedFormat()
914 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertFloatFormat()
955 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertFormat()
DvktSampleVerifierUtil.hpp74 const tcu::FloatFormat& internalFormat,
104 const std::vector<de::SharedPtr<tcu::FloatFormat>>& internalFormat,
DvktSampleVerifier.cpp70 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision, in SampleVerifier()
71 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision, in SampleVerifier()
690 const FloatFormat coordFormat(-32, 32, 16, true); in verifySampleMipmapLevel()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp96 using tcu::FloatFormat;
257 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
263 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
272 void printValue (const FloatFormat& fmt, const T& value, ostream& os) in printValue()
278 string valueToString (const FloatFormat& fmt, const T& val) in valueToString()
289 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
295 typename Traits<T>::IVal convert (const FloatFormat& fmt, in convert()
329 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
334 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
343 static void doPrintIVal (const FloatFormat& fmt, in doPrintIVal()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp151 tcu::Interval getChannel (const tcu::FloatFormat& conversionFormat,
186 std::vector<tcu::FloatFormat> getPrecision (vk::VkFormat format);
203 const std::vector<tcu::FloatFormat>& filteringFormat,
204 const std::vector<tcu::FloatFormat>& conversionFormat,
DvktYCbCrUtil.cpp51 using tcu::FloatFormat;
859 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
1168 std::vector<tcu::FloatFormat> getPrecision (VkFormat format) in getPrecision()
1170 std::vector<FloatFormat> floatFormats; in getPrecision()
1174 floatFormats.push_back(tcu::FloatFormat(0, 0, channelDepth[channelIdx], false, tcu::YES)); in getPrecision()
1256 const tcu::FloatFormat& conversionFormat, in rangeExpandChroma()
1284 const tcu::FloatFormat& conversionFormat, in rangeExpandLuma()
1330 const vector<tcu::FloatFormat>& conversionFormat, in convertColor()
1421 tcu::Interval calculateUV (const tcu::FloatFormat& coordFormat, in calculateUV()
1428 tcu::IVec2 calculateNearestIJRange (const tcu::FloatFormat& coordFormat, in calculateNearestIJRange()
[all …]
DvktYCbCrFilteringTests.cpp399 const std::vector<tcu::FloatFormat> filteringPrecision (getPrecision(m_format)); in iterate()
400 const std::vector<tcu::FloatFormat> conversionPrecision (getPrecision(m_format)); in iterate()
DvktYCbCrConversionTests.cpp71 using tcu::FloatFormat;
664 const std::vector<FloatFormat> filteringPrecision (getPrecision(config.format)); in textureConversionTest()
665 const std::vector<FloatFormat> conversionPrecision (getPrecision(config.format)); in textureConversionTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp116 using tcu::FloatFormat;
304 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
310 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
319 void printValue16 (const FloatFormat& fmt, const T& value, ostream& os) in printValue16()
325 string value16ToString(const FloatFormat& fmt, const T& val) in value16ToString()
424 void printValue32 (const FloatFormat& fmt, const T& value, ostream& os) in printValue32()
430 string value32ToString (const FloatFormat& fmt, const T& val) in value32ToString()
438 void printValue64 (const FloatFormat& fmt, const T& value, ostream& os) in printValue64()
444 string value64ToString (const FloatFormat& fmt, const T& val) in value64ToString()
455 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp2016 const tcu::FloatFormat formats[] = in fma()
2019 tcu::FloatFormat(0, 0, 7, false, tcu::YES, tcu::MAYBE, tcu::MAYBE), in fma()
2020 tcu::FloatFormat(-13, 13, 9, false, tcu::MAYBE, tcu::MAYBE, tcu::MAYBE), in fma()
2021 tcu::FloatFormat(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE) in fma()
2023 …const tcu::FloatFormat& format = de::getSizedArrayElement<glu::PRECISION_LAST>(formats, precision); in fma()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp2503 FloatFormat fp32Format(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in isAcosResultCorrect()
2508 FloatFormat fp16Format(-14, 15, 10, true, tcu::MAYBE); in isAcosResultCorrect()
2552 FloatFormat fp32Format(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in getPrecisionAt()
2557 FloatFormat fp32Format(-1022, 1023, 52, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in getPrecisionAt()
2563 FloatFormat fp16Format(-14, 15, 10, true, tcu::MAYBE); in getPrecisionAt()
DvktSpvAsmInstructionTests.cpp14277 tcu::FloatFormat floatFormat16;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp1005 const std::vector<tcu::FloatFormat> filteringPrecision (ycbcr::getPrecision(config.format)); in generateYCbCrImage()
1006 const std::vector<tcu::FloatFormat> conversionPrecision (ycbcr::getPrecision(config.format)); in generateYCbCrImage()