Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp562 VkExtent3D mipLevelExtent = getMipLevelExtent(aspect, region.imageSubresource.mipLevel); in copy() local
565 bool isEntireRow = (imageExtent.width == mipLevelExtent.width) && in copy()
567 bool isEntireSlice = isEntireRow && (imageExtent.height == mipLevelExtent.height) && in copy()
749 VkExtent3D mipLevelExtent; in getMipLevelExtent() local
750 mipLevelExtent.width = extent.width >> mipLevel; in getMipLevelExtent()
751 mipLevelExtent.height = extent.height >> mipLevel; in getMipLevelExtent()
752 mipLevelExtent.depth = extent.depth >> mipLevel; in getMipLevelExtent()
754 if(mipLevelExtent.width == 0) { mipLevelExtent.width = 1; } in getMipLevelExtent()
755 if(mipLevelExtent.height == 0) { mipLevelExtent.height = 1; } in getMipLevelExtent()
756 if(mipLevelExtent.depth == 0) { mipLevelExtent.depth = 1; } in getMipLevelExtent()
[all …]