Fix the hang on subcommand: vkCmdWaitEvents (#1191)
Fix the hang on subcommand: vkCmdWaitEvents (#1191)

* Fix the incorrect renderpass grouping when secondary commandbuffers involved

* Fix the hang on subcommand: vkCmdWaitEvents

baldwinn860/gapid,dsrbecky/gapid,dsrbecky/gapid,Qining/gapid,pmuetschard/gapid,dsrbecky/gapid,baldwinn860/gapid,dsrbecky/gapid,google/agi,pmuetschard/gapid,Qining/gapid,google/gapid,baldwinn860/gapid,google/gapid,google/gapid,baldwinn860/gapid,Qining/gapid,google/gapid,google/agi,Qining/gapid,google/gapid,Qining/gapid,baldwinn860/gapid,google/gapid,pmuetschard/gapid,dsrbecky/gapid,google/agi,pmuetschard/gapid,dsrbecky/gapid,pmuetschard/gapid,dsrbecky/gapid,google/agi,baldwinn860/gapid,Qining/gapid,google/agi,pmuetschard/gapid,google/gapid,google/agi,dsrbecky/gapid,google/agi,google/gapid,pmuetschard/gapid,Qining/gapid,google/agi,baldwinn860/gapid,Qining/gapid,baldwinn860/gapid,pmuetschard/gapid