blob: 18c09512889e3c8d01d30e21d2dd4bde8410d4d9 [file] [log] [blame]
alokp@chromium.org76b82082010-03-24 17:59:39 +00001//
Jamie Madill02f20dd2013-09-12 12:07:42 -04002// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
alokp@chromium.org76b82082010-03-24 17:59:39 +00003// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7#ifndef CROSSCOMPILERGLSL_OUTPUTGLSL_H_
8#define CROSSCOMPILERGLSL_OUTPUTGLSL_H_
9
Geoff Lang17732822013-08-29 13:46:49 -040010#include "compiler/translator/OutputGLSLBase.h"
alokp@chromium.org4e89d232010-05-14 19:37:21 +000011
zmo@google.com5601ea02011-06-10 18:23:25 +000012class TOutputGLSL : public TOutputGLSLBase
alokp@chromium.org76b82082010-03-24 17:59:39 +000013{
14public:
daniel@transgaming.com0aa3b5a2012-11-28 19:43:24 +000015 TOutputGLSL(TInfoSinkBase& objSink,
shannon.woods@transgaming.com1d432bb2013-01-25 21:57:28 +000016 ShArrayIndexClampingStrategy clampingStrategy,
daniel@transgaming.com0aa3b5a2012-11-28 19:43:24 +000017 ShHashFunction64 hashFunction,
18 NameMap& nameMap,
Jamie Madill02f20dd2013-09-12 12:07:42 -040019 TSymbolTable& symbolTable,
20 int shaderVersion);
alokp@chromium.org76b82082010-03-24 17:59:39 +000021
22protected:
zmo@google.com5601ea02011-06-10 18:23:25 +000023 virtual bool writeVariablePrecision(TPrecision);
Jamie Madill02f20dd2013-09-12 12:07:42 -040024 virtual void visitSymbol(TIntermSymbol* node);
alokp@chromium.org76b82082010-03-24 17:59:39 +000025};
26
27#endif // CROSSCOMPILERGLSL_OUTPUTGLSL_H_