| 1435 | } |
| 1436 | |
| 1437 | uint32_t CommandBufferAccessContext::AddHandle(const VulkanTypedHandle& typed_handle, uint32_t index) { |
| 1438 | const uint32_t handle_index = static_cast<uint32_t>(handles_.size()); |
| 1439 | handles_.emplace_back(HandleRecord(typed_handle, index)); |
| 1440 | sync_state_.stats.AddHandleRecord(); |
| 1441 | return handle_index; |
| 1442 | } |
| 1443 | |
| 1444 | ResourceUsageTagEx CommandBufferAccessContext::AddCommandHandle(ResourceUsageTag tag, const VulkanTypedHandle& typed_handle) { |
| 1445 | return AddCommandHandleIndexed(tag, typed_handle, vvl::kNoIndex32); |
nothing calls this directly
no test coverage detected