summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-01-16 18:11:03 -0800
committerJason Ekstrand <[email protected]>2018-01-23 00:15:40 -0800
commit0c399dca51d2aa1a784edcb6e409aba5b67e1473 (patch)
tree1ad4cb7c3adecece41a435d5972cc4c34761e981 /src/intel/vulkan/anv_private.h
parenta372b9247ddcaa43d13cf8161d2026c239d0bf57 (diff)
anv: Add a per-instance dispatch table
We also switch GetInstanceProcAddr over to use it. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 1fd7c39567d..d1b2ebc11fb 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -797,6 +797,7 @@ struct anv_instance {
uint32_t apiVersion;
struct anv_instance_extension_table enabled_extensions;
+ struct anv_dispatch_table dispatch;
int physicalDeviceCount;
struct anv_physical_device physicalDevice;