Lines Matching refs:IVec3
67 using tcu::IVec3;
348 ImageInfo (deUint32 format, deUint32 target, const IVec3& size);
352 const IVec3& getSize (void) const { return m_size; } in getSize()
357 IVec3 m_size;
360 ImageInfo::ImageInfo (deUint32 format, deUint32 target, const IVec3& size) in ImageInfo()
387 const IVec3 size = info.getSize(); in getLevelCount()
405 IVec3 getLevelSize (deUint32 target, const IVec3& baseSize, int level) in getLevelSize()
407 IVec3 size; in getLevelSize()
464 IVec3 m_levelSize;
555 …computeQuadTexCoord3D(texCoord, tcu::Vec3(0.0f, 0.0f, r), tcu::Vec3(1.0f, 1.0f, r), tcu::IVec3(0, … in computeQuadTexCoords()
622 IVec3 getTexelBlockPixelSize (deUint32 format) in getTexelBlockPixelSize()
627 return IVec3(1, 1, 1); in getTexelBlockPixelSize()
744 IVec3 divRoundUp (const IVec3& a, const IVec3& b) in divRoundUp()
746 IVec3 res; in divRoundUp()
763 const IVec3& size, in genericTexImage()
823 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in genTextureImage()
839 const IVec3 levelPixelSize = getLevelSize(info.getTarget(), info.getSize(), levelNdx); in genTextureImage()
840 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in genTextureImage()
875 const IVec3 size = info.getSize(); in genRenderbufferImage()
984 IVec3 getTexelBlockStride (const ImageInfo& info, int level) in getTexelBlockStride()
986 const IVec3 size = getLevelSize(info.getTarget(), info.getSize(), level); in getTexelBlockStride()
988 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in getTexelBlockStride()
989 const IVec3 textureTexelBlockSize = divRoundUp(size, texelBlockPixelSize); in getTexelBlockStride()
991 …return IVec3(texelBlockSize, textureTexelBlockSize.x() * texelBlockSize, textureTexelBlockSize.x()… in getTexelBlockStride()
994 int sumComponents (const IVec3& v) in sumComponents()
1007 const IVec3& dstPos, in copyImageData()
1012 const IVec3& srcPos, in copyImageData()
1014 const IVec3& copySize) in copyImageData()
1019 const IVec3 srcTexelBlockPixelSize = getTexelBlockPixelSize(srcImageInfo.getFormat()); in copyImageData()
1021 const IVec3 srcTexelPos = srcPos / srcTexelBlockPixelSize; in copyImageData()
1022 const IVec3 srcTexelBlockStride = getTexelBlockStride(srcImageInfo, srcLevel); in copyImageData()
1024 const IVec3 dstTexelBlockPixelSize = getTexelBlockPixelSize(dstImageInfo.getFormat()); in copyImageData()
1026 const IVec3 dstTexelPos = dstPos / dstTexelBlockPixelSize; in copyImageData()
1027 const IVec3 dstTexelBlockStride = getTexelBlockStride(dstImageInfo, dstLevel); in copyImageData()
1029 const IVec3 copyTexelBlockCount = copySize / srcTexelBlockPixelSize; in copyImageData()
1046 const IVec3 blockPos (0, y, z); in copyImageData()
1058 const IVec3 size = info.getSize(); in getLevelAccesses()
1066 const IVec3 levelSize = getLevelSize(info.getTarget(), size, level); in getLevelAccesses()
1079 const IVec3 size = info.getSize(); in getCubeLevelAccesses()
1081 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in getCubeLevelAccesses()
1089 const IVec3 levelPixelSize = getLevelSize(info.getTarget(), size, level); in getCubeLevelAccesses()
1090 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in getCubeLevelAccesses()
1106 const IVec3& dstPos, in copyImage()
1112 const IVec3& srcPos, in copyImage()
1114 const IVec3& copySize) in copyImage()
1266 const IVec3& levelPixelSize, in decompressTextureLevel()
1283 const IVec3 size = info.getSize(); in decompressTexture()
1304 const IVec3 levelPixelSize = getLevelSize(info.getTarget(), size, level); in decompressTexture()
1472 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in renderTextureCubemap()
1501 const IVec3 levelPixelSize = getLevelSize(info.getTarget(), info.getSize(), level); in renderTextureCubemap()
1502 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in renderTextureCubemap()
1673 const IVec3 size = info.getSize(); in renderRenderbuffer()
2062 Copy (const IVec3& srcPos_, in Copy()
2065 const IVec3& dstPos_, in Copy()
2068 const IVec3& size_, in Copy()
2069 const IVec3& dstSize_) in Copy()
2081 IVec3 srcPos;
2083 IVec3 dstPos;
2085 IVec3 size;
2086 IVec3 dstSize; //!< used only for logging
2092 const IVec3 blockPixelSize = getTexelBlockPixelSize(info.getFormat()); in getLastFullLevel()
2096 const IVec3 levelSize = getLevelSize(info.getTarget(), info.getSize(), level); in getLastFullLevel()
2116 const IVec3 srcBlockPixelSize = getTexelBlockPixelSize(srcInfo.getFormat()); in generateCopies()
2117 const IVec3 dstBlockPixelSize = getTexelBlockPixelSize(dstInfo.getFormat()); in generateCopies()
2129 const IVec3 srcSize = getLevelSize(srcInfo.getTarget(), srcInfo.getSize(), srcLevel); in generateCopies()
2130 const IVec3 dstSize = getLevelSize(dstInfo.getTarget(), dstInfo.getSize(), dstLevel); in generateCopies()
2133 …const IVec3 srcCompleteBlockSize = IVec3(srcSize.x() / srcBlockPixelSize.x(), srcSize.y() / srcBlo… in generateCopies()
2134 …const IVec3 dstCompleteBlockSize = IVec3(dstSize.x() / dstBlockPixelSize.x(), dstSize.y() / dstBlo… in generateCopies()
2136 const IVec3 maxCopyBlockSize = tcu::min(srcCompleteBlockSize, dstCompleteBlockSize); in generateCopies()
2145 const IVec3 copyBlockSize (copyBlockWidth, copyBlockHeight, copyBlockDepth); in generateCopies()
2146 const IVec3 srcBlockPos (srcCompleteBlockSize - copyBlockSize); in generateCopies()
2147 const IVec3 dstBlockPos (0, 0, 0); in generateCopies()
2149 const IVec3 srcPos (srcBlockPos * srcBlockPixelSize); in generateCopies()
2150 const IVec3 dstPos (dstBlockPos * dstBlockPixelSize); in generateCopies()
2151 const IVec3 srcCopySize (copyBlockSize * srcBlockPixelSize); in generateCopies()
2152 const IVec3 dstCopySize (copyBlockSize * dstBlockPixelSize); in generateCopies()
2159 const IVec3 copyBlockSize (copyBlockWidth, copyBlockHeight, copyBlockDepth); in generateCopies()
2160 const IVec3 srcBlockPos (0, 0, 0); in generateCopies()
2161 const IVec3 dstBlockPos (dstCompleteBlockSize - copyBlockSize); in generateCopies()
2163 const IVec3 srcPos (srcBlockPos * srcBlockPixelSize); in generateCopies()
2164 const IVec3 dstPos (dstBlockPos * dstBlockPixelSize); in generateCopies()
2165 const IVec3 srcCopySize (copyBlockSize * srcBlockPixelSize); in generateCopies()
2166 const IVec3 dstCopySize (copyBlockSize * dstBlockPixelSize); in generateCopies()
2173 const IVec3 copyBlockSize (copyBlockWidth, copyBlockHeight, copyBlockDepth); in generateCopies()
2174 const IVec3 srcBlockPos (tcu::max((srcCompleteBlockSize / 4) * 4 - copyBlockSize, IVec3(0))); in generateCopies()
2175 const IVec3 dstBlockPos (tcu::max((dstCompleteBlockSize / 4) * 4 - copyBlockSize, IVec3(0))); in generateCopies()
2177 const IVec3 srcPos (srcBlockPos * srcBlockPixelSize); in generateCopies()
2178 const IVec3 dstPos (dstBlockPos * dstBlockPixelSize); in generateCopies()
2179 const IVec3 srcCopySize (copyBlockSize * srcBlockPixelSize); in generateCopies()
2180 const IVec3 dstCopySize (copyBlockSize * dstBlockPixelSize); in generateCopies()
2327 IVec3 getTestedSize (deUint32 target, deUint32 format, const IVec3& targetSize) in getTestedSize()
2329 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(format); in getTestedSize()
2338 return IVec3(size, size, 1); in getTestedSize()
2349 return IVec3(width, height, 1); in getTestedSize()
2401 const IVec3 targetSize = isCompressedCase ? IVec3(128, 128, 16) : IVec3(64, 64, 8); in addCopyTests()
2402 const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, targetSize); in addCopyTests()
2403 const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, targetSize); in addCopyTests()