blob: bbcc5618113b53af2e0eca49ff2b2280f5809cc6 [file] [log] [blame]
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/sksl/SkSLContext.h"
namespace SkSL {
Context::Context(ErrorReporter& errors, const ShaderCapsClass& caps)
: fErrors(errors)
, fCaps(caps) {
SkASSERT(!Pool::IsAttached());
}
} // namespace SkSL