venus: remove vn_renderer_info::has_timeline_sync
We are no longer limited to Vulkan 1.1 in VMs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10146>
This commit is contained in:
parent
37f03a2c4c
commit
9b71154353
|
@ -1250,9 +1250,6 @@ vn_physical_device_init_properties(struct vn_physical_device *physical_dev)
|
|||
props->apiVersion = VK_HEADER_VERSION_COMPLETE;
|
||||
if (props->apiVersion > vn_info_vk_xml_version())
|
||||
props->apiVersion = vn_info_vk_xml_version();
|
||||
if (!instance->renderer_info.has_timeline_sync &&
|
||||
props->apiVersion >= VK_API_VERSION_1_2)
|
||||
props->apiVersion = VK_MAKE_VERSION(1, 1, 130);
|
||||
}
|
||||
|
||||
props->driverVersion = vk_get_driver_version();
|
||||
|
@ -1503,8 +1500,6 @@ vn_physical_device_init_extensions(struct vn_physical_device *physical_dev)
|
|||
struct vk_device_extension_table recognized;
|
||||
vn_physical_device_get_supported_extensions(physical_dev, &supported,
|
||||
&recognized);
|
||||
if (!instance->renderer_info.has_timeline_sync)
|
||||
recognized.KHR_timeline_semaphore = false;
|
||||
|
||||
physical_dev->extension_spec_versions =
|
||||
vk_zalloc(alloc,
|
||||
|
|
|
@ -106,7 +106,6 @@ struct vn_renderer_info {
|
|||
|
||||
bool has_dmabuf_import;
|
||||
bool has_cache_management;
|
||||
bool has_timeline_sync;
|
||||
bool has_external_sync;
|
||||
bool has_implicit_fencing;
|
||||
|
||||
|
|
|
@ -1248,7 +1248,6 @@ virtgpu_get_info(struct vn_renderer *renderer, struct vn_renderer_info *info)
|
|||
*/
|
||||
info->has_cache_management = false;
|
||||
/* TODO drm_syncobj */
|
||||
info->has_timeline_sync = false;
|
||||
info->has_external_sync = false;
|
||||
|
||||
info->has_implicit_fencing = false;
|
||||
|
|
|
@ -908,7 +908,6 @@ vtest_get_info(struct vn_renderer *renderer, struct vn_renderer_info *info)
|
|||
|
||||
info->has_dmabuf_import = false;
|
||||
info->has_cache_management = false;
|
||||
info->has_timeline_sync = true;
|
||||
info->has_external_sync = false;
|
||||
info->has_implicit_fencing = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue