diff options
Diffstat (limited to 'chromium/third_party/angle/src/compiler/translator/OutputGLSL.h')
-rw-r--r-- | chromium/third_party/angle/src/compiler/translator/OutputGLSL.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chromium/third_party/angle/src/compiler/translator/OutputGLSL.h b/chromium/third_party/angle/src/compiler/translator/OutputGLSL.h new file mode 100644 index 00000000000..bceebe397d7 --- /dev/null +++ b/chromium/third_party/angle/src/compiler/translator/OutputGLSL.h @@ -0,0 +1,28 @@ +// +// Copyright (c) 2002-2013 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 CROSSCOMPILERGLSL_OUTPUTGLSL_H_ +#define CROSSCOMPILERGLSL_OUTPUTGLSL_H_ + +#include "compiler/translator/OutputGLSLBase.h" + +class TOutputGLSL : public TOutputGLSLBase +{ +public: + TOutputGLSL(TInfoSinkBase& objSink, + ShArrayIndexClampingStrategy clampingStrategy, + ShHashFunction64 hashFunction, + NameMap& nameMap, + TSymbolTable& symbolTable, + int shaderVersion); + +protected: + virtual bool writeVariablePrecision(TPrecision); + virtual void visitSymbol(TIntermSymbol* node); + virtual TString translateTextureFunction(TString& name); +}; + +#endif // CROSSCOMPILERGLSL_OUTPUTGLSL_H_ |