summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_resolve.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-10-11 15:54:52 +1000
committerDave Airlie <airlied@redhat.com>2016-10-12 08:56:41 +1000
commit12301c54186d3c515ca3ee72c70091fc40f0145e (patch)
treec614102212f02ee04cc65b5fef64ae7d20bc7ded /src/amd/vulkan/radv_meta_resolve.c
parentfc28f89157254ddf638e52ea20cdfe675ab4c382 (diff)
downloadexternal_mesa3d-12301c54186d3c515ca3ee72c70091fc40f0145e.zip
external_mesa3d-12301c54186d3c515ca3ee72c70091fc40f0145e.tar.gz
external_mesa3d-12301c54186d3c515ca3ee72c70091fc40f0145e.tar.bz2
radv: drop the RADV_CALL macro.
This is leftover from anv, and we really never needed it. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd/vulkan/radv_meta_resolve.c')
-rw-r--r--src/amd/vulkan/radv_meta_resolve.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c
index 514aa8c..6b0540f 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);