14 : context_(
std::move(context)) {}
18 bool CommandBuffer::SubmitCommands(
const CompletionCallback& callback) {
29 bool CommandBuffer::SubmitCommands() {
30 return SubmitCommands(
nullptr);
40 if (pass && pass->IsValid()) {
41 pass->SetLabel(
"RenderPass");
49 if (pass && pass->IsValid()) {
50 pass->SetLabel(
"BlitPass");
61 if (pass && pass->IsValid()) {
62 pass->SetLabel(
"ComputePass");