Lines Matching refs:image_extent
1843 …ExceedsBounds(const VkOffset3D *offset, const VkExtent3D *extent, const VkExtent3D *image_extent) { in ExceedsBounds() argument
1846 if ((offset->z + extent->depth > image_extent->depth) || (offset->z < 0) || in ExceedsBounds()
1850 if ((offset->y + extent->height > image_extent->height) || (offset->y < 0) || in ExceedsBounds()
1854 if ((offset->x + extent->width > image_extent->width) || (offset->x < 0) || in ExceedsBounds()
4776 … VkExtent3D image_extent = GetImageSubresourceExtent(image_state, &(pRegions[i].imageSubresource)); in ValidateImageBounds() local
4781 if (image_extent.width % block_extent.width) { in ValidateImageBounds()
4782 … image_extent.width += (block_extent.width - (image_extent.width % block_extent.width)); in ValidateImageBounds()
4784 if (image_extent.height % block_extent.height) { in ValidateImageBounds()
4785 … image_extent.height += (block_extent.height - (image_extent.height % block_extent.height)); in ValidateImageBounds()
4787 if (image_extent.depth % block_extent.depth) { in ValidateImageBounds()
4788 … image_extent.depth += (block_extent.depth - (image_extent.depth % block_extent.depth)); in ValidateImageBounds()
4792 if (0 != ExceedsBounds(&offset, &extent, &image_extent)) { in ValidateImageBounds()