From 1a72ca5667f82b8144c0003bddd76a774221ac09 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sat, 2 Sep 2017 12:59:55 +0200 Subject: radv: Put semaphore waits in preamble cs. The separate flush cs gets in the way of batchchain. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/amd/vulkan/radv_private.h') diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 28e70e69150..07e3a49a702 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -499,6 +499,7 @@ struct radv_queue { struct radeon_winsys_bo *tess_factor_ring_bo; struct radeon_winsys_bo *tess_offchip_ring_bo; struct radeon_winsys_cs *initial_preamble_cs; + struct radeon_winsys_cs *initial_full_flush_preamble_cs; struct radeon_winsys_cs *continue_preamble_cs; }; @@ -515,8 +516,6 @@ struct radv_device { struct radv_queue *queues[RADV_MAX_QUEUE_FAMILIES]; int queue_count[RADV_MAX_QUEUE_FAMILIES]; struct radeon_winsys_cs *empty_cs[RADV_MAX_QUEUE_FAMILIES]; - struct radeon_winsys_cs *flush_cs[RADV_MAX_QUEUE_FAMILIES]; - struct radeon_winsys_cs *flush_shader_cs[RADV_MAX_QUEUE_FAMILIES]; uint64_t debug_flags; bool llvm_supports_spill; -- cgit v1.2.3