summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-11-03 14:31:19 -0800
committerChad Versace <[email protected]>2015-11-04 15:15:19 -0800
commit2bdb9e2ed9eab016220f1e365dd135f023f1920f (patch)
tree8b6b8abc2e94e3c55ab9497591daeceecc430736 /src/vulkan/anv_meta.h
parent16b2a489dbd4db56fc9231f399a81685330e7e7c (diff)
anv/meta: Rename anv_cmd_buffer_save/restore
As the functions are now exposed in anv_meta.h, let's rename them to clarify that they are meta functions. anv_cmd_buffer_save -> anv_meta_save anv_cmd_buffer_restore -> anv_meta_restore
Diffstat (limited to 'src/vulkan/anv_meta.h')
-rw-r--r--src/vulkan/anv_meta.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vulkan/anv_meta.h b/src/vulkan/anv_meta.h
index ac28d897f0b..2f26d944516 100644
--- a/src/vulkan/anv_meta.h
+++ b/src/vulkan/anv_meta.h
@@ -40,13 +40,13 @@ struct anv_meta_saved_state {
};
void
-anv_cmd_buffer_save(struct anv_cmd_buffer *cmd_buffer,
- struct anv_meta_saved_state *state,
- uint32_t dynamic_state);
+anv_meta_save(struct anv_meta_saved_state *state,
+ const struct anv_cmd_buffer *cmd_buffer,
+ uint32_t dynamic_state);
void
-anv_cmd_buffer_restore(struct anv_cmd_buffer *cmd_buffer,
- const struct anv_meta_saved_state *state);
+anv_meta_restore(const struct anv_meta_saved_state *state,
+ struct anv_cmd_buffer *cmd_buffer);
#ifdef __cplusplus
}