Function Prototype
vkCmdSetPerformanceOverrideINTEL
Performance override settings
Some applications might want measure the effect of a set of commands with a different settings. It is possible to override a particular settings using :
VkResult vkCmdSetPerformanceOverrideINTEL(
VkCommandBuffer commandBuffer,
const VkPerformanceOverrideInfoINTEL* pOverrideInfo);
pub fn cmd_set_performance_override_intel(
command_buffer: vk::CommandBuffer,
p_override_info: *const vk::PerformanceOverrideInfoINTEL,
) -> vk::Result;
commandBufferis the command buffer where the override takes place.pOverrideInfois a pointer to a VkPerformanceOverrideInfoINTEL structure selecting the parameter to override.
Valid Usage
VUID-vkCmdSetPerformanceOverrideINTEL-pOverrideInfo-02736
pOverrideInfo must not be used with a
VkPerformanceOverrideTypeINTEL that is not reported available by
vkGetPerformanceParameterINTEL
Valid Usage (Implicit)
VUID-vkCmdSetPerformanceOverrideINTEL-commandBuffer-parameter
commandBuffer must be a valid VkCommandBuffer handle
VUID-vkCmdSetPerformanceOverrideINTEL-pOverrideInfo-parameter
pOverrideInfo must be a valid pointer to a valid VkPerformanceOverrideInfoINTEL structure
VUID-vkCmdSetPerformanceOverrideINTEL-commandBuffer-recording
commandBuffer must be in the recording state
VUID-vkCmdSetPerformanceOverrideINTEL-commandBuffer-cmdpool
The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT, VK_QUEUE_GRAPHICS_BIT, or VK_QUEUE_TRANSFER_BIT operations
VUID-vkCmdSetPerformanceOverrideINTEL-videocoding
This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Type
Function Prototype
Command Buffer Level
primarysecondary
Queue Types
VK_QUEUE_GRAPHICS_BITVK_QUEUE_COMPUTE_BITVK_QUEUE_TRANSFER_BIT
Command Type
state