1 | // |
2 | // Copyright (c) 2016 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 | // ValidateMaxParameters checks if function definitions have more than a set number of parameters. |
7 | |
8 | #ifndef COMPILER_TRANSLATOR_VALIDATEMAXPARAMETERS_H_ |
9 | #define COMPILER_TRANSLATOR_VALIDATEMAXPARAMETERS_H_ |
10 | |
11 | namespace sh |
12 | { |
13 | |
14 | class TIntermBlock; |
15 | |
16 | // Return true if valid. |
17 | bool ValidateMaxParameters(TIntermBlock *root, unsigned int maxParameters); |
18 | |
19 | } // namespace sh |
20 | |
21 | #endif // COMPILER_TRANSLATOR_VALIDATEMAXPARAMETERS_H_ |
22 | |