blob: f826032d3f8ce24db730a573dc0390071ee13a0a [file] [log] [blame]
Zhenyao Mo4a667fe2014-02-11 12:35:01 -08001//
2// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
Geoff Lang0a73dd82014-11-19 16:18:08 -05007#ifndef COMPILER_TRANSLATOR_INITIALIZEVARIABLES_H_
8#define COMPILER_TRANSLATOR_INITIALIZEVARIABLES_H_
Zhenyao Mo4a667fe2014-02-11 12:35:01 -08009
Zhenyao Mo72111912016-07-20 17:45:56 -070010#include <GLSLANG/ShaderLang.h>
Zhenyao Mo4a667fe2014-02-11 12:35:01 -080011
Zhenyao Mo72111912016-07-20 17:45:56 -070012class TIntermNode;
Zhenyao Mo4a667fe2014-02-11 12:35:01 -080013
Zhenyao Mo72111912016-07-20 17:45:56 -070014typedef std::vector<sh::ShaderVariable> InitVariableList;
Zhenyao Mo4a667fe2014-02-11 12:35:01 -080015
Zhenyao Mo72111912016-07-20 17:45:56 -070016void InitializeVariables(TIntermNode *root, const InitVariableList &vars);
Zhenyao Mo4a667fe2014-02-11 12:35:01 -080017
Geoff Lang0a73dd82014-11-19 16:18:08 -050018#endif // COMPILER_TRANSLATOR_INITIALIZEVARIABLES_H_