summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-09-06 13:39:58 +1000
committerDave Airlie <[email protected]>2017-09-07 11:00:08 +1000
commit3cc620bf5502456ba14642e87f4c52fad7bcc371 (patch)
tree92c3a868dfda8b2ed6bf1942e76e5888721bf166 /src/amd
parent66031d89255a272bd8688676a9553f41d1ca60a6 (diff)
radv: reduce radv_image struct size.
1480->1472. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_private.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 6ec21f58d35..e73ba1a1694 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -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 */