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:
parent
50e3303b3d
commit
a211d74096
1 changed files with 5 additions and 0 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue