1 // 2 // Copyright 2011 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 7 // 8 // length_limits.h 9 // 10 11 #ifndef COMPILER_TRANSLATOR_LENGTHLIMITS_H_ 12 #define COMPILER_TRANSLATOR_LENGTHLIMITS_H_ 13 14 #include "GLSLANG/ShaderLang.h" 15 16 // These constants are factored out from the rest of the headers to 17 // make it easier to reference them from the compiler sources. 18 19 namespace sh 20 { 21 22 size_t GetGlobalMaxTokenSize(ShShaderSpec spec); 23 24 } // namespace sh 25 26 #endif // COMPILER_TRANSLATOR_LENGTHLIMITS_H_ 27