Home
last modified time | relevance | path

Searched refs:arrayLayers (Results 1 – 25 of 57) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp231 imageSparseInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); in iterate()
284 …InBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imag… in iterate()
285 …ixels = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imag… in iterate()
329 … = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipL… in iterate()
344 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate()
373 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate()
395 …atProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT ? 1u : imageSparseInfo.arrayLayers); in iterate()
459 imageTexelsInfo.arrayLayers = imageSparseInfo.arrayLayers; in iterate()
494 …(mipLevelExtents(imageSparseInfo.extent, mipLevelNdx), imageSparseInfo.arrayLayers, mipLevelNdx, s… in iterate()
495 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m… in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp520 imageSparseInfo.arrayLayers > deviceProperties.limits.maxFramebufferLayers) in recordCommands()
693 if (imageSparseInfo.arrayLayers > 1u) in recordCommands()
706 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers); in recordCommands()
758 …ImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevelNdx, 1u, 0u, imageSparseInfo.arrayLayers); in recordCommands()
777 imageSparseInfo.arrayLayers, // uint32_t layers; in recordCommands()
838 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers); in recordCommands()
880 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers); in sampledImageRangeToBind()
902 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 1u, 0u, imageSparseInfo.arrayLayers); in sampledImageRangeToBind()
DvktSparseResourcesImageSparseBinding.cpp166 …imageSparseInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); //deUint32 arrayLay… in iterate()
280 …py(mipLevelExtents(imageSparseInfo.extent, mipmapNdx), imageSparseInfo.arrayLayers, mipmapNdx, sta… in iterate()
281 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m… in iterate()
288 …InBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imag… in iterate()
325 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
343 …rceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
387 … = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipm… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp165 imageSparseInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); in iterate()
252 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate()
386 …py(mipLevelExtents(imageSparseInfo.extent, mipmapNdx), imageSparseInfo.arrayLayers, mipmapNdx, sta… in iterate()
387 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m… in iterate()
394 …InBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imag… in iterate()
433 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
451 …rceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
495 … = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipm… in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp219 imageSparseInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); in iterate()
312 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate()
433 …(mipLevelExtents(imageSparseInfo.extent, mipLevelNdx), imageSparseInfo.arrayLayers, mipLevelNdx, b… in iterate()
434 …bufferOffset += getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m… in iterate()
441 …InBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imag… in iterate()
450 … = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipL… in iterate()
481 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
499 …rceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
513 …rceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
562 …ImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevelNdx, 1u, 0u, imageSparseInfo.arrayLayers); in iterate()
[all …]
DvktSparseResourcesImageSparseResidency.cpp242 imageCreateInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); in iterate()
316 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate()
558 …ageCopy bufferImageCopy = makeBufferImageCopy(imageCreateInfo.extent, imageCreateInfo.arrayLayers); in iterate()
605 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate()
656 for (deUint32 offsetZ = 0u; offsetZ < mipExtent.depth * imageCreateInfo.arrayLayers; ++offsetZ) in iterate()
DvktSparseResourcesShaderIntrinsicsStorage.cpp389 …ceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers); in recordCommands()
464 …ImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevelNdx, 1u, 0u, imageSparseInfo.arrayLayers); in recordCommands()
DvktSparseResourcesImageAlignedMipSize.cpp140 imageCreateInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp71 imageMSInfo.arrayLayers = getNumLayers(m_imageType, m_imageMSParams.imageSize); in iterate()
169 …ubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageMSInfo.mipLevels, 0u, imageMSInfo.arrayLayers); in iterate()
188 imageMSInfo.arrayLayers, // uint32_t layers; in iterate()
345 …ageRSSizeInBytes = getImageSizeInBytes(imageRSInfo.extent, imageRSInfo.arrayLayers, m_imageFormat,… in iterate()
356 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 0u, imageRSInfo.arrayLayers), // VkImage… in iterate()
391 imageRSInfo.extent.depth * imageRSInfo.arrayLayers, in iterate()
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp143 imageMSInfo.arrayLayers = getNumLayers(m_imageType, m_imageMSParams.imageSize); in iterate()
323 …ubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageMSInfo.mipLevels, 0u, imageMSInfo.arrayLayers); in iterate()
353 imageMSInfo.arrayLayers, // uint32_t layers; in iterate()
642 …ageRSSizeInBytes = getImageSizeInBytes(imageRSInfo.extent, imageRSInfo.arrayLayers, m_imageFormat,… in iterate()
653 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 0u, imageRSInfo.arrayLayers), // VkImage… in iterate()
704 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 0u, imageRSInfo.arrayLayers), // VkImage… in iterate()
743 imageRSInfo.extent.depth * imageRSInfo.arrayLayers, in iterate()
768 imageRSInfo.extent.depth * imageRSInfo.arrayLayers, in iterate()
DvktPipelineMultisampleBase.cpp141 if (imageFormatProps.maxArrayLayers < imageInfo.arrayLayers) in validateImageInfo()
145 …notSupportedStream << "Image layers count of " << imageInfo.arrayLayers << " exceeds allowed maxim… in validateImageInfo()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp955 deUint32 arrayLayers, in uploadImage() argument
1052 …lyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, destImage); in uploadImage()
1057 deUint32 arrayLayers, in clearImage() argument
1094 arrayLayers // deUint32 arraySize; in clearImage()
1114 arrayLayers // deUint32 arraySize; in clearImage()
1124 arrayLayers // deUint32 layerCount; in clearImage()
1217 const deUint32 arrayLayers, in uploadSparseImage() argument
1321 …rSize, copyRegions, &(*imageMemoryBindSemaphore), aspectMask, mipLevels, arrayLayers, sparseImage); in uploadSparseImage()
1334 deUint32 arrayLayers = 1u; in useSampler() local
1346 arrayLayers = 1u; in useSampler()
[all …]
DvktShaderRender.hpp549 deUint32 arrayLayers,
554 deUint32 arrayLayers,
563 const deUint32 arrayLayers,
576 deUint32 arrayLayers,
/external/swiftshader/src/Vulkan/
DVkImage.hpp54 uint32_t getArrayLayers() const { return arrayLayers; } in getArrayLayers()
86 uint32_t arrayLayers = 0; member in vk::Image
DVkImage.cpp31 arrayLayers(pCreateInfo->arrayLayers), in Image()
437 return arrayLayers * getLayerSize(flags); in getStorageSize()
505 arrayLayers : (subresourceRange.baseArrayLayer + subresourceRange.layerCount)) - 1; in getLastLayerIndex()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp162 deUint32 arrayLayers,
174 deUint32 arrayLayers,
DvkImageUtil.cpp2827 deUint32 arrayLayers, in copyBufferToImage() argument
2862 arrayLayers // deUint32 arraySize; in copyBufferToImage()
2882 arrayLayers // deUint32 arraySize; in copyBufferToImage()
2902 deUint32 arrayLayers, in copyBufferToImage() argument
2920 …dBuffer, buffer, bufferSize, copyRegions, imageAspectFlags, mipLevels, arrayLayers, destImage, des… in copyBufferToImage()
3093 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in allocateAndBindSparseImage()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp336 * imParams.arrayLayers in initializeImage()
374 * imParams.arrayLayers; in initializeImage()
383 (deUint32)imParams.arrayLayers in initializeImage()
403 …fSize, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, imParams.levels, imParams.arrayLayers, im); in initializeImage()
785 (deUint32)m_imParams.arrayLayers, in createResources()
815 (deUint32)m_imParams.arrayLayers // layerCount in createResources()
DvktSampleVerifier.hpp119 int arrayLayers; member
/external/mesa3d/src/intel/vulkan/
Danv_intel.c63 .arrayLayers = 1, in anv_CreateDmaBufImageINTEL()
Danv_image.c331 .array_len = vk_info->arrayLayers, in make_surface()
360 .array_len = vk_info->arrayLayers, in make_surface()
392 } else if (vk_info->arrayLayers > 1) { in make_surface()
531 anv_assert(pCreateInfo->arrayLayers > 0); in anv_image_create()
548 image->array_size = pCreateInfo->arrayLayers; in anv_image_create()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c92 if (pCreateInfo->arrayLayers > 1) in radv_init_surface()
98 if (pCreateInfo->arrayLayers > 1) in radv_init_surface()
156 pCreateInfo->mipLevels > 1 || pCreateInfo->arrayLayers > 1 || in radv_init_surface()
881 radv_assert(pCreateInfo->arrayLayers > 0); in radv_image_create()
897 image->info.array_size = pCreateInfo->arrayLayers; in radv_image_create()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp691 imageData.getImageInfo(0u).arrayLayers //deUint32 layerCount in copyDataToImage()
718 …K_IMAGE_ASPECT_COLOR_BIT, mipNdx, 0u, imageData.getImageInfo(imageNdx).arrayLayers), //VkImageSubr… in copyDataToImage()
726 imageData.getImageInfo(imageNdx).arrayLayers; in copyDataToImage()
793 imageData[0].getImageInfo(0u).arrayLayers //deUint32 layerCount in executeShader()
1088 …_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage()
1090 …_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage()
1092 …MAGE_ASPECT_COLOR_BIT, 0u, compressedImageInfo.extent.depth, 0u, compressedImageInfo.arrayLayers)); in decompressImage()
1102 … .addType(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, decompressedImageInfo.arrayLayers) in decompressImage()
1103 … .addType(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, decompressedImageInfo.arrayLayers) in decompressImage()
1104 .addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, decompressedImageInfo.arrayLayers) in decompressImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp883 || info.arrayLayers != 1 in isImageSupported()
901 DE_ASSERT(info.arrayLayers >= 6u && (info.arrayLayers % 6u) == 0u); in isImageSupported()
1029 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isImageSupported()
1617 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isMultiplaneImageSupported()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp206 …if (sub_data->second.size() >= (image_state->createInfo.arrayLayers * image_state->createInfo.mipL… in FindLayouts()
829 …yer_count = ResolveRemainingLayers(&img_barrier->subresourceRange, image_create_info->arrayLayers); in ValidateBarriersToImages()
1070 …yer_count = ResolveRemainingLayers(&mem_barrier->subresourceRange, image_create_info->arrayLayers); in TransitionImageLayouts()
1420 … (uint64_t)pCreateInfo->extent.depth * (uint64_t)pCreateInfo->arrayLayers * in PreCallValidateCreateImage()
1437 if (pCreateInfo->arrayLayers > format_limits.maxArrayLayers) { in PreCallValidateCreateImage()
1441 pCreateInfo->arrayLayers, format_limits.maxArrayLayers); in PreCallValidateCreateImage()
1595 uint32_t layer_count = ResolveRemainingLayers(&range, image_state->createInfo.arrayLayers); in VerifyClearImageLayout()
1666 uint32_t layer_count = ResolveRemainingLayers(&range, image_create_info->arrayLayers); in RecordClearImageLayout()
1920 extent.depth = img->createInfo.arrayLayers; in GetImageSubresourceExtent()
2071 if (base_layer >= img->createInfo.arrayLayers || layer_count > img->createInfo.arrayLayers || in ValidateImageArrayLayerRange()
[all …]

123