aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-11-25 12:06:20 -0600
committerJason Ekstrand <[email protected]>2019-12-05 10:59:10 -0600
commitc142a40a92fc4a1ac4ac19141abd1d9d37ddd652 (patch)
tree4c58052a42082cd482066e9a1a1a91b6a24a46c3 /src/intel/vulkan/anv_private.h
parent0bba88081b416586d733878977da5950fa3e93d6 (diff)
anv: Add a has_softpin boolean
This separates "has" from "use" which will make the next commit a bit cleaner. Reviewed-by: Ivan Briano <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index d4d14245501..fd6f0fdb104 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -981,15 +981,17 @@ struct anv_physical_device {
struct isl_device isl_dev;
struct gen_perf_config * perf;
int cmd_parser_version;
+ bool has_softpin;
bool has_exec_async;
bool has_exec_capture;
bool has_exec_fence;
bool has_syncobj;
bool has_syncobj_wait;
bool has_context_priority;
- bool use_softpin;
bool has_context_isolation;
bool has_mem_available;
+
+ bool use_softpin;
bool always_use_bindless;
/** True if we can access buffers using A64 messages */