Home
last modified time | relevance | path

Searched refs:mipLevel (Results 1 – 25 of 32) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.hpp80 unsigned int mipLevel = 0,
89 unsigned int mipLevel = 0,
100 unsigned int mipLevel = 0,
108 unsigned int mipLevel = 0,
118 unsigned int mipLevel,
131 unsigned int mipLevel,
140 unsigned int mipLevel,
151 unsigned int mipLevel = 0,
160 unsigned int mipLevel = 0,
169 unsigned int mipLevel = 0,
[all …]
DvktDrawImageObjectUtil.cpp171 unsigned int mipLevel, in readSurface() argument
178 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
183 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readSurface()
196 unsigned int mipLevel, in readVolume() argument
203 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
208 …readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, as… in readVolume()
219 unsigned int mipLevel, in readSurface1D() argument
226 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
231 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, in readSurface1D()
244 unsigned int mipLevel, in read() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp63 VkExtent3D getMipLevelExtent (VkExtent3D baseExtent, const deUint32 mipLevel) in getMipLevelExtent() argument
65 baseExtent.width = std::max(baseExtent.width >> mipLevel, 1u); in getMipLevelExtent()
66 baseExtent.height = std::max(baseExtent.height >> mipLevel, 1u); in getMipLevelExtent()
67 baseExtent.depth = std::max(baseExtent.depth >> mipLevel, 1u); in getMipLevelExtent()
81 for (deUint32 mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in getImageMipLevelSizes() local
83 const VkExtent3D extent = getMipLevelExtent(baseExtent, mipLevel); in getImageMipLevelSizes()
84 …results[mipLevel] = static_cast<deUint32>(deAlignSize(extent.width * extent.height * extent.depth … in getImageMipLevelSizes()
821 for (deUint32 mipLevel = 0; mipLevel < m_imageMipLevels; ++mipLevel) in readImage() local
823 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage()
829 { aspectMask, mipLevel, 0u, 1u }, // VkImageSubresourceLayers imageSubresource; in readImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp40 …getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint32 mipLevel) in getShaderGridSize() argument
42 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize()
43 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize()
44 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize()
356 VkExtent3D mipLevelExtents (const VkExtent3D& baseExtents, const deUint32 mipLevel) in mipLevelExtents() argument
360 result.width = std::max(baseExtents.width >> mipLevel, 1u); in mipLevelExtents()
361 result.height = std::max(baseExtents.height >> mipLevel, 1u); in mipLevelExtents()
362 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); in mipLevelExtents()
DvktPipelineMultisampleTestsUtil.hpp65 …rGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint32 mipLevel = 0);
76 vk::VkExtent3D mipLevelExtents (const vk::VkExtent3D& baseExtents, const deUint32 mipLevel);
77 tcu::UVec3 mipLevelExtents (const tcu::UVec3& baseExtents, const deUint32 mipLevel);
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.hpp53 const std::string& mipLevel) const = 0;
76 const std::string& mipLevel) const;
99 const std::string& mipLevel) const;
DvktSparseResourcesTestsUtil.cpp38 …getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint32 mipLevel) in getShaderGridSize() argument
40 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize()
41 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize()
42 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize()
775 VkExtent3D mipLevelExtents (const VkExtent3D& baseExtents, const deUint32 mipLevel) in mipLevelExtents() argument
779 result.width = std::max(baseExtents.width >> mipLevel, 1u); in mipLevelExtents()
780 result.height = std::max(baseExtents.height >> mipLevel, 1u); in mipLevelExtents()
781 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); in mipLevelExtents()
DvktSparseResourcesShaderIntrinsicsStorage.cpp276 const std::string& mipLevel) const in sparseImageOpString()
280 … OpImageSparseFetch " << resultType << " " << image << " " << coord << " Lod " << mipLevel << "\n"; in sparseImageOpString()
299 const std::string& mipLevel) const in sparseImageOpString()
301 DE_UNREF(mipLevel); in sparseImageOpString()
DvktSparseResourcesShaderIntrinsicsSampled.cpp606 …mpledImageRangeToBind(const VkImageCreateInfo& imageSparseInfo, const deUint32 mipLevel) const = 0;
1028 const deUint32 mipLevel) const in sampledImageRangeToBind()
1030 DE_UNREF(mipLevel); in sampledImageRangeToBind()
1051 const deUint32 mipLevel) const in sampledImageRangeToBind()
1053 …return makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 1u, 0u, imageSparseInfo.arra… in sampledImageRangeToBind()
DvktSparseResourcesTestsUtil.hpp94 const deUint32 mipLevel = 0);
121 const deUint32 mipLevel);
124 const deUint32 mipLevel);
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl64 inline VkImageSubresource makeImageSubresource (VkImageAspectFlags aspectMask, deUint32 mipLevel, d… argument
68 res.mipLevel = mipLevel;
323 …ers makeImageSubresourceLayers (VkImageAspectFlags aspectMask, deUint32 mipLevel, deUint32 baseArr… argument
327 res.mipLevel = mipLevel;
DvkStructTypes.inl396 deUint32 mipLevel; member
1042 deUint32 mipLevel; member
/external/skia/src/image/
DSkImage_Gpu.cpp755 SkMipMap::Level mipLevel; in getDeferredTextureImageData() local
756 mipmaps->getLevel(generatedMipLevelIndex, &mipLevel); in getDeferredTextureImageData()
763 SkASSERT(mipLevelPtr + mipLevel.fPixmap.getSafeSize() <= in getDeferredTextureImageData()
769 memcpy(mipLevelPtr, mipLevel.fPixmap.addr(), mipLevel.fPixmap.getSafeSize()); in getDeferredTextureImageData()
774 size_t rowBytes = mipLevel.fPixmap.rowBytes(); in getDeferredTextureImageData()
779 mipLevelPtr += SkAlign8(mipLevel.fPixmap.getSafeSize()); in getDeferredTextureImageData()
/external/skia/src/gpu/
DGrGpu.cpp430 GrMipLevel mipLevel; in writePixels() local
431 mipLevel.fPixels = buffer; in writePixels()
432 mipLevel.fRowBytes = rowBytes; in writePixels()
434 texels.push_back(mipLevel); in writePixels()
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h433 …ectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.subresource.mipLevel &&
444 hashVal ^= hash<uint32_t>()(img.subresource.mipLevel);
Dimage.cpp708 if ((src->srcSubresource.mipLevel == dst->dstSubresource.mipLevel) && in RegionIntersects()
841 if (regions[i].srcSubresource.mipLevel >= src_image_entry->mipLevels) { in PreCallValidateCmdCopyImage()
849 if (regions[i].dstSubresource.mipLevel >= dst_image_entry->mipLevels) { in PreCallValidateCmdCopyImage()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp920 uint32_t mipLevel = 1; in generateMipmap() local
921 while (mipLevel < levelCount) { in generateMipmap()
927 imageMemoryBarrier.subresourceRange.baseMipLevel = mipLevel - 1; in generateMipmap()
931 blitRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel - 1, 0, 1 }; in generateMipmap()
934 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 0, 1 }; in generateMipmap()
943 ++mipLevel; in generateMipmap()
/external/vulkan-validation-layers/tests/
Dvktestbinding.h676 subres.mipLevel = mip_level; in subresource()
699 subres.mipLevel = mip_level; in subresource()
729 return subresource_range(subres.aspectMask, subres.mipLevel, 1, subres.arrayLayer, 1); in subresource_range()
Dlayer_validation_tests.cpp2433 blit_region.srcSubresource.mipLevel = 0; in TEST_F()
2437 blit_region.dstSubresource.mipLevel = 0; in TEST_F()
2550 blitRegion.srcSubresource.mipLevel = 0; in TEST_F()
2554 blitRegion.dstSubresource.mipLevel = 0; in TEST_F()
2653 copyRegion.srcSubresource.mipLevel = 0; in TEST_F()
2660 copyRegion.dstSubresource.mipLevel = 0; in TEST_F()
10020 copyRegion.srcSubresource.mipLevel = 0; in TEST_F()
10027 copyRegion.dstSubresource.mipLevel = 0; in TEST_F()
13630 copyRegion.srcSubresource.mipLevel = 0; in TEST_F()
13637 copyRegion.dstSubresource.mipLevel = 0; in TEST_F()
[all …]
Dvkrenderframework.cpp777 copy_region.srcSubresource.mipLevel = 0; in CopyImage()
784 copy_region.dstSubresource.mipLevel = 0; in CopyImage()
Dvktestbinding.cpp552 …VkImageSubresource subres = subresource(subrescopy.aspectMask, subrescopy.mipLevel, subrescopy.bas… in subresource_layout()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp521 deUint32 mipLevel; member
534 copyState.imageSubresource.mipLevel = transferInfo->mipLevel; in copyToCPU()
963 transferInfo.mipLevel = 0; in generateWork()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1404 VkExtent3D mipLevelExtents (const VkExtent3D& baseExtents, const deUint32 mipLevel) in mipLevelExtents() argument
1408 result.width = std::max(baseExtents.width >> mipLevel, 1u); in mipLevelExtents()
1409 result.height = std::max(baseExtents.height >> mipLevel, 1u); in mipLevelExtents()
1410 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); in mipLevelExtents()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp504 string getTextureImageName (int textureTarget, int mipLevel, int imageIndex) in getTextureImageName() argument
508 result << mipLevel; in getTextureImageName()
523 string getTextureImageDescription (int textureTarget, int mipLevel, int imageIndex) in getTextureImageDescription() argument
527 result << mipLevel; in getTextureImageDescription()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp789 GrMipLevel mipLevel; in onTransferPixels() local
790 mipLevel.fPixels = transferBuffer; in onTransferPixels()
791 mipLevel.fRowBytes = rowBytes; in onTransferPixels()
793 texels.push_back(mipLevel); in onTransferPixels()

12