chromium/third_party/skia/src/gpu/graphite/compute/ComputeStep.cpp

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

#include "src/gpu/graphite/compute/ComputeStep.h"

#include "include/private/base/SkAssert.h"

#include <atomic>
#include <unordered_set>

namespace skgpu::graphite {
namespace {

static uint32_t next_id() {}

}  // namespace

ComputeStep::ComputeStep(std::string_view name,
                         WorkgroupSize localDispatchSize,
                         SkSpan<const ResourceDesc> resources,
                         SkSpan<const WorkgroupBufferDesc> workgroupBuffers,
                         Flags baseFlags)
        :{}

void ComputeStep::prepareStorageBuffer(int, const ResourceDesc&, void*, size_t) const {}

void ComputeStep::prepareUniformBuffer(int, const ResourceDesc&, UniformManager*) const {}

std::string ComputeStep::computeSkSL() const {}

ComputeStep::NativeShaderSource ComputeStep::nativeShaderSource(NativeShaderFormat) const {}

size_t ComputeStep::calculateBufferSize(int, const ResourceDesc&) const {}

std::tuple<SkISize, SkColorType> ComputeStep::calculateTextureParameters(
        int, const ResourceDesc&) const {}

SamplerDesc ComputeStep::calculateSamplerParameters(int resourceIndex, const ResourceDesc&) const {}

WorkgroupSize ComputeStep::calculateGlobalDispatchSize() const {}

}  // namespace skgpu::graphite