blob: d08700cc728170f8d358cf69d209d6ffba47fefe [file] [log] [blame]
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +00001//
shannonwoods@chromium.org2ac0be92013-05-30 00:02:27 +00002// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +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 _INITIALIZE_INCLUDED_
8#define _INITIALIZE_INCLUDED_
9
daniel@transgaming.combbf56f72010-04-20 18:52:13 +000010#include "compiler/Common.h"
11#include "compiler/ShHandle.h"
12#include "compiler/SymbolTable.h"
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +000013
Nicolas Capens49a88872013-06-20 09:54:03 -040014void InsertBuiltInFunctions(ShShaderType type, ShShaderSpec spec, const ShBuiltInResources &resources,
15 const TExtensionBehavior &extensionBehavior, TSymbolTable &table);
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +000016
alokp@chromium.org4888ceb2010-10-01 21:13:12 +000017void IdentifyBuiltIns(ShShaderType type, ShShaderSpec spec,
18 const ShBuiltInResources& resources,
alokp@chromium.orge4249f02010-07-26 18:13:52 +000019 TSymbolTable& symbolTable);
20
alokp@chromium.org4888ceb2010-10-01 21:13:12 +000021void InitExtensionBehavior(const ShBuiltInResources& resources,
alokp@chromium.orgad771eb2010-09-07 17:36:23 +000022 TExtensionBehavior& extensionBehavior);
23
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +000024#endif // _INITIALIZE_INCLUDED_