• Home
  • Raw
  • Download

Lines Matching refs:IVec4

58 using tcu::IVec4;
388 static inline IVec4 readIVec4 (const int* ptr, int numComponents) in readIVec4()
391 return IVec4(ptr[0], in readIVec4()
439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); in renderIntReference()
446 static const IVec4 s_swizzles[] =
448 IVec4(0,1,2,3),
449 IVec4(1,2,3,0),
450 IVec4(2,3,0,1),
451 IVec4(3,0,1,2),
452 IVec4(3,2,1,0),
453 IVec4(2,1,0,3),
454 IVec4(1,0,3,2),
455 IVec4(0,3,2,1)
461 const IVec4& swz = s_swizzles[swzNdx % DE_LENGTH_OF_ARRAY(s_swizzles)]; in swizzleVec()
526 const IVec4 bitDepth = tcu::getTextureFormatBitDepth(access.getFormat()); in clearUndefined()
527 const IVec4 srcPixel = access.getPixelInt(x, y); in clearUndefined()
528 IVec4 dstPixel (0, 0, 0, (0x1u << (deUint64)bitDepth.w()) - 1); in clearUndefined()
682 IVec4 minVal (range.x()); in iterate()
683 IVec4 maxVal (range.y()); in iterate()
688 … const IVec4 fmtBits = tcu::getTextureFormatBitDepth(attachments[output.location+vecNdx].format); in iterate()
689 const BVec4 isZero = lessThanEqual(fmtBits, IVec4(0)); in iterate()
690 … const IVec4 fmtMinVal = (-(tcu::Vector<deInt64, 4>(1) << (fmtBits-1).cast<deInt64>())).asInt(); in iterate()
691 …const IVec4 fmtMaxVal = ((tcu::Vector<deInt64, 4>(1) << (fmtBits-1).cast<deInt64>())-deInt64(1)).a… in iterate()
699 …const IVec4 rangeDiv = swizzleVec((IVec4(gridWidth, gridHeight, gridWidth, gridHeight)-1), curInVe… in iterate()
700 …const IVec4 step = ((maxVal.cast<deInt64>() - minVal.cast<deInt64>()) / (rangeDiv.cast<deInt64>()… in iterate()
709 IVec4 c = minVal + step*swizzleVec(IVec4(x, y, ix, iy), curInVec); in iterate()
727 … const IVec4 fmtBits = tcu::getTextureFormatBitDepth(attachments[output.location+vecNdx].format); in iterate()
735 …const IVec4 rangeDiv = swizzleVec((IVec4(gridWidth, gridHeight, gridWidth, gridHeight)-1), curInVe… in iterate()
747 UVec4 c = step*swizzleVec(IVec4(x, y, ix, iy).asUint(), curInVec); in iterate()
931 const IVec4 bits = min(IVec4(8), tcu::getTextureFormatBitDepth(format)); in iterate()
932 const Vec4 baseThreshold = 1.0f / ((IVec4(1) << bits)-1).asFloat(); in iterate()