49f0e0bf9fa337d3f7fd9d8b30e80841d9615e64
[mesa.git] / src / glsl / pp / sl_pp_dict.h
1 /**************************************************************************
2 *
3 * Copyright 2009 VMware, Inc.
4 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial portions
16 * of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *
26 **************************************************************************/
27
28 #ifndef SL_PP_DICT_H
29 #define SL_PP_DICT_H
30
31
32 struct sl_pp_context;
33
34 struct sl_pp_dict {
35 int all;
36 int _GL_ARB_draw_buffers;
37 int _GL_ARB_texture_rectangle;
38
39 int require;
40 int enable;
41 int warn;
42 int disable;
43
44 int defined;
45
46 int ___LINE__;
47 int ___FILE__;
48 int ___VERSION__;
49
50 int optimize;
51 int debug;
52
53 int off;
54 int on;
55
56 int define;
57 int elif;
58 int _else;
59 int endif;
60 int error;
61 int extension;
62 int _if;
63 int ifdef;
64 int ifndef;
65 int line;
66 int pragma;
67 int undef;
68
69 int version;
70
71 int _0;
72 int _1;
73 };
74
75
76 int
77 sl_pp_dict_init(struct sl_pp_context *context);
78
79 #endif /* SL_PP_DICT_H */