Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp166 VkExtent3D mipLevelExtent = getMipLevelExtent(region.imageSubresource.mipLevel); in copy() local
183 bool isEntireLine = (region.imageExtent.width == mipLevelExtent.width) && in copy()
185 bool isEntirePlane = isEntireLine && (region.imageExtent.height == mipLevelExtent.height) && in copy()
277 VkExtent3D mipLevelExtent; in getMipLevelExtent() local
278 mipLevelExtent.width = extent.width >> mipLevel; in getMipLevelExtent()
279 mipLevelExtent.height = extent.height >> mipLevel; in getMipLevelExtent()
280 mipLevelExtent.depth = extent.depth >> mipLevel; in getMipLevelExtent()
282 if(mipLevelExtent.width == 0) in getMipLevelExtent()
284 mipLevelExtent.width = 1; in getMipLevelExtent()
286 if(mipLevelExtent.height == 0) in getMipLevelExtent()
[all …]