summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-09-06 13:37:42 +1000
committerDave Airlie <[email protected]>2017-09-07 11:00:07 +1000
commitf45e7684132e33eae124d33ebbc3388e5a2deb49 (patch)
tree428eb835fb185cb17e20eb61e7a5e82ccca6f76d
parent42d50c779ba1fcf577275940fb999db380e7e9b0 (diff)
radv: reduce meta_saved_state struct size.
904->896. Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_meta.h7
1 files 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];
};