/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 517 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 519 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 520 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescrip… in iterate() 566 for (deUint32 mipmapNdx = 0; mipmapNdx < aspectRequirements.imageMipTailFirstLod; ++mipmapNdx) in iterate() local 568 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescrip… in iterate() 570 if (mipmapNdx % MEMORY_BLOCK_TYPE_COUNT == MEMORY_BLOCK_NOT_BOUND) in iterate() 585 …nt3D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx); in iterate() 588 const VkImageSubresource subresource = { aspect, mipmapNdx, layerNdx }; in iterate() 760 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 762 bufferImageSparseCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() [all …]
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 456 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 458 planeOffsets[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 459 planeRowPitches[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 464 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 466 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipmapNdx); in iterate() 467 planeOffsets[mipmapNdx][planeNdx] = imageSizeInBytes; in iterate() 469 …planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * plane… in iterate() 470 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 482 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 484 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 289 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 290 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 299 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 301 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 306 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate() 308 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate() 310 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 429 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 431 …Bytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx); in iterate() 432 …ic_cast<deUint32>(bufferImageCopy[ planeNdx * imageSparseInfo.mipLevels + mipmapNdx].bufferOffset); in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 406 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 407 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 417 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 419 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 424 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate() 426 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate() 428 …eInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx, BUFFER_IMAGE_CO… in iterate() 552 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate() local 554 …Bytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx); in iterate() 555 …tatic_cast<deUint32>(bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx].bufferOffset); in iterate()
|