chromium/third_party/skia/src/gpu/graphite/ComputePipeline.h

/*
 * Copyright 2022 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef skgpu_graphite_ComputePipeline_DEFINED
#define skgpu_graphite_ComputePipeline_DEFINED

#include "src/gpu/graphite/Resource.h"

namespace skgpu::graphite {

class SharedContext;

/**
 * ComputePipeline corresponds to a backend specific pipeline used for compute (vs rendering),
 * e.g. MTLComputePipelineState (Metal),
 *      CreateComputePipeline (Dawn),
 *      CreateComputePipelineState (D3D12),
 *   or VkComputePipelineCreateInfo (Vulkan).
 */
class ComputePipeline : public Resource {};

}  // namespace skgpu::graphite

#endif  // skgpu_graphite_ComputePipeline_DEFINED