OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2010 Intel Corporation | 2 * Copyright © 2010 Intel Corporation |
3 * | 3 * |
4 * Permission is hereby granted, free of charge, to any person obtaining a | 4 * Permission is hereby granted, free of charge, to any person obtaining a |
5 * copy of this software and associated documentation files (the "Software"), | 5 * copy of this software and associated documentation files (the "Software"), |
6 * to deal in the Software without restriction, including without limitation | 6 * to deal in the Software without restriction, including without limitation |
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
8 * and/or sell copies of the Software, and to permit persons to whom the | 8 * and/or sell copies of the Software, and to permit persons to whom the |
9 * Software is furnished to do so, subject to the following conditions: | 9 * Software is furnished to do so, subject to the following conditions: |
10 * | 10 * |
(...skipping 13 matching lines...) Expand all Loading... |
24 #pragma once | 24 #pragma once |
25 #ifndef GLSL_PARSER_EXTRAS_H | 25 #ifndef GLSL_PARSER_EXTRAS_H |
26 #define GLSL_PARSER_EXTRAS_H | 26 #define GLSL_PARSER_EXTRAS_H |
27 | 27 |
28 /* | 28 /* |
29 * Most of the definitions here only apply to C++ | 29 * Most of the definitions here only apply to C++ |
30 */ | 30 */ |
31 #ifdef __cplusplus | 31 #ifdef __cplusplus |
32 | 32 |
33 | 33 |
34 #include <cstdlib> | 34 #include <stdlib.h> |
35 #include "glsl_symbol_table.h" | 35 #include "glsl_symbol_table.h" |
36 | 36 |
37 enum _mesa_glsl_parser_targets { | 37 enum _mesa_glsl_parser_targets { |
38 vertex_shader, | 38 vertex_shader, |
39 geometry_shader, | 39 geometry_shader, |
40 fragment_shader, | 40 fragment_shader, |
41 ir_shader | 41 ir_shader |
42 }; | 42 }; |
43 | 43 |
44 struct __GLcontextRec; | 44 struct __GLcontextRec; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 extern void _mesa_destroy_shader_compiler(); | 228 extern void _mesa_destroy_shader_compiler(); |
229 extern void _mesa_destroy_shader_compiler_caches(); | 229 extern void _mesa_destroy_shader_compiler_caches(); |
230 | 230 |
231 #ifdef __cplusplus | 231 #ifdef __cplusplus |
232 } | 232 } |
233 #endif | 233 #endif |
234 | 234 |
235 | 235 |
236 #endif /* GLSL_PARSER_EXTRAS_H */ | 236 #endif /* GLSL_PARSER_EXTRAS_H */ |
OLD | NEW |