Lines Matching refs:mipLevelExtent

166 	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()
288 mipLevelExtent.height = 1; in getMipLevelExtent()
290 if(mipLevelExtent.depth == 0) in getMipLevelExtent()
292 mipLevelExtent.depth = 1; in getMipLevelExtent()
294 return mipLevelExtent; in getMipLevelExtent()
310 VkExtent3D mipLevelExtent = getMipLevelExtent(mipLevel); in slicePitchBytes() local
311 …return sw::Surface::sliceB(mipLevelExtent.width, mipLevelExtent.height, isCube() ? 1 : 0, getForma… in slicePitchBytes()
442 VkExtent3D mipLevelExtent = getMipLevelExtent(mipLevel); in asSurface() local
443 …return sw::Surface::create(mipLevelExtent.width, mipLevelExtent.height, mipLevelExtent.depth, getF… in asSurface()
523 VkExtent3D mipLevelExtent = getMipLevelExtent(mipLevel); in clear() local
524 for(uint32_t s = 0; s < mipLevelExtent.depth; ++s) in clear()
526 const sw::SliceRect dRect(0, 0, mipLevelExtent.width, mipLevelExtent.height, s); in clear()