Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenslang_emit.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 7.1 00004 * 00005 * Copyright (C) 2005-2008 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 #ifndef SLANG_EMIT_H 00026 #define SLANG_EMIT_H 00027 00028 00029 #include "main/imports.h" 00030 #include "slang_compile.h" 00031 #include "slang_ir.h" 00032 #include "main/mtypes.h" 00033 00034 00035 extern void 00036 slang_print_ir(const slang_ir_node *n, int indent); 00037 00038 00039 extern GLuint 00040 _slang_swizzle_swizzle(GLuint swz1, GLuint swz2); 00041 00042 00043 extern GLuint 00044 _slang_var_swizzle(GLint size, GLint comp); 00045 00046 00047 extern GLboolean 00048 _slang_emit_code(slang_ir_node *n, slang_var_table *vartable, 00049 struct gl_program *prog, 00050 const struct gl_sl_pragmas *pragmas, 00051 GLboolean withEnd, 00052 slang_info_log *log); 00053 00054 00055 #endif /* SLANG_EMIT_H */ Generated on Sun May 27 2012 04:20:40 for ReactOS by
1.7.6.1
|