summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/compiler/translator/length_limits.h
blob: 607157f4ab2582c3ac089bf5733e5801f7330be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Copyright (c) 2011-2014 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.
//

//
// length_limits.h
//

#ifndef COMPILER_TRANSLATOR_LENGTHLIMITS_H_
#define COMPILER_TRANSLATOR_LENGTHLIMITS_H_

#include "GLSLANG/ShaderLang.h"

// These constants are factored out from the rest of the headers to
// make it easier to reference them from the compiler sources.

namespace sh
{

size_t GetGlobalMaxTokenSize(ShShaderSpec spec);

}  // namespace sh

#endif // COMPILER_TRANSLATOR_LENGTHLIMITS_H_