aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-04-09 18:31:21 -0500
committerChia-I Wu <olv@lunarg.com>2015-04-16 17:48:19 +0800
commitac7c6554d30612220f7887a10ac7ec79fd6a992b (patch)
tree271fa352ee58e2f2ca68b9d78bca8f90eccac4e2
parent3d99c6e091024c2ed63cb46880c37d0a7279d650 (diff)
downloadusermoji-ac7c6554d30612220f7887a10ac7ec79fd6a992b.tar.xz
vulkan.h: Added comments as specified in Bug 13606
Specified units for some VkImage* structure members.
-rw-r--r--include/vulkan.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/vulkan.h b/include/vulkan.h
index bea82b06..613952f5 100644
--- a/include/vulkan.h
+++ b/include/vulkan.h
@@ -1791,28 +1791,28 @@ typedef struct VkImageMemoryBindInfo_
typedef struct VkImageCopy_
{
VkImageSubresource srcSubresource;
- VkOffset3D srcOffset;
+ VkOffset3D srcOffset; // Specified in pixels for both compressed and uncompressed images
VkImageSubresource destSubresource;
- VkOffset3D destOffset;
- VkExtent3D extent;
+ VkOffset3D destOffset; // Specified in pixels for both compressed and uncompressed images
+ VkExtent3D extent; // Specified in pixels for both compressed and uncompressed images
} VkImageCopy;
typedef struct VkImageBlit_
{
VkImageSubresource srcSubresource;
- VkOffset3D srcOffset;
- VkExtent3D srcExtent;
+ VkOffset3D srcOffset; // Specified in pixels for both compressed and uncompressed images
+ VkExtent3D srcExtent; // Specified in pixels for both compressed and uncompressed images
VkImageSubresource destSubresource;
- VkOffset3D destOffset;
- VkExtent3D destExtent;
+ VkOffset3D destOffset; // Specified in pixels for both compressed and uncompressed images
+ VkExtent3D destExtent; // Specified in pixels for both compressed and uncompressed images
} VkImageBlit;
typedef struct VkBufferImageCopy_
{
VkGpuSize bufferOffset; // Specified in bytes
VkImageSubresource imageSubresource;
- VkOffset3D imageOffset;
- VkExtent3D imageExtent;
+ VkOffset3D imageOffset; // Specified in pixels for both compressed and uncompressed images
+ VkExtent3D imageExtent; // Specified in pixels for both compressed and uncompressed images
} VkBufferImageCopy;
typedef struct VkImageResolve_