Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenslang_codegen.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5.3 00004 * 00005 * Copyright (C) 2005-2007 Brian Paul All Rights Reserved. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a 00008 * copy of this software and associated documentation files (the "Software"), 00009 * to deal in the Software without restriction, including without limitation 00010 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00011 * and/or sell copies of the Software, and to permit persons to whom the 00012 * Software is furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included 00015 * in all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00018 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00020 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00021 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00022 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 00026 #ifndef SLANG_CODEGEN_H 00027 #define SLANG_CODEGEN_H 00028 00029 00030 #include "main/imports.h" 00031 #include "slang_compile.h" 00032 00033 00034 typedef struct slang_assemble_ctx_ 00035 { 00036 slang_atom_pool *atoms; 00037 slang_name_space space; 00038 struct gl_program *program; 00039 struct gl_sl_pragmas *pragmas; 00040 slang_var_table *vartable; 00041 slang_info_log *log; 00042 struct slang_label_ *curFuncEndLabel; 00043 struct slang_ir_node_ *CurLoop; 00044 struct slang_function_ *CurFunction; 00045 } slang_assemble_ctx; 00046 00047 00048 extern GLuint 00049 _slang_sizeof_type_specifier(const slang_type_specifier *spec); 00050 00051 extern GLboolean 00052 _slang_codegen_function(slang_assemble_ctx *A , struct slang_function_ *fun); 00053 00054 extern GLboolean 00055 _slang_codegen_global_variable(slang_assemble_ctx *A, slang_variable *var, 00056 slang_unit_type type); 00057 00058 00059 #endif /* SLANG_CODEGEN_H */ Generated on Thu May 24 2012 04:20:51 for ReactOS by
1.7.6.1
|