From: Jason Ekstrand Date: Thu, 14 Jan 2016 16:00:18 +0000 (-0800) Subject: vulkan-1.0.0: Make extents unsigned X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d3322d0e5e36a4fb0a6a2e07cc65539e1f7caac;p=mesa.git vulkan-1.0.0: Make extents unsigned --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 36459b14c58..82ecae62380 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -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 {