diff options
author | Dave Airlie <[email protected]> | 2016-10-13 05:14:52 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-19 10:15:42 +1000 |
commit | 7c10258567ca98e28b291b679fde8cd60b719579 (patch) | |
tree | 6b23a347c1ca58b16f00afa490325c764d8e668e /src/intel/vulkan/anv_private.h | |
parent | be61fff6da32267cb5d463197df22be8d8875ff8 (diff) |
anv/wsi: abstract wsi interfaces away from device a bit more.
This is a step towards separating out the wsi code for sharing
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 8ba03300ce1..62d3300d0ce 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -455,6 +455,10 @@ extern struct anv_dispatch_table dtable; #define VK_ICD_WSI_PLATFORM_MAX 5 +struct anv_wsi_device { + struct anv_wsi_interface * wsi[VK_ICD_WSI_PLATFORM_MAX]; +}; + struct anv_physical_device { VK_LOADER_DATA _loader_data; @@ -471,7 +475,7 @@ struct anv_physical_device { uint32_t eu_total; uint32_t subslice_total; - struct anv_wsi_interface * wsi[VK_ICD_WSI_PLATFORM_MAX]; + struct anv_wsi_device wsi_device; }; struct anv_instance { |