From bd7fd6a0e4e9bfe3f713955c511b6ca6a6120231 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 26 Sep 2017 23:26:19 +0200 Subject: radv: remove useless radv_meta_{begin,end}_XXX() helpers Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_meta_clear.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/amd/vulkan/radv_meta_clear.c') diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c index 08a6278a5c2..b1cbb505ad0 100644 --- a/src/amd/vulkan/radv_meta_clear.c +++ b/src/amd/vulkan/radv_meta_clear.c @@ -1392,7 +1392,7 @@ void radv_CmdClearColorImage( bool cs = cmd_buffer->queue_family_index == RADV_QUEUE_COMPUTE; if (cs) - radv_meta_begin_cleari(cmd_buffer, &saved_state.compute); + radv_meta_save_compute(&saved_state.compute, cmd_buffer, 16); else radv_meta_save_graphics_reset_vport_scissor_novertex(&saved_state.gfx, cmd_buffer); @@ -1401,7 +1401,7 @@ void radv_CmdClearColorImage( rangeCount, pRanges, cs); if (cs) - radv_meta_end_cleari(cmd_buffer, &saved_state.compute); + radv_meta_restore_compute(&saved_state.compute, cmd_buffer, 16); else radv_meta_restore(&saved_state.gfx, cmd_buffer); } -- cgit v1.2.3