Lines Matching full:issigned
352 int getNBitIntegerMaxValue (bool isSigned, int numBits)
358 else if (isSigned)
364 int getNBitIntegerMinValue (bool isSigned, int numBits)
370 else if (isSigned)
376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits)
378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]),
379 getNBitIntegerMaxValue(isSigned, numBits[1]),
380 getNBitIntegerMaxValue(isSigned, numBits[2]),
381 getNBitIntegerMaxValue(isSigned, numBits[3]));
384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, const tcu::IVec4& numBits)
386 return tcu::IVec4(getNBitIntegerMinValue(isSigned, numBits[0]),
387 getNBitIntegerMinValue(isSigned, numBits[1]),
388 getNBitIntegerMinValue(isSigned, numBits[2]),
389 getNBitIntegerMinValue(isSigned, numBits[3]));
1545 const bool isSigned = m_channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER;
1551 const tcu::IVec4 minValue = getNBitIntegerVec4MinValue(isSigned, numBits);
1552 const tcu::IVec4 maxValue = getNBitIntegerVec4MaxValue(isSigned, numBits);
1566 iteration.borderColor = (isSigned) ? (rr::GenericVec4(value)) : (rr::GenericVec4(value.cast<deUint32>()));
1568 iteration.lookupBias = (isSigned) ? (tcu::Vec4(0.5f)) : (tcu::Vec4(0.25f));
1573 if (isSigned)
1588 const tcu::IVec4 value = (isSigned) ? (tcu::IVec4(std::numeric_limits<deInt32>::max())) : (tcu::IVec4(std::numeric_limits<deUint32>::max()));
1593 iteration.borderColor = (isSigned) ? (rr::GenericVec4(value)) : (rr::GenericVec4(value.cast<deUint32>()));
1600 if (isSigned)
1616 const bool isSigned = m_channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT;;
1617 const tcu::Vec4 lookupBias = (isSigned) ? (tcu::Vec4(0.5f)) : (tcu::Vec4(0.25f)); // scale & bias to [0.25, 0.5] range to make out-of-range values visible
1618 const tcu::Vec4 lookupScale = (isSigned) ? (tcu::Vec4(0.25f)) : (tcu::Vec4(0.5f));