From: Dave Airlie Date: Wed, 6 Sep 2017 03:37:42 +0000 (+1000) Subject: radv: reduce meta_saved_state struct size. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f45e7684132e33eae124d33ebbc3388e5a2deb49;p=mesa.git radv: reduce meta_saved_state struct size. 904->896. Signed-off-by: Dave Airlie --- 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]; };