// // Copyright 2002 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef COMPILER_TRANSLATOR_INFOSINK_H_ #define COMPILER_TRANSLATOR_INFOSINK_H_ #include <math.h> #include <stdlib.h> #include "GLSLANG/ShaderLang.h" #include "compiler/translator/Common.h" #include "compiler/translator/Severity.h" namespace sh { class ImmutableString; class TType; // Returns the fractional part of the given floating-point number. inline float fractionalPart(float f) { … } class ImmutableString; // // Encapsulate info logs for all objects that have them. // // The methods are a general set of tools for getting a variety of // messages and types inserted into the log. // class TInfoSinkBase { … }; class TInfoSink { … }; } // namespace sh #endif // COMPILER_TRANSLATOR_INFOSINK_H_