summaryrefslogtreecommitdiffstats
path: root/src/glx/.gitignore
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-01-14 13:12:35 -0800
committerChad Versace <[email protected]>2016-01-14 13:14:40 -0800
commited33ccde635eda9d6accf2ff69fcf805902ec082 (patch)
tree27cb4e453a1e47c91163bdf8cd82efa8ee045ee4 /src/glx/.gitignore
parentea20389320b251f6498eb9c47e525ced10aab91d (diff)
anv: Make vkBeginCommandBuffer reset the command buffer
If its the command buffer's first call to vkBeginCommandBuffer, we must *initialize* the command buffer's state. Otherwise, we must *reset* its state. In both cases, let's use anv_ResetCommandBuffer. From the Vulkan 1.0 spec: If a command buffer is in the executable state and the command buffer was allocated from a command pool with the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT flag set, then vkBeginCommandBuffer implicitly resets the command buffer, behaving as if vkResetCommandBuffer had been called with VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT not set. It then puts the command buffer in the recording state.
Diffstat (limited to 'src/glx/.gitignore')
0 files changed, 0 insertions, 0 deletions