diff options
author | Jason Ekstrand <[email protected]> | 2015-10-06 10:04:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-06 10:04:04 -0700 |
commit | 81c7fa877274b5767657497699f1d46981784fc9 (patch) | |
tree | 00ba09a77bb7f1484170380ed9c3959b9e6213ac /include/vulkan | |
parent | ba2254aa79af76cabad921538b70c0bd1943c4c0 (diff) |
vk/0.170.2: Rework blits to use ImageSubresourceCopy
Diffstat (limited to 'include/vulkan')
-rw-r--r-- | include/vulkan/vulkan.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index c7b7f47c3c3..cec176f3bf9 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1949,18 +1949,25 @@ typedef struct { } VkBufferCopy; typedef struct { - VkImageSubresource srcSubresource; + VkImageAspect aspect; + uint32_t mipLevel; + uint32_t arrayLayer; + uint32_t arraySize; +} VkImageSubresourceCopy; + +typedef struct { + VkImageSubresourceCopy srcSubresource; VkOffset3D srcOffset; - VkImageSubresource destSubresource; + VkImageSubresourceCopy destSubresource; VkOffset3D destOffset; VkExtent3D extent; } VkImageCopy; typedef struct { - VkImageSubresource srcSubresource; + VkImageSubresourceCopy srcSubresource; VkOffset3D srcOffset; VkExtent3D srcExtent; - VkImageSubresource destSubresource; + VkImageSubresourceCopy destSubresource; VkOffset3D destOffset; VkExtent3D destExtent; } VkImageBlit; @@ -1969,7 +1976,7 @@ typedef struct { VkDeviceSize bufferOffset; uint32_t bufferRowLength; uint32_t bufferImageHeight; - VkImageSubresource imageSubresource; + VkImageSubresourceCopy imageSubresource; VkOffset3D imageOffset; VkExtent3D imageExtent; } VkBufferImageCopy; |