Finished migration of validation checks out of cmd_pipeline.c
authorTobin Ehlis <tobin@lunarg.com>
Thu, 17 Sep 2015 20:18:16 +0000 (14:18 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Mon, 21 Sep 2015 17:42:02 +0000 (11:42 -0600)
commitc20626c29dd18334ca1e89fac45e9801be480ccf
tree2fb4ed05d4e252e3f7db99dff50be8fcd776078d
parent8c518a7809b6d6914532a3383cda5e8df02c42d7
Finished migration of validation checks out of cmd_pipeline.c

Added check to DrawState layer for submission of Primary cmd buffer in vkCmdExecuteCommands() call. Added a test to verify the check.

Replaced some other checks in cmd_pipeline.c with asserts and the checks themselves are already handled in ParamChecker.
layers/draw_state.cpp
layers/draw_state.h
layers/vk_validation_layer_details.md