Function Prototype
vkAntiLagUpdateAMD
Provide information to reduce latency
To lower latency, call:
void vkAntiLagUpdateAMD(
VkDevice device,
const VkAntiLagDataAMD* pData);
device
is the logical devicepData
is a pointer to a VkAntiLagDataAMD structure containing latency reduction parameters.
This command should be executed immediately before the application processes
user input.
If pData
is not NULL
and
VkAntiLagDataAMD::presentationInfo
is not NULL
, this command
should be executed again before vkQueuePresentKHR, with
pPresentationInfo
set to matching values.
Valid Usage
VUID-vkAntiLagUpdateAMD-antiLag-10061
The antiLag
feature must be enabled
Valid Usage (Implicit)
VUID-vkAntiLagUpdateAMD-device-parameter
device
must be a valid VkDevice handle
VUID-vkAntiLagUpdateAMD-pData-parameter
pData
must be a valid pointer to a valid VkAntiLagDataAMD structure