/* * 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/ir/SkSLConstructorDiagonalMatrix.h" #include "include/core/SkTypes.h" #include "src/sksl/SkSLConstantFolder.h" #include "src/sksl/ir/SkSLType.h" namespace SkSL { std::unique_ptr<Expression> ConstructorDiagonalMatrix::Make(const Context& context, Position pos, const Type& type, std::unique_ptr<Expression> arg) { … } std::optional<double> ConstructorDiagonalMatrix::getConstantValue(int n) const { … } } // namespace SkSL