From d115b67712d6db1eff9d3a4bb57a585c0158be74 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 27 Jan 2017 00:19:52 +0100 Subject: radv/amdgpu: Support a preamble CS. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/amd/vulkan/radv_device.c') diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 1505498c4bf..ad83f9f4eb1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1021,7 +1021,8 @@ VkResult radv_QueueSubmit( if (queue->device->trace_bo) *queue->device->trace_id_ptr = 0; - ret = queue->device->ws->cs_submit(ctx, queue->queue_idx, cs_array + j, advance, + ret = queue->device->ws->cs_submit(ctx, queue->queue_idx, cs_array + j, + advance, NULL, (struct radeon_winsys_sem **)pSubmits[i].pWaitSemaphores, b ? pSubmits[i].waitSemaphoreCount : 0, (struct radeon_winsys_sem **)pSubmits[i].pSignalSemaphores, @@ -1052,7 +1053,8 @@ VkResult radv_QueueSubmit( if (!submitCount) ret = queue->device->ws->cs_submit(ctx, queue->queue_idx, &queue->device->empty_cs[queue->queue_family_index], - 1, NULL, 0, NULL, 0, false, base_fence); + 1, NULL, NULL, 0, NULL, 0, + false, base_fence); fence->submitted = true; } -- cgit v1.2.3