#include <compute_pipeline_vk.h>
Definition at line 17 of file compute_pipeline_vk.h.
◆ ComputePipelineVK()
impeller::ComputePipelineVK::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 |
|
) |
| |
Definition at line 9 of file compute_pipeline_vk.cc.
17 device_holder_(std::move(device_holder)),
18 pipeline_(std::move(pipeline)),
19 layout_(std::move(layout)),
20 descriptor_set_layout_(std::move(descriptor_set_layout)) {
21 is_valid_ = pipeline_ && layout_ && descriptor_set_layout_;
22}
Pipeline(std::weak_ptr< PipelineLibrary > library, ComputePipelineDescriptor desc)
◆ ~ComputePipelineVK()
impeller::ComputePipelineVK::~ComputePipelineVK |
( |
| ) |
|
|
override |
Definition at line 24 of file compute_pipeline_vk.cc.
24 {
25 std::shared_ptr<DeviceHolderVK> device_holder = device_holder_.lock();
26 if (device_holder) {
27 descriptor_set_layout_.reset();
28 layout_.reset();
29 pipeline_.reset();
30 } else {
31 descriptor_set_layout_.release();
32 layout_.release();
33 pipeline_.release();
34 }
35}
◆ GetDescriptorSetLayout()
const vk::DescriptorSetLayout & impeller::ComputePipelineVK::GetDescriptorSetLayout |
( |
| ) |
const |
◆ GetPipeline()
const vk::Pipeline & impeller::ComputePipelineVK::GetPipeline |
( |
| ) |
const |
◆ GetPipelineLayout()
const vk::PipelineLayout & impeller::ComputePipelineVK::GetPipelineLayout |
( |
| ) |
const |
◆ PipelineLibraryVK
The documentation for this class was generated from the following files: