#include "src/gpu/graphite/dawn/DawnComputePipeline.h"
#include "src/gpu/SkSLToBackend.h"
#include "src/gpu/graphite/Caps.h"
#include "src/gpu/graphite/ComputePipelineDesc.h"
#include "src/gpu/graphite/ContextUtils.h"
#include "src/gpu/graphite/dawn/DawnAsyncWait.h"
#include "src/gpu/graphite/dawn/DawnErrorChecker.h"
#include "src/gpu/graphite/dawn/DawnGraphiteTypesPriv.h"
#include "src/gpu/graphite/dawn/DawnGraphiteUtilsPriv.h"
#include "src/gpu/graphite/dawn/DawnSharedContext.h"
#include "src/gpu/graphite/dawn/DawnUtilsPriv.h"
#include "src/sksl/SkSLProgramSettings.h"
namespace skgpu::graphite {
namespace {
struct ShaderInfo { … };
static ShaderInfo compile_shader_module(const DawnSharedContext* sharedContext,
const ComputePipelineDesc& pipelineDesc) { … }
}
sk_sp<DawnComputePipeline> DawnComputePipeline::Make(const DawnSharedContext* sharedContext,
const ComputePipelineDesc& pipelineDesc) { … }
DawnComputePipeline::DawnComputePipeline(const SharedContext* sharedContext,
wgpu::ComputePipeline pso,
wgpu::BindGroupLayout groupLayout)
: … { … }
void DawnComputePipeline::freeGpuData() { … }
}