vulkan: Document vk_physical_device::supported_features
While we're here, move it to after supported extensions to stay consistent with the vk_physical_device_init parameters. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22845>
This commit is contained in:
committed by
Marge Bot
parent
96cd034e3c
commit
fcdf28ad94
@@ -50,8 +50,6 @@ struct vk_physical_device {
|
||||
/** Instance which is the parent of this physical device */
|
||||
struct vk_instance *instance;
|
||||
|
||||
struct vk_features supported_features;
|
||||
|
||||
/** Table of all supported device extensions
|
||||
*
|
||||
* This table is initialized from the `supported_extensions` parameter
|
||||
@@ -64,6 +62,18 @@ struct vk_physical_device {
|
||||
*/
|
||||
struct vk_device_extension_table supported_extensions;
|
||||
|
||||
/** Table of all supported features
|
||||
*
|
||||
* This table is initialized from the `supported_features` parameter
|
||||
* passed to `vk_physical_device_init()` if not `NULL`. If a `NULL`
|
||||
* features table is passed, all features are initialized to false and
|
||||
* it's the responsibility of the driver to populate the table. This may
|
||||
* be useful if the driver's physical device initialization order is such
|
||||
* that feature support cannot be determined until significant physical
|
||||
* device setup work has already been done.
|
||||
*/
|
||||
struct vk_features supported_features;
|
||||
|
||||
/** Physical-device-level dispatch table */
|
||||
struct vk_physical_device_dispatch_table dispatch_table;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user