Lines Matching refs:IVec3
62 using tcu::IVec3;
89 static inline IVec3 defaultImageSize (TextureType type) in defaultImageSize()
93 case TEXTURETYPE_BUFFER: return IVec3(64, 1, 1); in defaultImageSize()
94 case TEXTURETYPE_2D: return IVec3(64, 64, 1); in defaultImageSize()
95 case TEXTURETYPE_CUBE: return IVec3(64, 64, 1); in defaultImageSize()
96 case TEXTURETYPE_3D: return IVec3(64, 64, 8); in defaultImageSize()
97 case TEXTURETYPE_2D_ARRAY: return IVec3(64, 64, 8); in defaultImageSize()
100 return IVec3(-1); in defaultImageSize()
584 const IVec3& getSize (void) const { return m_size; } in getSize()
614 const IVec3 m_size;
703 …lLogWrapper& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint… in setTextureStorage()
743 const IVec3& imageSize = src.getSize(); in uploadTexture()
834 const IVec3& textureSize, in readIntegerTextureViaFBOAndVerify()
891 const IVec3& textureSize, in readFloatOrNormTextureWithLookupsAndVerify()
1067 const IVec3& imageSize, in readTextureAndVerify()
1145 const IVec3& imageSize = defaultImageSize(m_textureType); in iterate()
1329 const IVec3 imageSize = image.getSize(); in replaceBadFloatReinterpretValues()
1365 const IVec3& imageSize = defaultImageSize(m_textureType); in iterate()
1625 …static int getAtomicFuncArgument (AtomicOperation op, const IVec3& invocationID, const IVec…
1655 int BinaryAtomicOperationCase::getAtomicFuncArgument (AtomicOperation op, const IVec3& invocationID… in getAtomicFuncArgument()
1736 IVec3 invocationGlobalIDs[NUM_INVOCATIONS_PER_PIXEL]; in operator ()()
1741 const IVec3 gid(x + i*resultSlice.getWidth(), y, sliceOrFaceNdx); in operator ()()
1831 IVec3 invocationGlobalIDs[NUM_INVOCATIONS_PER_PIXEL]; in operator ()()
1837 const IVec3 gid (pixCoord.x(), pixCoord.y(), sliceOrFaceNdx); in operator ()()
1941 const IVec3& imageSize = defaultImageSize(m_imageType); in iterate()
2003 …ageType, internalFormatGL, imageSize * (m_imageType == TEXTURETYPE_CUBE ? IVec3(NUM_INVOCATIONS_PE… in iterate()
2004 : IVec3(NUM_INVOCATIONS_PER_PIXEL, 1, 1)), in iterate()
2085 …const IVec3 textureToCheckSize = imageSize * IVec3(m_caseType == ATOMIC_OPERATION_CASE_TYP… in iterate()
2127 static int getCompareArg (const IVec3& invocationID, int imageWidth);
2128 static int getAssignArg (const IVec3& invocationID, int imageWidth);
2139 int AtomicCompSwapCase::getCompareArg (const IVec3& invocationID, int imageWidth) in getCompareArg()
2150 int AtomicCompSwapCase::getAssignArg (const IVec3& invocationID, int imageWidth) in getAssignArg()
2152 …return getCompareArg(IVec3(invocationID.x() + imageWidth, invocationID.y(), invocationID.z()), ima… in getAssignArg()
2202 IVec3 invocationGlobalIDs[NUM_INVOCATIONS_PER_PIXEL]; in operator ()()
2207 const IVec3 gid(x + i*resultSlice.getWidth(), y, sliceOrFaceNdx); in operator ()()
2262 IVec3 invocationGlobalIDs[NUM_INVOCATIONS_PER_PIXEL]; in operator ()()
2268 const IVec3 gid (pixCoord.x(), pixCoord.y(), sliceOrFaceNdx); in operator ()()
2343 const IVec3& imageSize = defaultImageSize(m_imageType); in iterate()
2379 imageData.setPixel(x, y, z, IVec4(getCompareArg(IVec3(x, y, z), imageSize.x()))); in iterate()
2405 …ageType, internalFormatGL, imageSize * (m_imageType == TEXTURETYPE_CUBE ? IVec3(NUM_INVOCATIONS_PE… in iterate()
2406 : IVec3(NUM_INVOCATIONS_PER_PIXEL, 1, 1)), in iterate()
2489 …const IVec3 relevantRegion = imageSize * (m_caseType == ATOMIC_OPERATION_CASE_TYPE_END_RE… in iterate()
2490 : IVec3(NUM_INVOCATIONS_PER_PIXEL, 1, 1)); in iterate()
2563 const IVec3& imageSize = defaultImageSize(m_imageType); in iterate()
2572 …const IVec3 numGroups = IVec3(16, de::min(16, imageSize.y()), de::min(2, numSlicesOrFaces)… in iterate()
2573 const IVec3 workItemSize = IVec3(imageSize.x(), imageSize.y(), numSlicesOrFaces); in iterate()
2574 const IVec3 localSize = workItemSize / numGroups; in iterate()
2575 const IVec3 minReqMaxLocalSize = IVec3(128, 128, 64); in iterate()
2762 …r* description, const TextureFormat& format, TextureType imageType, const IVec3& size, ImageAccess… in ImageSizeCase()
2777 const IVec3 m_imageSize;
2811 …setTextureStorage(glLog, TEXTURETYPE_2D, GL_R32UI, IVec3(1, 1, 1), 0 /* always 2d texture, no buff… in iterate()
2879 IVec3(1, 1, 1), R32UIImageSingleValueVerifier(referenceOutput))) in iterate()
3144 IVec3(1, 1, 1), R32UIImageSingleValueVerifier(expectedMin, expectedMax))) in iterate()
3302 static const IVec3 baseImageSizes[] = in init()
3304 IVec3(32, 32, 32), in init()
3305 IVec3(12, 34, 56), in init()
3306 IVec3(1, 1, 1), in init()
3307 IVec3(7, 1, 1) in init()
3320 const IVec3& baseSize = baseImageSizes[imageSizeNdx]; in init()
3321 const IVec3 imageSize = imageType == TEXTURETYPE_BUFFER ? IVec3(baseSize.x(), 1, 1) in init()
3322 : imageType == TEXTURETYPE_2D ? IVec3(baseSize.x(), baseSize.y(), 1) in init()
3323 : imageType == TEXTURETYPE_CUBE ? IVec3(baseSize.x(), baseSize.x(), 1) in init()
3326 : IVec3(-1, -1, -1); in init()