st_cb_xformfb.h revision edc09358f72cd48cb2315daf23c82e7646aeaea3
1fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul/**************************************************************************
2fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul *
3fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * Copyright 2010 VMware, Inc.
4fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * All Rights Reserved.
5fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul *
6fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * Permission is hereby granted, free of charge, to any person obtaining a
7fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * copy of this software and associated documentation files (the
8fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * "Software"), to deal in the Software without restriction, including
9fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * without limitation the rights to use, copy, modify, merge, publish,
10fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * distribute, sub license, and/or sell copies of the Software, and to
11fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * permit persons to whom the Software is furnished to do so, subject to
12fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * the following conditions:
13fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul *
14fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * The above copyright notice and this permission notice (including the
15fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * next paragraph) shall be included in all copies or substantial portions
16fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * of the Software.
17fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul *
18fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * IN NO EVENT SHALL THE AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR
22fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul *
26fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul **************************************************************************/
27fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul
28fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul#ifndef ST_CB_XFORMFB_H
29fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul#define ST_CB_XFORMFB_H
30fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul
31fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul
326f8b6661ce3af17d3cfe4f28ff15f82caf6755b5Vinson Lee#include "main/compiler.h"
33edc09358f72cd48cb2315daf23c82e7646aeaea3Vinson Lee#include "main/mfeatures.h"
346f8b6661ce3af17d3cfe4f28ff15f82caf6755b5Vinson Lee
356f8b6661ce3af17d3cfe4f28ff15f82caf6755b5Vinson Leestruct dd_function_table;
366f8b6661ce3af17d3cfe4f28ff15f82caf6755b5Vinson Lee
37b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu#if FEATURE_EXT_transform_feedback
38b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu
39fef6e36e0736a68e24d7844bae65a01de8359214Brian Paulextern void
40fef6e36e0736a68e24d7844bae65a01de8359214Brian Paulst_init_xformfb_functions(struct dd_function_table *functions);
41fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul
42b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu#else
43b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu
44b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wustatic INLINE void
45b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wust_init_xformfb_functions(struct dd_function_table *functions)
46b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu{
47b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu}
48b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu
49b093016bd0660cc4ac6142aa8d4d6add5b6bfce8Chia-I Wu#endif /* FEATURE_EXT_transform_feedback */
50fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul
51fef6e36e0736a68e24d7844bae65a01de8359214Brian Paul#endif /* ST_CB_XFORMFB_H */
52