OLD | NEW |
1 /* -*- c++ -*- */ | 1 /* -*- c++ -*- */ |
2 /* | 2 /* |
3 * Copyright © 2010 Intel Corporation | 3 * Copyright © 2010 Intel Corporation |
4 * | 4 * |
5 * Permission is hereby granted, free of charge, to any person obtaining a | 5 * Permission is hereby granted, free of charge, to any person obtaining a |
6 * copy of this software and associated documentation files (the "Software"), | 6 * copy of this software and associated documentation files (the "Software"), |
7 * to deal in the Software without restriction, including without limitation | 7 * to deal in the Software without restriction, including without limitation |
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
9 * and/or sell copies of the Software, and to permit persons to whom the | 9 * and/or sell copies of the Software, and to permit persons to whom the |
10 * Software is furnished to do so, subject to the following conditions: | 10 * Software is furnished to do so, subject to the following conditions: |
11 * | 11 * |
12 * The above copyright notice and this permission notice (including the next | 12 * The above copyright notice and this permission notice (including the next |
13 * paragraph) shall be included in all copies or substantial portions of the | 13 * paragraph) shall be included in all copies or substantial portions of the |
14 * Software. | 14 * Software. |
15 * | 15 * |
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
22 * DEALINGS IN THE SOFTWARE. | 22 * DEALINGS IN THE SOFTWARE. |
23 */ | 23 */ |
24 | 24 |
25 #pragma once | 25 #pragma once |
26 #ifndef IR_H | 26 #ifndef IR_H |
27 #define IR_H | 27 #define IR_H |
28 | 28 |
29 #include <cstdio> | 29 #include <stdio.h> |
30 #include <cstdlib> | 30 #include <stdlib.h> |
31 | 31 |
32 extern "C" { | 32 extern "C" { |
33 #include <talloc.h> | 33 #include <talloc.h> |
34 } | 34 } |
35 | 35 |
36 #include "list.h" | 36 #include "list.h" |
37 #include "ir_visitor.h" | 37 #include "ir_visitor.h" |
38 #include "ir_hierarchical_visitor.h" | 38 #include "ir_hierarchical_visitor.h" |
39 | 39 |
40 #ifndef ARRAY_SIZE | 40 #ifndef ARRAY_SIZE |
(...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 import_prototypes(const exec_list *source, exec_list *dest, | 1498 import_prototypes(const exec_list *source, exec_list *dest, |
1499 struct glsl_symbol_table *symbols, void *mem_ctx); | 1499 struct glsl_symbol_table *symbols, void *mem_ctx); |
1500 | 1500 |
1501 extern bool | 1501 extern bool |
1502 ir_has_call(ir_instruction *ir); | 1502 ir_has_call(ir_instruction *ir); |
1503 | 1503 |
1504 extern void | 1504 extern void |
1505 do_set_program_inouts(exec_list *instructions, struct gl_program *prog); | 1505 do_set_program_inouts(exec_list *instructions, struct gl_program *prog); |
1506 | 1506 |
1507 #endif /* IR_H */ | 1507 #endif /* IR_H */ |
OLD | NEW |