venus: filter out VK_EXT_physical_device_drm on the driver side

Fixes: a1a22862c6 ("venus: implement VK_EXT_physical_device_drm")

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17591>
This commit is contained in:
Yiwei Zhang 2022-07-18 04:48:29 +00:00 committed by Marge Bot
parent 50e3303b3d
commit a211d74096

View file

@ -283,6 +283,11 @@ vn_device_fix_create_info(const struct vn_device *dev,
}
}
if (app_exts->EXT_physical_device_drm) {
/* see vn_physical_device_get_native_extensions */
block_exts[block_count++] = VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME;
}
assert(extra_count <= ARRAY_SIZE(extra_exts));
assert(block_count <= ARRAY_SIZE(block_exts));