From 12301c54186d3c515ca3ee72c70091fc40f0145e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 11 Oct 2016 15:54:52 +1000 Subject: radv: drop the RADV_CALL macro. This is leftover from anv, and we really never needed it. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_meta_resolve.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/amd/vulkan/radv_meta_resolve.c') diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c index 514aa8c7ef9..6b0540fb629 100644 --- a/src/amd/vulkan/radv_meta_resolve.c +++ b/src/amd/vulkan/radv_meta_resolve.c @@ -288,12 +288,12 @@ radv_device_finish_meta_resolve_state(struct radv_device *device) const VkAllocationCallbacks *alloc = &device->meta_state.alloc; if (pass_h) - RADV_CALL(DestroyRenderPass)(device_h, pass_h, + radv_DestroyRenderPass(device_h, pass_h, &device->meta_state.alloc); VkPipeline pipeline_h = state->resolve.pipeline; if (pipeline_h) { - RADV_CALL(DestroyPipeline)(device_h, pipeline_h, alloc); + radv_DestroyPipeline(device_h, pipeline_h, alloc); } } @@ -398,7 +398,7 @@ emit_resolve(struct radv_cmd_buffer *cmd_buffer, pipeline_h); } - RADV_CALL(CmdDraw)(cmd_buffer_h, 3, 1, 0, 0); + radv_CmdDraw(cmd_buffer_h, 3, 1, 0, 0); cmd_buffer->state.flush_bits |= RADV_CMD_FLAG_FLUSH_AND_INV_CB; si_emit_cache_flush(cmd_buffer); } @@ -564,7 +564,7 @@ void radv_CmdResolveImage( &cmd_buffer->pool->alloc, &fb_h); - RADV_CALL(CmdBeginRenderPass)(cmd_buffer_h, + radv_CmdBeginRenderPass(cmd_buffer_h, &(VkRenderPassBeginInfo) { .sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, .renderPass = device->meta_state.resolve.pass, @@ -598,7 +598,7 @@ void radv_CmdResolveImage( .height = extent.height, }); - RADV_CALL(CmdEndRenderPass)(cmd_buffer_h); + radv_CmdEndRenderPass(cmd_buffer_h); radv_DestroyFramebuffer(device_h, fb_h, &cmd_buffer->pool->alloc); -- cgit v1.2.3