Skip to content

Commit

Permalink
venus: filter out VK_EXT_physical_device_drm on the driver side
Browse files Browse the repository at this point in the history
Fixes: a1a2286 ("venus: implement VK_EXT_physical_device_drm")

Signed-off-by: Yiwei Zhang <[email protected]>
Reviewed-by: Ryan Neph <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17591>
  • Loading branch information
zhangyiwei authored and Marge Bot committed Jul 18, 2022
1 parent 50e3303 commit a211d74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/virtio/vulkan/vn_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit a211d74

Please sign in to comment.