From d661e32bfb7c6ef40bb75a8abf1be6f3df722d37 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Sat, 15 May 2021 22:07:27 +0000 Subject: [PATCH] venus: stop advertising KHR_driver_properties for Android This is to pass the Android cts requirement. We will re-advertise the extension after venus has a valid driver id defined. Signed-off-by: Yiwei Zhang Reviewed-by: Chia-I Wu Part-of: --- src/virtio/vulkan/vn_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/virtio/vulkan/vn_device.c b/src/virtio/vulkan/vn_device.c index 7d858ac3587..ffd33c5df73 100644 --- a/src/virtio/vulkan/vn_device.c +++ b/src/virtio/vulkan/vn_device.c @@ -1498,7 +1498,10 @@ vn_physical_device_get_passthrough_extensions( .KHR_create_renderpass2 = true, .KHR_depth_stencil_resolve = true, .KHR_draw_indirect_count = true, +#ifndef ANDROID + /* xxx remove the #ifndef after venus has a driver id */ .KHR_driver_properties = true, +#endif .KHR_image_format_list = true, .KHR_imageless_framebuffer = true, .KHR_sampler_mirror_clamp_to_edge = true,