Home
last modified time | relevance | path

Searched refs:srcBits (Results 1 - 13 of 13) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboTestUtil.cpp1040 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
1042 if (srcBits > 0) in calculateU8ConversionError()
1044 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
1071 static int getToSRGB8ConversionError (int srcBits) in getToSRGB8ConversionError() argument
1092 DE_ASSERT(srcBits >= 0); in getToSRGB8ConversionError()
1093 if (srcBits < DE_LENGTH_OF_ARRAY(errors)) in getToSRGB8ConversionError()
1094 return errors[srcBits]; in getToSRGB8ConversionError()
H A Des3fDrawBuffersIndexedTests.cpp453 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() local
460 const int bits = de::min(srcBits[i], readBits[i]); in getFixedPointFormatThreshold()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboTestUtil.cpp602 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
604 if (srcBits > 0) in calculateU8ConversionError()
606 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
H A Des31fShaderFramebufferFetchTests.cpp156 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() local
159 return tcu::Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint64>())) - tcu::Vector<deUint64, 4>(1)).cast<float>(); in getFixedPointFormatThreshold()
H A Des31fCopyImageTests.cpp1654 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat);
1656 const tcu::IVec4 minBits = tcu::min(srcBits, readBits);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DAPInt.cpp2403 unsigned int srcBits, unsigned int srcLSB)
2407 dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
2417 in DST. If this is less that srcBits, append the rest, else
2420 if (n < srcBits) {
2421 integerPart mask = lowBitMask (srcBits - n);
2424 } else if (n > srcBits) {
2425 if (srcBits % integerPartWidth)
2426 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DAPInt.cpp2421 unsigned srcBits, unsigned srcLSB) {
2422 unsigned dstParts = (srcBits + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
2432 in DST. If this is less that srcBits, append the rest, else
2435 if (n < srcBits) {
2436 WordType mask = lowBitMask (srcBits - n);
2439 } else if (n > srcBits) {
2440 if (srcBits % APINT_BITS_PER_WORD)
2441 dst[dstParts - 1] &= lowBitMask (srcBits % APINT_BITS_PER_WORD);
/third_party/vk-gl-cts/framework/common/
H A DtcuCompressedTexture.cpp1408 inline deInt32 signExtend (deInt32 value, deInt32 srcBits, deInt32 dstBits)
1410 deUint32 sign = value & (1 << (srcBits - 1));
1415 deInt32 extendedBits = 0xffffffff << srcBits;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DAPInt.h1608 const integerPart *, unsigned int srcBits,
/third_party/lz4/tests/
H A Dframetest.c1026 unsigned const srcBits = (FUZ_rand(&randState) % (FUZ_highbit((U32)(CNBufferLength-1)) - 1)) + 1; in fuzzerTests() local
1027 size_t const srcSize = (FUZ_rand(&randState) & ((1<<srcBits)-1)) + 1; in fuzzerTests()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DAPInt.h1906 const WordType *, unsigned srcBits,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3859 static float calculateFloatConversionError (int srcBits) in calculateFloatConversionError() argument
3861 if (srcBits > 0) in calculateFloatConversionError()
3863 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3421 static float calculateFloatConversionError (int srcBits) in calculateFloatConversionError() argument
3423 if (srcBits > 0) in calculateFloatConversionError()
3425 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError()

Completed in 67 milliseconds