#include "src/gpu/SkSLToBackend.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/private/base/SkDebug.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/ir/SkSLProgram.h"
#include "src/utils/SkShaderUtils.h"
#include <memory>
#include <string>
namespace skgpu {
bool SkSLToBackend(const SkSL::ShaderCaps* caps,
bool (*toBackend)(SkSL::Program&, const SkSL::ShaderCaps*, std::string*),
const char* backendLabel,
const std::string& sksl,
SkSL::ProgramKind programKind,
const SkSL::ProgramSettings& settings,
std::string* output,
SkSL::ProgramInterface* outInterface,
ShaderErrorHandler* errorHandler) { … }
}