1 /*
2  * Copyright 2021 Google LLC
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #include "src/sksl/SkSLContext.h"
9 
10 namespace SkSL {
11 
Context(ErrorReporter & errors,const ShaderCapsClass & caps)12 Context::Context(ErrorReporter& errors, const ShaderCapsClass& caps)
13         : fErrors(errors)
14         , fCaps(caps) {
15     SkASSERT(!Pool::IsAttached());
16 }
17 
18 }  // namespace SkSL
19 
20