mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
a/vk: Expose vk_select_physical_device function
This commit is contained in:
parent
d8eb6865da
commit
93fdf0bd74
|
@ -944,6 +944,12 @@ filter_device_features(struct vk_bundle *vk,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
VkResult
|
||||||
|
vk_select_physical_device(struct vk_bundle *vk, int forced_index)
|
||||||
|
{
|
||||||
|
return select_physical_device(vk, forced_index);
|
||||||
|
}
|
||||||
|
|
||||||
XRT_CHECK_RESULT VkResult
|
XRT_CHECK_RESULT VkResult
|
||||||
vk_create_device(struct vk_bundle *vk,
|
vk_create_device(struct vk_bundle *vk,
|
||||||
int forced_index,
|
int forced_index,
|
||||||
|
|
|
@ -618,6 +618,14 @@ vk_build_instance_extensions(struct vk_bundle *vk,
|
||||||
void
|
void
|
||||||
vk_fill_in_has_instance_extensions(struct vk_bundle *vk, struct u_string_list *ext_list);
|
vk_fill_in_has_instance_extensions(struct vk_bundle *vk, struct u_string_list *ext_list);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Setup the physical device, this is called by vk_create_device but has uses
|
||||||
|
* for outside of that.
|
||||||
|
*
|
||||||
|
* @ingroup aux_vk
|
||||||
|
*/
|
||||||
|
VkResult
|
||||||
|
vk_select_physical_device(struct vk_bundle *vk, int forced_index);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Used to enable device features as a argument @ref vk_create_device.
|
* Used to enable device features as a argument @ref vk_create_device.
|
||||||
|
|
Loading…
Reference in a new issue