5#ifndef FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_DESCRIPTOR_H_
6#define FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_DESCRIPTOR_H_
21 :
public Comparable<ComputePipelineDescriptor> {
32 std::shared_ptr<const ShaderFunction>
function);
37 std::size_t
GetHash()
const override;
42 template <
size_t Size>
44 const std::array<DescriptorSetLayout, Size>&
inputs) {
55 std::shared_ptr<const ShaderFunction> entrypoint_;
56 std::vector<DescriptorSetLayout> descriptor_set_layouts_;
const std::vector< DescriptorSetLayout > & GetDescriptorSetLayouts() const
std::shared_ptr< const ShaderFunction > GetStageEntrypoint() const
bool IsEqual(const ComputePipelineDescriptor &other) const override
std::size_t GetHash() const override
~ComputePipelineDescriptor()
ComputePipelineDescriptor & SetLabel(std::string label)
ComputePipelineDescriptor & SetStageEntrypoint(std::shared_ptr< const ShaderFunction > function)
ComputePipelineDescriptor()
const std::string & GetLabel() const
bool RegisterDescriptorSetLayouts(const std::array< DescriptorSetLayout, Size > &inputs)
Dart_NativeFunction function