C Specification
To query the data graph processing engines and operations they support for a specific queue family of a physical device, call:
// Provided by VK_ARM_data_graph
VkResult vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM(
VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex,
uint32_t* pQueueFamilyDataGraphPropertyCount,
VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties);
Parameters
-
physicalDevice
is the physical device to query. -
queueFamilyIndex
is the index of the queue family being queried. -
pQueueFamilyDataGraphPropertyCount
is a pointer to an integer related to the number of properties available or queried. -
pQueueFamilyDataGraphProperties
is eitherNULL
or a pointer to an array of VkQueueFamilyDataGraphPropertiesARM structures.
Description
If pQueueFamilyDataGraphProperties
is NULL
, then the number of
properties available is returned in
pQueueFamilyDataGraphPropertyCount
.
Otherwise, pQueueFamilyDataGraphPropertyCount
must point to a
variable set by the application to the number of elements in the
pQueueFamilyDataGraphProperties
array, and on return the variable is
overwritten with the number of structures actually written to
pQueueFamilyDataGraphProperties
.
If pQueueFamilyDataGraphPropertyCount
is less than the number of
properties available, at most pQueueFamilyDataGraphPropertyCount
structures will be written, and VK_INCOMPLETE
will be returned instead
of VK_SUCCESS
, to indicate that not all the available properties were
returned.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.