Lines Matching refs:UVec3
73 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize)
79 return tcu::UVec3(imageSize.x(), 1u, 1u);
82 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u);
85 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u);
89 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z());
92 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u);
95 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z());
99 return tcu::UVec3(1u, 1u, 1u);
103 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize)
110 return tcu::UVec3(imageSize.x(), 1u, 1u);
116 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u);
119 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z());
123 return tcu::UVec3(1u, 1u, 1u);
127 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize)
153 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize)
155 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize);
439 tcu::UVec3 getCompressedImageResolutionInBlocks (const vk::VkFormat format, const tcu::UVec3& size)
450 return tcu::UVec3(widthInBlocks, heightInBlocks, 1);
453 tcu::UVec3 getCompressedImageResolutionBlockCeil (const vk::VkFormat format, const tcu::UVec3& size)
464 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1);
467 VkDeviceSize getCompressedImageSizeInBytes (const vk::VkFormat format, const tcu::UVec3& size)
469 tcu::UVec3 sizeInBlocks = getCompressedImageResolutionInBlocks(format, size);
476 VkDeviceSize getUncompressedImageSizeInBytes (const vk::VkFormat format, const tcu::UVec3& size)