aboutsummaryrefslogtreecommitdiff
path: root/include/vulkan
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-01-15 13:34:44 -0700
committerMark Lobodzinski <mark@lunarg.com>2016-01-22 13:49:50 -0700
commite22b00057b9d0de018e364c12707ce77abed6b86 (patch)
treed4d1510c0bdefd02e62b6be548755ede0a8ef6cf /include/vulkan
parent8da0d32769f16ee5151ee45772e4887e73416ca6 (diff)
downloadusermoji-e22b00057b9d0de018e364c12707ce77abed6b86.tar.xz
layers: MR139, draw_state VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT checks
Added a set to track which secondary cmdBuffers are contained within a primary cmdBuffer. Added new DRAWSTATE_INVALID_CB_SIMULTANEOUS_USE enum value for new error/warning cases, along with line in documentation. New validation issues and state updates are listed below. While tracking cmdBuffers at QueueSubmit time: 1. Flag an error if a cmdBuffer is already in flight and does not have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set 2. Account for tracking of secondary cmdBuffers (and their in_use resources) that are submitted within a primary command buffer When submitting secondary command buffers into primary command buffer at CmdExecuteCommands time: 1. Flag an error if secondary cmdBuffer is in flight and doesn't have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set. 2. Warn user if secondary cmdBuffer doesn't have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set but primary cmdBuffer does. This causes primary cmdBuffer to be treated as if VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT isn't set. 3. Add secondary cmdBuffers to set off of primary cmdBuffer for tracking purposes 4. Add secondary cmdBuffers to inFlight set
Diffstat (limited to 'include/vulkan')
0 files changed, 0 insertions, 0 deletions