Lines Matching refs:parms
383 inline deUint32 getArraySize(const ImageParms& parms) in getArraySize() argument
385 return (parms.imageType != VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u; in getArraySize()
388 inline VkImageCreateFlags getCreateFlags(const ImageParms& parms) in getCreateFlags() argument
390 if (parms.createFlags == VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM) in getCreateFlags()
391 …return parms.imageType == VK_IMAGE_TYPE_2D && parms.extent.depth % 6 == 0 ? VK_IMAGE_CREATE_CUBE_C… in getCreateFlags()
393 return parms.createFlags; in getCreateFlags()
396 inline VkExtent3D getExtent3D(const ImageParms& parms, deUint32 mipLevel = 0u) in getExtent3D() argument
398 const bool isCompressed = isCompressedFormat(parms.format); in getExtent3D()
399 const deUint32 blockWidth = (isCompressed) ? getBlockWidth(parms.format) : 1u; in getExtent3D()
400 const deUint32 blockHeight = (isCompressed) ? getBlockHeight(parms.format) : 1u; in getExtent3D()
407 (parms.extent.width >> mipLevel) * blockWidth, in getExtent3D()
408 (parms.imageType != VK_IMAGE_TYPE_1D) ? ((parms.extent.height >> mipLevel) * blockHeight) : 1u, in getExtent3D()
409 (parms.imageType == VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u, in getExtent3D()
459 … (const tcu::ConstPixelBufferAccess& src, VkImage dst, const ImageParms& parms, const deUint32 mi…
474 const ImageParms& parms,
478 const ImageParms& parms,
625 …stPixelBufferAccess& imageAccess, const VkImage& image, const ImageParms& parms, const deUint32 mi… in uploadImageAspect() argument
637 const deUint32 arraySize = getArraySize(parms); in uploadImageAspect()
638 const VkExtent3D imageExtent = getExtent3D(parms); in uploadImageAspect()
674 …arateDepthStencilLayouts) ? getAspectFlags(imageAccess.getFormat()) : getAspectFlags(parms.format); in uploadImageAspect()
727 const bool isCompressed = isCompressedFormat(parms.format); in uploadImageAspect()
728 const deUint32 blockWidth = (isCompressed) ? getBlockWidth(parms.format) : 1u; in uploadImageAspect()
729 const deUint32 blockHeight = (isCompressed) ? getBlockHeight(parms.format) : 1u; in uploadImageAspect()
766 …e (const tcu::ConstPixelBufferAccess& src, VkImage dst, const ImageParms& parms, const deUint32 mi… in uploadImage() argument
774 uploadImageAspect(depthTexture.getAccess(), dst, parms, mipLevels); in uploadImage()
781 uploadImageAspect(stencilTexture.getAccess(), dst, parms, mipLevels); in uploadImage()
785 uploadImageAspect(src, dst, parms, mipLevels); in uploadImage()
974 const ImageParms& parms, in readImage() argument
977 const tcu::TextureFormat imageFormat = getSizeCompatibleTcuTextureFormat(parms.format); in readImage()
978 …evel (new tcu::TextureLevel(imageFormat, parms.extent.width >> mipLevel, parms.extent.height >> mi… in readImage()
984 …binedToDepthTransferFormat(imageFormat), parms.extent.width >> mipLevel, parms.extent.height >> mi… in readImage()
985 readImageAspect(image, depthTexture.getAccess(), parms, mipLevel); in readImage()
991 …mageFormat, tcu::Sampler::MODE_STENCIL), parms.extent.width >> mipLevel, parms.extent.height >> mi… in readImage()
992 readImageAspect(image, stencilTexture.getAccess(), parms, mipLevel); in readImage()
997 readImageAspect(image, resultLevel->getAccess(), parms, mipLevel); in readImage()
3130 void uploadCompressedImage (const VkImage& image, const ImageParms& parms);
4423 void BlittingImages::uploadCompressedImage (const VkImage& image, const ImageParms& parms) in uploadCompressedImage() argument
4437 const deUint32 arraySize = getArraySize(parms); in uploadCompressedImage()
4440 parms.extent.width, in uploadCompressedImage()
4441 (parms.imageType != VK_IMAGE_TYPE_1D) ? parms.extent.height : 1u, in uploadCompressedImage()
4442 (parms.imageType == VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u, in uploadCompressedImage()