18 std::vector<metal::BindGroupLayout*> bindGroupLayouts;
19 bindGroupLayouts.reserve(bindGroupFormats.size());
21 for (
const auto& format : bindGroupFormats) {
23 bindGroupLayouts.push_back(std::static_pointer_cast<MetalBindGroupFormat>(format)->bindGroupLayout());
32 pipelineLayout->setDebugLabel(_layoutId,
"PipelineLayout-" + std::to_string(_layoutId));
34 spdlog::trace(
"Alloc MetalPipeline: Id " + std::to_string(_layoutId));
36 return pipelineLayout;