Home
last modified time | relevance | path

Searched refs:aspectRequirements (Results 1 – 7 of 7) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp333 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
335 DE_ASSERT((aspectRequirements.imageMipTailSize % imageMemoryRequirements.alignment) == 0); in iterate()
337 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
342 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate()
357 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
360aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate()
367aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate()
375 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
378 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
385 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp271 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
273 DE_ASSERT((aspectRequirements.imageMipTailSize % imageMemoryRequirements.alignment) == 0); in iterate()
275 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
280 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate()
295 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
298aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate()
324 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
327 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
DvktSparseResourcesImageAlignedMipSize.cpp146 VkSparseImageMemoryRequirements aspectRequirements; in iterate() local
217 aspectRequirements = sparseMemoryRequirements[colorAspectIndex]; in iterate()
218 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
240 if (lod != aspectRequirements.imageMipTailFirstLod) in iterate()
245 else if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT) in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp559 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
561 DE_ASSERT((aspectRequirements.imageMipTailSize % imageMemoryRequirements.alignment) == 0); in iterate()
563 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
566 for (deUint32 mipmapNdx = 0; mipmapNdx < aspectRequirements.imageMipTailFirstLod; ++mipmapNdx) in iterate()
599 if (aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
601 if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) in iterate()
604 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
615aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate()
968 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
975 if (mipmapNdx < aspectRequirements.imageMipTailFirstLod) in iterate()
DvktSparseResourcesImageSparseResidency.cpp431 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
432 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
436 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate()
473 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
476aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate()
502 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
505 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
786 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
792 …VkExtent3D compatibleImageGranularity { aspectRequirements.formatProperties.imageGranularity.… in iterate()
793aspectRequirements.formatProperties.imageGranularity.height / formatDescription.blockHeight, in iterate()
[all …]
DvktSparseResourcesImageBlockShapes.cpp228 VkSparseImageMemoryRequirements aspectRequirements = sparseMemoryRequirements[aspectIndex]; in iterate() local
229 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp5092 …const VkSparseImageMemoryRequirements aspectRequirements = sparseImageMemoryRequirements[aspectIn… in allocateAndBindSparseImage() local
5093 VkExtent3D blockSize = aspectRequirements.formatProperties.imageGranularity; in allocateAndBindSparseImage()
5100 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in allocateAndBindSparseImage()
5155 if (aspectRequirements.imageMipTailSize > 0) in allocateAndBindSparseImage()
5157 …if (layerNdx == 0 || (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MI… in allocateAndBindSparseImage()
5161 aspectRequirements.imageMipTailSize, // VkDeviceSize size; in allocateAndBindSparseImage()
5170aspectRequirements.imageMipTailOffset + layerNdx * aspectRequirements.imageMipTailStride, // VkDev… in allocateAndBindSparseImage()
5171 aspectRequirements.imageMipTailSize, // VkDeviceSize size; in allocateAndBindSparseImage()