/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrStorageImageWriteTests.cpp | 239 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local 300 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local 304 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in testStorageImageWrite() 313 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local 317 bufferImageCopy[planeNdx] = in testStorageImageWrite() 352 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() local 353 planePointers[planeNdx] = outputData + static_cast<size_t>(planeOffsets[planeNdx]); in testStorageImageWrite() 361 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in testStorageImageWrite() local 378 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in testStorageImageWrite() local 631 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() local [all …]
|
H A D | vktYCbCrUtil.cpp | 67 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local 76 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local 89 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() local 93 planePtrs[planeNdx] = &m_planeData[planeNdx][0]; in getChannelAccess() 108 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() local 112 planePtrs[planeNdx] = &m_planeData[planeNdx][0]; in getChannelAccess() 134 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateStagingBuffers() local 167 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in allocateAndWriteStagingBuffers() local 179 for (deUint32 planeNdx = 0; planeNdx < imageData->getDescription().numPlanes; ++planeNdx) in readStagingBuffers() local 419 for (deUint32 planeNdx = 0; planeNdx < formatDesc.numPlanes; ++planeNdx) in fillImageMemory() local [all …]
|
H A D | vktYCbCrViewTests.cpp | 291 deUint32 planeNdx; member 299 , planeNdx (planeNdx_) in TestParameters() 308 , planeNdx (0u) in TestParameters() 383 deInt32Hash((deUint32)params.planeNdx) ^ in testPlaneView() 394 const UVec2 planeExtent = getPlaneExtent(formatInfo, size, params.planeNdx, 0); in testPlaneView() 417 allocations[params.planeNdx]->getMemory(), in testPlaneView() 418 allocations[params.planeNdx]->getOffset(), in testPlaneView() 425 …mageMemory(device, *imageAlias, allocations[params.planeNdx]->getMemory(), allocations[params.plan… in testPlaneView() 598 imageData.getPlanePtr(params.planeNdx)); in testPlaneView() 653 name << "_plane_" << params.planeNdx; in addPlaneViewCase() [all …]
|
H A D | vktYCbCrUtil.hpp | 68 size_t getPlaneSize (deUint32 planeNdx) const { return m_planeData[planeNdx].size(); } in getPlaneSize() 69 void* getPlanePtr (deUint32 planeNdx) { return &m_planeData[planeNdx][0]; } in getPlanePtr() argument 70 const void* getPlanePtr (deUint32 planeNdx) const { return &m_planeData[planeNdx][0]; } in getPlanePtr()
|
H A D | vktYCbCrCopyTests.cpp | 728 for (deUint32 planeNdx = 0; planeNdx < result.getDescription().numPlanes; ++planeNdx) in imageCopyTest() local 730 …2 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, 0u, 1u); in imageCopyTest() 733 const deUint8 res = ((const deUint8*)result.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest() 734 const deUint8 ref = ((const deUint8*)reference.getPlanePtr(planeNdx))[byteNdx]; in imageCopyTest() 744 …log << TestLog::Message << "Plane: " << planeNdx << ", Offset: " << byteNdx << ", Expected: " << (… in imageCopyTest()
|
H A D | vktYCbCrConversionTests.cpp | 722 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in textureConversionTest() local 723 deMemset(src.getPlanePtr(planeNdx), 0u, src.getPlaneSize(planeNdx)); in textureConversionTest()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsBase.cpp | 484 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 489 …imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[pl… in iterate() 520 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 697 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 703 bufferImageSparseCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 732 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 766 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 808 for (deUint32 planeNdx = 0u; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 814 bufferImageResidencyCopy[planeNdx * imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 871 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local [all …]
|
H A D | vktSparseResourcesImageMemoryAliasing.cpp | 310 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 447 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 454 …planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * plane… in iterate() 463 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 496 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 525 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 550 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 571 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 708 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 710 …planePointers[mipmapNdx][planeNdx] = outputData + static_cast<size_t>(planeOffsets[mipmapNdx][plan… in iterate() [all …]
|
H A D | vktSparseResourcesImageSparseResidency.cpp | 199 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() local 210 if (formatDescription.channels[channelNdx].planeNdx != planeNdx) in initPrograms() 402 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 588 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 673 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 686 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 690 bufferImageCopy[planeNdx] = in iterate() 730 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 731 planePointers[planeNdx] = outputData + static_cast<size_t>(planeOffsets[planeNdx]); in iterate() 742 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in iterate() local [all …]
|
H A D | vktSparseResourcesMipmapSparseResidency.cpp | 252 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 271 …D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipLevelNdx); in iterate() 394 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 402 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 404 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 408 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 415 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate() 467 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 469 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 491 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local [all …]
|
H A D | vktSparseResourcesImageSparseBinding.cpp | 277 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 284 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 286 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 290 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate() 297 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate() 338 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 340 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 361 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 363 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 414 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local [all …]
|
H A D | vktSparseResourcesImageBlockShapes.cpp | 210 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() local 212 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 220 …deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBy… in iterate()
|
H A D | vktSparseResourcesTestsUtil.cpp | 810 …t, const vk::PlanarFormatDescription& formatDescription, const deUint32 planeNdx, const deUint32 m… in getImageMipLevelSizeInBytes() argument 812 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes() 815 …t, const vk::PlanarFormatDescription& formatDescription, const deUint32 planeNdx, const deUint32 m… in getImageSizeInBytes() argument 820 …etImageMipLevelSizeInBytes(baseExtents, layersCount, formatDescription, planeNdx, mipmapLevel, mip… in getImageSizeInBytes() 989 …etPlaneCompatibleFormatForWriting(const vk::PlanarFormatDescription& formatInfo, deUint32 planeNdx) in getPlaneCompatibleFormatForWriting() argument 991 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormatForWriting() 992 vk::VkFormat result = formatInfo.planes[planeNdx].planeCompatibleFormat; in getPlaneCompatibleFormatForWriting()
|
H A D | vktSparseResourcesTestsUtil.hpp | 158 const deUint32 planeNdx, 165 const deUint32 planeNdx, 246 deUint32 planeNdx);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.hpp | 111 deUint8 planeNdx; member 142 const deUint32 planeNdx, 147 const deUint32 planeNdx, 152 const deUint32 planeNdx, 156 const deUint32 planeNdx, 163 deUint32 planeNdx); 165 deUint32 planeNdx); 167 VkImageAspectFlagBits getPlaneAspect (deUint32 planeNdx);
|
H A D | vkImageUtil.cpp | 2241 const deUint32 planeNdx, in getPlaneSizeInBytes() argument 2253 const deUint32 planeNdx, in getPlaneSizeInBytes() argument 2263 const deUint32 planeNdx, in getPlaneExtent() argument 2276 const deUint32 planeNdx, in getPlaneExtent() argument 2298 for (deUint32 planeNdx = 0; planeNdx < formatInfo.numPlanes; ++planeNdx) in getImageSizeAlignment() local 2323 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormat() 2329 DE_ASSERT(de::inBounds(planeNdx, 0u, 3u)); in getPlaneAspect() 3092 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() local 3102 const deUint32 rowPitch = planeRowPitches[planeNdx]; in getChannelAccess() 3137 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() local [all …]
|
H A D | vkMemUtil.cpp | 385 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in bindImagePlanesMemory() local 387 const VkImageAspectFlagBits planeAspect = getPlaneAspect(planeNdx); in bindImagePlanesMemory()
|
H A D | vkNullDriver.cpp | 1209 for (deUint32 planeNdx = 0; planeNdx < desc.numPlanes; ++planeNdx) in getYCbCrImageDataSize() local 1211 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize() 1214 totalSize += getPlaneSizeInBytes(desc, extent, planeNdx, 0, BUFFER_IMAGE_COPY_OFFSET_GRANULARITY); in getYCbCrImageDataSize()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 336 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local 355 (deUint32)imageData.getPlaneSize(planeNdx) in uploadYCbCrImage() 359 …r->getAllocation().getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx)… in uploadYCbCrImage() 367 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local 370 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage() 396 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local 399 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage() 420 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local 423 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage() 1024 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in generateYCbCrImage() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 553 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local 555 const ClipVolumePlane* plane = planes[planeNdx]; in clipPrimitives() 569 clippedByPlane[planeNdx] = true; in clipPrimitives() 574 clippedByPlane[planeNdx] = false; in clipPrimitives() 608 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local 612 if (!clippedByPlane[planeNdx]) in clipPrimitives() 620 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 1618 for (deUint32 planeNdx = 0; planeNdx < (deUint32)getPlaneCount(format); planeNdx++) in testMultiplaneImages() local 1620 const VkImageAspectFlagBits aspect = getPlaneAspect(planeNdx); in testMultiplaneImages()
|