blob: 804e7a71844727464649681ab401b4de4f983e15 [file] [log] [blame]
/*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "tests/Test.h"
#ifdef SK_ENABLE_SKSL
#include "include/sksl/DSLCore.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "tools/gpu/GrContextFactory.h"
using namespace SkSL::dsl;
// for use from SkSLDSLOnlyTest.cpp
void StartDSL(const sk_gpu_test::ContextInfo ctxInfo) {
Start(ctxInfo.directContext()->priv().getGpu()->shaderCompiler());
}
#endif