radv: reduce meta_saved_state struct size.
authorDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 03:37:42 +0000 (13:37 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 01:00:07 +0000 (11:00 +1000)
904->896.

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

index adc889bf4e2edba930458518c02b9ad51f656ddd..45a91f76a72bc5b33dd1ea1eaba440a27a53b047 100644 (file)
@@ -36,16 +36,15 @@ extern "C" {
 
 struct radv_meta_saved_state {
        bool vertex_saved;
 
 struct radv_meta_saved_state {
        bool vertex_saved;
-       struct radv_vertex_binding old_vertex_bindings[RADV_META_VERTEX_BINDING_COUNT];
-       struct radv_descriptor_set *old_descriptor_set0;
-       struct radv_pipeline *old_pipeline;
-
        /**
         * Bitmask of (1 << VK_DYNAMIC_STATE_*). Defines the set of saved dynamic
         * state.
         */
        uint32_t dynamic_mask;
        struct radv_dynamic_state dynamic;
        /**
         * Bitmask of (1 << VK_DYNAMIC_STATE_*). Defines the set of saved dynamic
         * state.
         */
        uint32_t dynamic_mask;
        struct radv_dynamic_state dynamic;
+       struct radv_vertex_binding old_vertex_bindings[RADV_META_VERTEX_BINDING_COUNT];
+       struct radv_descriptor_set *old_descriptor_set0;
+       struct radv_pipeline *old_pipeline;
 
        char push_constants[128];
 };
 
        char push_constants[128];
 };