summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_radeon_winsys.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-02-20 09:08:31 +0100
committerBas Nieuwenhuizen <[email protected]>2017-02-21 09:19:53 +0100
commitc121739c4772a9442bc6866abae9306773abe3de (patch)
tree37442bfdd5eabf1519d5bcb4ade882d6e7d21278 /src/amd/vulkan/radv_radeon_winsys.h
parenteac790811b0260c5989b82fe3644bb8ee7c6ddc0 (diff)
radv: Special case the initial preamble.
For flushing we don't want to flush every third IB. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_radeon_winsys.h')
-rw-r--r--src/amd/vulkan/radv_radeon_winsys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h
index bdb14395d0a..8cf29a38d94 100644
--- a/src/amd/vulkan/radv_radeon_winsys.h
+++ b/src/amd/vulkan/radv_radeon_winsys.h
@@ -305,7 +305,8 @@ struct radeon_winsys {
int queue_index,
struct radeon_winsys_cs **cs_array,
unsigned cs_count,
- struct radeon_winsys_cs *preamble_cs,
+ struct radeon_winsys_cs *initial_preamble_cs,
+ struct radeon_winsys_cs *continue_preamble_cs,
struct radeon_winsys_sem **wait_sem,
unsigned wait_sem_count,
struct radeon_winsys_sem **signal_sem,