5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMPUTE_PIPELINE_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMPUTE_PIPELINE_VK_H_
18 :
public Pipeline<ComputePipelineDescriptor>,
20 Pipeline<ComputePipelineDescriptor>> {
23 std::weak_ptr<PipelineLibrary> library,
25 vk::UniquePipeline pipeline,
26 vk::UniquePipelineLayout layout,
27 vk::UniqueDescriptorSetLayout descriptor_set_layout);
41 std::weak_ptr<DeviceHolderVK> device_holder_;
42 vk::UniquePipeline pipeline_;
43 vk::UniquePipelineLayout
layout_;
44 vk::UniqueDescriptorSetLayout descriptor_set_layout_;
45 bool is_valid_ =
false;
48 bool IsValid()
const override;
const vk::DescriptorSetLayout & GetDescriptorSetLayout() const
~ComputePipelineVK() override
ComputePipelineVK(std::weak_ptr< DeviceHolderVK > device_holder, std::weak_ptr< PipelineLibrary > library, const ComputePipelineDescriptor &desc, vk::UniquePipeline pipeline, vk::UniquePipelineLayout layout, vk::UniqueDescriptorSetLayout descriptor_set_layout)
const vk::Pipeline & GetPipeline() const
const vk::PipelineLayout & GetPipelineLayout() const
Describes the fixed function and programmable aspects of rendering and compute operations performed b...