From f45e7684132e33eae124d33ebbc3388e5a2deb49 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 6 Sep 2017 13:37:42 +1000 Subject: [PATCH] radv: reduce meta_saved_state struct size. 904->896. Signed-off-by: Dave Airlie --- 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 adc889bf4e2..45a91f76a72 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]; }; -- 2.30.2