vulkan-1.0.0: Make extents unsigned
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Jan 2016 16:00:18 +0000 (08:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Jan 2016 16:00:18 +0000 (08:00 -0800)
include/vulkan/vulkan.h

index 36459b14c58bde4be241084344dd9d1ed4ab492c..82ecae623802df5c8e3c2a7ffad098690b5bdc75 100644 (file)
@@ -1209,9 +1209,9 @@ typedef struct VkFormatProperties {
 } VkFormatProperties;
 
 typedef struct VkExtent3D {
-    int32_t                                     width;
-    int32_t                                     height;
-    int32_t                                     depth;
+    uint32_t                                    width;
+    uint32_t                                    height;
+    uint32_t                                    depth;
 } VkExtent3D;
 
 typedef struct VkImageFormatProperties {
@@ -1710,8 +1710,8 @@ typedef struct VkOffset2D {
 } VkOffset2D;
 
 typedef struct VkExtent2D {
-    int32_t                                     width;
-    int32_t                                     height;
+    uint32_t                                    width;
+    uint32_t                                    height;
 } VkExtent2D;
 
 typedef struct VkRect2D {