blob: 2f909819b5997700677d269f6ed681a00a98d276 [file] [log] [blame]
alokp@chromium.org76b82082010-03-24 17:59:39 +00001//
zmo@google.com5601ea02011-06-10 18:23:25 +00002// Copyright (c) 2002-2011 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
zmo@google.com5601ea02011-06-10 18:23:25 +000010#include "compiler/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,
19 TSymbolTable& symbolTable);
alokp@chromium.org76b82082010-03-24 17:59:39 +000020
21protected:
zmo@google.com5601ea02011-06-10 18:23:25 +000022 virtual bool writeVariablePrecision(TPrecision);
Jamie Madill2aeb26a2013-07-08 14:02:55 -040023 virtual bool visitSymbol(TIntermSymbol* node);
alokp@chromium.org76b82082010-03-24 17:59:39 +000024};
25
26#endif // CROSSCOMPILERGLSL_OUTPUTGLSL_H_