5 #ifndef FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_DESCRIPTOR_H_
6 #define FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_DESCRIPTOR_H_
13 #include <string_view>
14 #include <type_traits>
15 #include <unordered_map>
17 #include "flutter/fml/hash_combine.h"
18 #include "flutter/fml/macros.h"
31 :
public Comparable<ComputePipelineDescriptor> {
42 std::shared_ptr<const ShaderFunction>
function);
47 std::size_t
GetHash()
const override;
52 template <
size_t Size>
54 const std::array<DescriptorSetLayout, Size>& inputs) {
65 std::shared_ptr<const ShaderFunction> entrypoint_;
66 std::vector<DescriptorSetLayout> descriptor_set_layouts_;
71 #endif // FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_DESCRIPTOR_H_