00001 /* 00002 * (C) Copyright IBM Corporation 2008 00003 * All Rights Reserved. 00004 * 00005 * Permission is hereby granted, free of charge, to any person obtaining a 00006 * copy of this software and associated documentation files (the "Software"), 00007 * to deal in the Software without restriction, including without limitation 00008 * on the rights to use, copy, modify, merge, publish, distribute, sub 00009 * license, and/or sell copies of the Software, and to permit persons to whom 00010 * the Software is furnished to do so, subject to the following conditions: 00011 * 00012 * The above copyright notice and this permission notice (including the next 00013 * paragraph) shall be included in all copies or substantial portions of the 00014 * Software. 00015 * 00016 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00017 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00018 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 00019 * AUTHORS, COPYRIGHT HOLDERS, AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, 00020 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 00021 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 00022 * USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 #ifndef CELL_STATE_PER_FRAGMENT_H 00026 #define CELL_STATE_PER_FRAGMENT_H 00027 00028 extern void 00029 cell_generate_depth_stencil_test(struct cell_depth_stencil_alpha_state *cdsa); 00030 00031 extern void 00032 cell_generate_alpha_blend(struct cell_blend_state *cb); 00033 00034 extern void 00035 cell_generate_logic_op(struct spe_function *f, 00036 const struct pipe_blend_state *blend, 00037 struct pipe_surface *surf); 00038 00039 #endif /* CELL_STATE_PER_FRAGMENT_H */