Module: Mesa
Branch: master
Commit: f45e7684132e33eae124d33ebbc3388e5a2deb49
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f45e7684132e33eae124d33ebbc3388e5a2deb49

Author: Dave Airlie <[email protected]>
Date:   Wed Sep  6 13:37:42 2017 +1000

radv: reduce meta_saved_state struct size.

904->896.

Signed-off-by: Dave Airlie <[email protected]>

---

 src/amd/vulkan/radv_meta.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h
index adc889bf4e..45a91f76a7 100644
--- a/src/amd/vulkan/radv_meta.h
+++ b/src/amd/vulkan/radv_meta.h
@@ -36,16 +36,15 @@ extern "C" {
 
 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;
+       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];
 };

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to