diff options
Diffstat (limited to 'src/vulkan/anv_meta.h')
-rw-r--r-- | src/vulkan/anv_meta.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vulkan/anv_meta.h b/src/vulkan/anv_meta.h index 2f26d944516..d798c6e909f 100644 --- a/src/vulkan/anv_meta.h +++ b/src/vulkan/anv_meta.h @@ -35,14 +35,19 @@ struct anv_meta_saved_state { struct anv_vertex_binding old_vertex_bindings[ANV_META_VERTEX_BINDING_COUNT]; struct anv_descriptor_set *old_descriptor_set0; struct anv_pipeline *old_pipeline; - uint32_t dynamic_flags; + + /** + * Bitmask of (1 << VK_DYNAMIC_STATE_*). Defines the set of saved dynamic + * state. + */ + uint32_t dynamic_mask; struct anv_dynamic_state dynamic; }; void anv_meta_save(struct anv_meta_saved_state *state, const struct anv_cmd_buffer *cmd_buffer, - uint32_t dynamic_state); + uint32_t dynamic_mask); void anv_meta_restore(const struct anv_meta_saved_state *state, |