20 auto seed = fml::HashCombine();
21 fml::HashCombineSeed(seed, label_);
23 fml::HashCombineSeed(seed, entrypoint_->GetHash());
31 return label_ == other.label_ &&
37 label_ = std::move(label);
42 std::shared_ptr<const ShaderFunction>
function) {
52 entrypoint_ = std::move(
function);
57 std::shared_ptr<const ShaderFunction>
69 descriptor_set_layouts_.reserve(descriptor_set_layouts_.size() + count);
70 for (
size_t i = 0; i < count; i++) {
71 descriptor_set_layouts_.emplace_back(desc_set_layout[i]);
76 const std::vector<DescriptorSetLayout>&
78 return descriptor_set_layouts_;