diff options
author | Dave Airlie <[email protected]> | 2017-10-17 15:18:36 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-10-17 16:50:32 +1000 |
commit | 17201a2eb0b1b8538713691e6a46fb56d76cafe8 (patch) | |
tree | 17f43b17866e5fd9986760a66bb7a88c9fbc4ebb /src/amd/vulkan/radv_private.h | |
parent | c00256a12c5be3d0f1c222176b62c13c4a2e4b50 (diff) |
radv: port to using updated anv entrypoint/extension generator.
This ports radv to using the anv entrypoint/extension generator
code.
No differences on enabled extensions list in vulkaninfo.
Acked-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 70c5c70aaa5..ad9ea5ed673 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -253,11 +253,6 @@ void radv_loge_v(const char *format, va_list va); void *radv_lookup_entrypoint(const char *name); -struct radv_extensions { - VkExtensionProperties *ext_array; - uint32_t num_ext; -}; - struct radv_physical_device { VK_LOADER_DATA _loader_data; @@ -273,7 +268,6 @@ struct radv_physical_device { int local_fd; struct wsi_device wsi_device; - struct radv_extensions extensions; bool has_rbplus; /* if RB+ register exist */ bool rbplus_allowed; /* if RB+ is allowed */ @@ -301,6 +295,11 @@ struct radv_instance { VkResult radv_init_wsi(struct radv_physical_device *physical_device); void radv_finish_wsi(struct radv_physical_device *physical_device); +bool radv_instance_extension_supported(const char *name); +uint32_t radv_physical_device_api_version(struct radv_physical_device *dev); +bool radv_physical_device_extension_supported(struct radv_physical_device *dev, + const char *name); + struct cache_entry; struct radv_pipeline_cache { |