blob: 32f969e30c0a381335e195f649a8514e51fa8bee [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"
#include "include/sksl/DSLCore.h"
#include "src/sksl/dsl/priv/DSLWriter.h"
namespace SkSL {
Context::Context(ErrorReporter& errors, const ShaderCapsClass& caps)
: fCaps(caps)
, fErrors(&errors) {
SkASSERT(!Pool::IsAttached());
}
} // namespace SkSL