aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_wsi.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-01-27 00:19:52 +0100
committerBas Nieuwenhuizen <[email protected]>2017-01-30 02:07:08 +0100
commitd115b67712d6db1eff9d3a4bb57a585c0158be74 (patch)
treec4fe73560e7f5dbd73a27749dd749d9180a5bf75 /src/amd/vulkan/radv_wsi.c
parent2842dea310e80346a077ec21fe5932875c0d9265 (diff)
radv/amdgpu: Support a preamble CS.
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_wsi.c')
-rw-r--r--src/amd/vulkan/radv_wsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c
index 2f45961cf8c..9c9e1bb0a8d 100644
--- a/src/amd/vulkan/radv_wsi.c
+++ b/src/amd/vulkan/radv_wsi.c
@@ -367,7 +367,7 @@ VkResult radv_QueuePresentKHR(
struct radeon_winsys_ctx *ctx = queue->hw_ctx;
queue->device->ws->cs_submit(ctx, queue->queue_idx,
&queue->device->empty_cs[queue->queue_family_index],
- 1,
+ 1, NULL,
(struct radeon_winsys_sem **)pPresentInfo->pWaitSemaphores,
pPresentInfo->waitSemaphoreCount, NULL, 0, false, base_fence);
fence->submitted = true;