radv: reduce radv_image struct size.
authorDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 03:39:58 +0000 (13:39 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 01:00:08 +0000 (11:00 +1000)
1480->1472.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_private.h

index 6ec21f58d352b95809d585e03e3f87ec4f84d13b..e73ba1a16943aaca6b68b9144cbc3b5e04cafb84 100644 (file)
@@ -1227,17 +1227,16 @@ struct radv_image {
         */
        VkFormat vk_format;
        VkImageAspectFlags aspects;
-       struct ac_surf_info info;
        VkImageUsageFlags usage; /**< Superset of VkImageCreateInfo::usage. */
+       struct ac_surf_info info;
        VkImageTiling tiling; /** VkImageCreateInfo::tiling */
        VkImageCreateFlags flags; /** VkImageCreateInfo::flags */
 
        VkDeviceSize size;
        uint32_t alignment;
 
-       bool exclusive;
        unsigned queue_family_mask;
-
+       bool exclusive;
        bool shareable;
 
        /* Set when bound */