aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.cpp
diff options
context:
space:
mode:
authorAlex Smith <asmith@feralinteractive.com>2017-08-16 09:17:54 +0100
committerMark Lobodzinski <mark@lunarg.com>2017-08-16 12:15:41 -0600
commiteab39a6bd0c0b9875532001444850b4a3b69879b (patch)
treea4b08243b04c86503dfe2d929cf7d6932c3a496a /layers/buffer_validation.cpp
parentc4462f94b66591318bc328b03357af6325c58d1f (diff)
downloadusermoji-eab39a6bd0c0b9875532001444850b4a3b69879b.tar.xz
layers: Copy queue submit fcns in CmdExecuteCommands
When a secondary command buffer is executed, copy all functions in its queue_submit_functions list to the primary command buffer. This is needed e.g. to ensure that functions registered to validate and update memory validity state for a command in the secondary CB get run upon submission of the primary CB. Fixes spurious memory invalid warnings on later commands after an image's memory has been initially made valid inside a secondary CB. Change-Id: I39d5a34f074942d5dedbf4c5a0295af957a92361
Diffstat (limited to 'layers/buffer_validation.cpp')
0 files changed, 0 insertions, 0 deletions