Function Prototype
vkQueueSetPerfHintQCOM
Set a performance hint on a queue
To set a performance hint on a VkQueue object, call:
VkResult vkQueueSetPerfHintQCOM(
VkQueue queue,
const VkPerfHintInfoQCOM* pPerfHintInfo);
pub fn queue_set_perf_hint_qcom(
queue: vk::Queue,
p_perf_hint_info: *const vk::PerfHintInfoQCOM,
) -> vk::Result;
queueis the queue to set the performance hint on.pPerfHintInfois a pointer to a VkPerfHintInfoQCOM structure, describing the performance hint to set.
Valid Usage
VUID-vkQueueSetPerfHintQCOM-queuePerfHint-12387
The queuePerfHint feature must be
enabled
VUID-vkQueueSetPerfHintQCOM-queue-12388
queue must support at least one of the queue types specified in
VkPhysicalDeviceQueuePerfHintPropertiesQCOM::supportedQueues
Valid Usage (Implicit)
VUID-vkQueueSetPerfHintQCOM-queue-parameter
queue must be a valid VkQueue handle
VUID-vkQueueSetPerfHintQCOM-pPerfHintInfo-parameter
pPerfHintInfo must be a valid pointer to a valid VkPerfHintInfoQCOM structure
Host Synchronization
- Host access to
queuemust be externally synchronized if it was not created withVK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_BIT_KHR
Parent
VK_QCOM_queue_perf_hintType
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_DEVICE_LOST
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED