| 309 | } |
| 310 | |
| 311 | void CommandBufferAccessContext::Reset() { |
| 312 | access_log_ = std::make_shared<AccessLog>(); |
| 313 | cbs_referenced_ = std::make_shared<CommandBufferSet>(); |
| 314 | if (cb_state_) { |
| 315 | cbs_referenced_->push_back(cb_state_->shared_from_this()); |
| 316 | } |
| 317 | sync_ops_.clear(); |
| 318 | command_number_ = 0; |
| 319 | reset_count_++; |
| 320 | |
| 321 | sync_state_.stats.RemoveHandleRecord((uint32_t)handles_.size()); |
| 322 | handles_.clear(); |
| 323 | |
| 324 | current_command_tag_ = vvl::kNoIndex32; |
| 325 | cb_access_context_.Reset(); |
| 326 | render_pass_contexts_.clear(); |
| 327 | current_context_ = &cb_access_context_; |
| 328 | current_renderpass_context_ = nullptr; |
| 329 | events_context_.Clear(); |
| 330 | dynamic_rendering_info_.reset(); |
| 331 | } |
| 332 | |
| 333 | bool CommandBufferAccessContext::ValidateBeginRendering(const ErrorObject& error_obj, BeginRenderingCmdState& cmd_state) const { |
| 334 | bool skip = false; |
nothing calls this directly
no test coverage detected