Home
last modified time | relevance | path

Searched refs:mipLevelNdx (Results 1 – 8 of 8) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp314 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate() local
316 const VkExtent3D mipExtent = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in iterate()
319 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate()
431 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in iterate() local
433 …erImageCopy[mipLevelNdx] = makeBufferImageCopy(mipLevelExtents(imageSparseInfo.extent, mipLevelNdx in iterate()
434 …InBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx, BUFFER_IMAGE_C… in iterate()
448 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in iterate() local
450 …ageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx); in iterate()
451 const deUint32 bufferOffset = static_cast<deUint32>(bufferImageCopy[mipLevelNdx].bufferOffset); in iterate()
453 deMemset(&referenceData[bufferOffset], mipLevelNdx + 1u, mipLevelSizeInBytes); in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsBase.cpp327 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate() local
329 …InBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx) / tcu::getPixe… in iterate()
331 if (mipLevelNdx % MEMORY_BLOCK_TYPE_COUNT == MEMORY_BLOCK_NOT_BOUND) in iterate()
346 const VkExtent3D mipExtent = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in iterate()
349 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate()
492 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in iterate() local
494 …eSparseCopy[mipLevelNdx] = makeBufferImageCopy(mipLevelExtents(imageSparseInfo.extent, mipLevelNdx in iterate()
495 …InBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx, BUFFER_IMAGE_C… in iterate()
510 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in iterate() local
512 …ageMipLevelSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, mipLevelNdx); in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.cpp439 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in recordCommands() local
441 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in recordCommands()
454 …pipelines[mipLevelNdx] = makeVkSharedPtr(makeComputePipeline(deviceInterface, getDevice(), *pipeli… in recordCommands()
455 const VkPipeline computePipeline = **pipelines[mipLevelNdx]; in recordCommands()
460 …descriptorSets[mipLevelNdx] = makeVkSharedPtr(makeDescriptorSet(deviceInterface, getDevice(), *des… in recordCommands()
461 const VkDescriptorSet descriptorSet = **descriptorSets[mipLevelNdx]; in recordCommands()
464 …e mipLevelRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevelNdx, 1u, 0u, imageS… in recordCommands()
466 …imageSparseViews[mipLevelNdx] = makeVkSharedPtr(makeImageView(deviceInterface, getDevice(), imageS… in recordCommands()
467 …geSparseDescInfo = makeDescriptorImageInfo(DE_NULL, **imageSparseViews[mipLevelNdx], VK_IMAGE_LAYO… in recordCommands()
469 …imageTexelsViews[mipLevelNdx] = makeVkSharedPtr(makeImageView(deviceInterface, getDevice(), imageT… in recordCommands()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp753 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in recordCommands() local
755 const vk::VkExtent3D mipLevelSize = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in recordCommands()
758 …e mipLevelRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevelNdx, 1u, 0u, imageS… in recordCommands()
761 …imageTexelsViews[mipLevelNdx] = makeVkSharedPtr(makeImageView(deviceInterface, getDevice(), imageT… in recordCommands()
762 …imageResidencyViews[mipLevelNdx] = makeVkSharedPtr(makeImageView(deviceInterface, getDevice(), ima… in recordCommands()
764 …kImageView attachmentsViews[] = { **imageTexelsViews[mipLevelNdx], **imageResidencyViews[mipLevelN… in recordCommands()
780 …m_framebuffers[mipLevelNdx] = makeVkSharedPtr(createFramebuffer(deviceInterface, getDevice(), &fra… in recordCommands()
783 …descriptorSets[mipLevelNdx] = makeVkSharedPtr(makeDescriptorSet(deviceInterface, getDevice(), *des… in recordCommands()
784 const VkDescriptorSet descriptorSet = **descriptorSets[mipLevelNdx]; in recordCommands()
787 …bresourceRange sparseImageSubresourceRange = sampledImageRangeToBind(imageSparseInfo, mipLevelNdx); in recordCommands()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp254 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate() local
256 const VkExtent3D mipExtent = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in iterate()
259 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate()
DvktSparseResourcesImageSparseResidency.cpp318 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in iterate() local
320 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate()
321 const VkExtent3D mipExtent = mipLevelExtents(imageCreateInfo.extent, mipLevelNdx); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp550 for (deUint32 mipLevelNdx = 0; mipLevelNdx < mipLevels; mipLevelNdx++) in uploadImageAspect() local
554 imageExtent.width >> mipLevelNdx, in uploadImageAspect()
555 imageExtent.height >> mipLevelNdx, in uploadImageAspect()
566 mipLevelNdx, // deUint32 mipLevel; in uploadImageAspect()
2946 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < m_params.mipLevels; mipLevelNdx++) in checkLinearFilteredResult() local
2957 if (srcMipLevel < mipLevelNdx) in checkLinearFilteredResult()
2971 …tr<tcu::TextureLevel> resultLevel = readImage(*m_destination, m_params.dst.image, mipLevelNdx); in checkLinearFilteredResult()
2980 …mat().order) ? getEffectiveDepthStencilAccess(m_expectedTextureLevel[mipLevelNdx]->getAccess(), … in checkLinearFilteredResult()
2981 …at().order) ? getEffectiveDepthStencilAccess(m_expectedTextureLevel[mipLevelNdx]->getAccess(), … in checkLinearFilteredResult()
2982 m_expectedTextureLevel[mipLevelNdx]->getAccess(); in checkLinearFilteredResult()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp3095 …for (deUint32 mipLevelNdx = 0; mipLevelNdx < aspectRequirements.imageMipTailFirstLod; ++mipLevelNd… in allocateAndBindSparseImage() local
3097 const VkExtent3D mipExtent = mipLevelExtents(imageCreateInfo.extent, mipLevelNdx); in allocateAndBindSparseImage()
3132 mipLevelNdx, // uint32_t mipLevel; in allocateAndBindSparseImage()