summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-18 16:32:46 -0700
committerJason Ekstrand <[email protected]>2016-03-21 15:29:30 -0700
commit869e393eb36e6912ca16fcfd060892c0de07bb49 (patch)
tree51d101c3cd83fe50a8b87be14011708ad94e6c29 /src/intel/vulkan/anv_private.h
parentecfb07427632b99a9f424ad06f0967fa8a7fe2a2 (diff)
anv/batch_chain: Fall back to growing batches when chaining isn't available
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 6d98e0267a4..03e87670165 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -672,6 +672,7 @@ struct anv_device {
struct isl_device isl_dev;
int context_id;
int fd;
+ bool can_chain_batches;
struct anv_bo_pool batch_bo_pool;
@@ -1192,6 +1193,7 @@ struct anv_cmd_pool {
enum anv_cmd_buffer_exec_mode {
ANV_CMD_BUFFER_EXEC_MODE_PRIMARY,
ANV_CMD_BUFFER_EXEC_MODE_EMIT,
+ ANV_CMD_BUFFER_EXEC_MODE_GROW_AND_EMIT,
ANV_CMD_BUFFER_EXEC_MODE_CHAIN,
ANV_CMD_BUFFER_EXEC_MODE_COPY_AND_CHAIN,
};