9ComputePipelineMTL::ComputePipelineMTL(std::weak_ptr<PipelineLibrary> library,
10 const ComputePipelineDescriptor&
desc,
11 id<MTLComputePipelineState>
state)
12 : Pipeline(
std::move(library),
desc), pipeline_state_(
state) {
13 if (!pipeline_state_) {
19ComputePipelineMTL::~ComputePipelineMTL() =
default;
21bool ComputePipelineMTL::IsValid()
const {
25id<MTLComputePipelineState> ComputePipelineMTL::GetMTLComputePipelineState()
27 return pipeline_state_;