diff options
Diffstat (limited to 'gfx/angle/checkout/src/compiler/translator/length_limits.h')
-rw-r--r-- | gfx/angle/checkout/src/compiler/translator/length_limits.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gfx/angle/checkout/src/compiler/translator/length_limits.h b/gfx/angle/checkout/src/compiler/translator/length_limits.h new file mode 100644 index 0000000000..a7d95db135 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/length_limits.h @@ -0,0 +1,26 @@ +// +// Copyright 2011 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_ |