aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2015-12-16 05:01:22 -0700
committerMark Lobodzinski <mark@lunarg.com>2015-12-28 14:25:49 -0700
commitad883c0b5a931b237325cac1f9150eed9398aa39 (patch)
tree5293769d824ca46cd5782071284a880a5468d9a8 /layers/mem_tracker.cpp
parent7e3fdd4cf7915e62417b948ce9dd8a9d693d0ab1 (diff)
downloadusermoji-ad883c0b5a931b237325cac1f9150eed9398aa39.tar.xz
layers: MR95, Add renderPass compatibility checks to DrawState
Add functions to check renderpass compatibility based on spec. Add check for renderPass compatibility at vkBeginCommandBuffers() for a secondary command buffer where a framebuffer is included. The renderPass for that framebuffer must be compatible with the renderPass for the secondary command buffer. Add checks for renderPass compatibility at time vkCmdExecuteCommands() is called. If secondary command buffer renderPass is not compatible with active renderPass from primary command buffer, flag an error. Also added a check at vkCmdExecuteCommands() time to make sure that framebuffer from active renderPass matches any framebuffer that was set in secondary command buffer (if any). Conflicts: layers/draw_state.cpp
Diffstat (limited to 'layers/mem_tracker.cpp')
0 files changed, 0 insertions, 0 deletions