From ac7c6554d30612220f7887a10ac7ec79fd6a992b Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Thu, 9 Apr 2015 18:31:21 -0500 Subject: [PATCH] vulkan.h: Added comments as specified in Bug 13606 Specified units for some VkImage* structure members. --- include/vulkan.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/vulkan.h b/include/vulkan.h index bea82b0..613952f 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_ -- 2.7.4