Home
last modified time | relevance | path

Searched refs:blockPixelSize (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/modules/internal/
DditAstcTests.cpp70 const IVec3 blockPixelSize = getBlockPixelSize(format); in testDecompress() local
73 …TextureLevel texture (uncompressedFormat, blockPixelSize.x()*(int)numBlocks, blockPixelSiz… in testDecompress()
149 const IVec3 blockPixelSize = getBlockPixelSize(m_format); in iterate() local
152 …astc::generateDummyNormalBlocks(&generatedData[0], numBlocks, blockPixelSize.x(), blockPixelSize.y… in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp2022 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2031 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2072 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2081 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2123 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2132 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2194 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2203 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2246 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in init()
2255 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuCompressedTexture.cpp2501 const IVec3 blockPixelSize (getBlockPixelSize(fmt)); in decompress() local
2502 const IVec3 blockCount (deDivRoundUp32(dst.getWidth(), blockPixelSize.x()), in decompress()
2503 deDivRoundUp32(dst.getHeight(), blockPixelSize.y()), in decompress()
2504 deDivRoundUp32(dst.getDepth(), blockPixelSize.z())); in decompress()
2507 …mpressedBlock (dst.getFormat().getPixelSize() * blockPixelSize.x() * blockPixelSize.y() * blockPix… in decompress()
2508 …ccess blockAccess (getUncompressedFormat(fmt), blockPixelSize.x(), blockPixelSize.y(), blockPixe… in decompress()
2518 …const IVec3 copySize (de::min(blockPixelSize.x(), dst.getWidth() - blockPos.x() * blockPixelSi… in decompress()
2519 de::min(blockPixelSize.y(), dst.getHeight() - blockPos.y() * blockPixelSize.y()), in decompress()
2520 de::min(blockPixelSize.z(), dst.getDepth() - blockPos.z() * blockPixelSize.z())); in decompress()
2521 const IVec3 dstPixelPos = blockPos * blockPixelSize; in decompress()
[all …]
DtcuAstcUtil.cpp2935 const tcu::IVec3 blockPixelSize = getBlockPixelSize(format); in isValidBlock() local
2949 blockData, blockPixelSize.x(), blockPixelSize.y(), isSRGB, isLDR); in isValidBlock()
2959 const tcu::IVec3 blockPixelSize = getBlockPixelSize(format); in decompress() local
2961 DE_ASSERT(dst.getWidth() == blockPixelSize.x() && in decompress()
2962 dst.getHeight() == blockPixelSize.y() && in decompress()
2963 dst.getDepth() == blockPixelSize.z()); in decompress()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp180 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in generateDummyCompressedData() local
181 const tcu::IVec3 numBlocks (getDimensionNumBlocks(dst.getWidth(), blockPixelSize.x()), in generateDummyCompressedData()
182 getDimensionNumBlocks(dst.getHeight(), blockPixelSize.y()), in generateDummyCompressedData()
183 getDimensionNumBlocks(dst.getDepth(), blockPixelSize.z())); in generateDummyCompressedData()
1406 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(compressedFormat); in TextureBorderClampFormatCase() local
1410 DE_ASSERT((m_texWidth % blockPixelSize.x()) == 0 && (m_texHeight % blockPixelSize.y()) == 0); in TextureBorderClampFormatCase()
1412 DE_ASSERT((m_texWidth % blockPixelSize.x()) != 0 && (m_texHeight % blockPixelSize.y()) != 0); in TextureBorderClampFormatCase()
1414 DE_UNREF(blockPixelSize); in TextureBorderClampFormatCase()
Des31fCopyImageTests.cpp2099 const IVec3 blockPixelSize = getTexelBlockPixelSize(info.getFormat()); in getLastFullLevel() local
2105 …if (levelSize.x() < blockPixelSize.x() || levelSize.y() < blockPixelSize.y() || levelSize.z() < bl… in getLastFullLevel()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1224 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(tcuFormat); in getCompressedImageDataSize() local
1225 const int numBlocksX = deDivRoundUp32((int)extent.width, blockPixelSize.x()); in getCompressedImageDataSize()
1226 const int numBlocksY = deDivRoundUp32((int)extent.height, blockPixelSize.y()); in getCompressedImageDataSize()
1227 const int numBlocksZ = deDivRoundUp32((int)extent.depth, blockPixelSize.z()); in getCompressedImageDataSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp815 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions() local
821 … (deUint32)getNextMultiple(blockPixelSize.x(), level.getWidth()), // deUint32 bufferRowLength; in getBufferCopyRegions()
822 …(deUint32)getNextMultiple(blockPixelSize.y(), level.getHeight()), // deUint32 bufferImageHeigh… in getBufferCopyRegions()
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp187 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(format); in calculateDataSize() local
189 return deDivRoundUp32(width, blockPixelSize.x()) * deDivRoundUp32(height, blockPixelSize.y()) * in calculateDataSize()
190 deDivRoundUp32(depth, blockPixelSize.z()) * blockSize; in calculateDataSize()