From c8ea55ddda270687e048f88f440b1a543e4520e2 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 3 Oct 2017 15:11:21 +0200 Subject: radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_meta.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/amd/vulkan/radv_meta.h') 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, -- cgit v1.2.3