summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-10-03 15:11:21 +0200
committerSamuel Pitoiset <[email protected]>2017-10-06 09:49:06 +0200
commitc8ea55ddda270687e048f88f440b1a543e4520e2 (patch)
tree3b042596147eeb51fc52a8af1ee14e2d1498ff0a /src/amd/vulkan/radv_meta.h
parent213f86e514249dba245c97877b3eae3c2018a599 (diff)
radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r--src/amd/vulkan/radv_meta.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h
index 358df705991..d10ec994137 100644
--- a/src/amd/vulkan/radv_meta.h
+++ b/src/amd/vulkan/radv_meta.h
@@ -58,14 +58,6 @@ struct radv_meta_saved_state {
VkRect2D render_area;
};
-struct radv_meta_saved_compute_state {
- struct radv_descriptor_set *old_descriptor_set0;
- struct radv_pipeline *old_pipeline;
-
- unsigned push_constant_size;
- char push_constants[128];
-};
-
VkResult radv_device_init_meta_clear_state(struct radv_device *device);
void radv_device_finish_meta_clear_state(struct radv_device *device);
@@ -102,13 +94,6 @@ void radv_meta_save(struct radv_meta_saved_state *saved_state,
void radv_meta_restore(const struct radv_meta_saved_state *state,
struct radv_cmd_buffer *cmd_buffer);
-void radv_meta_save_compute(struct radv_meta_saved_compute_state *state,
- const struct radv_cmd_buffer *cmd_buffer,
- unsigned push_constant_size);
-
-void radv_meta_restore_compute(const struct radv_meta_saved_compute_state *state,
- struct radv_cmd_buffer *cmd_buffer);
-
VkImageViewType radv_meta_get_view_type(const struct radv_image *image);
uint32_t radv_meta_get_iview_layer(const struct radv_image *dest_image,