1af69d88dSmrg/**************************************************************************
2af69d88dSmrg *
3af69d88dSmrg * Copyright 2007-2008 VMware, Inc.
4af69d88dSmrg * Copyright 2012 VMware, Inc.
5af69d88dSmrg * All Rights Reserved.
6af69d88dSmrg *
7af69d88dSmrg * Permission is hereby granted, free of charge, to any person obtaining a
8af69d88dSmrg * copy of this software and associated documentation files (the
9af69d88dSmrg * "Software"), to deal in the Software without restriction, including
10af69d88dSmrg * without limitation the rights to use, copy, modify, merge, publish,
11af69d88dSmrg * distribute, sub license, and/or sell copies of the Software, and to
12af69d88dSmrg * permit persons to whom the Software is furnished to do so, subject to
13af69d88dSmrg * the following conditions:
14af69d88dSmrg *
15af69d88dSmrg * The above copyright notice and this permission notice (including the
16af69d88dSmrg * next paragraph) shall be included in all copies or substantial portions
17af69d88dSmrg * of the Software.
18af69d88dSmrg *
19af69d88dSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20af69d88dSmrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21af69d88dSmrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
22af69d88dSmrg * IN NO EVENT SHALL THE AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR
23af69d88dSmrg * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24af69d88dSmrg * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25af69d88dSmrg * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26af69d88dSmrg *
27af69d88dSmrg **************************************************************************/
28af69d88dSmrg
29af69d88dSmrg#ifndef TGSI_STRINGS_H
30af69d88dSmrg#define TGSI_STRINGS_H
31af69d88dSmrg
32af69d88dSmrg#include "pipe/p_shader_tokens.h"
33af69d88dSmrg#include "pipe/p_state.h"
34af69d88dSmrg
35af69d88dSmrg
36af69d88dSmrg#if defined __cplusplus
37af69d88dSmrgextern "C" {
38af69d88dSmrg#endif
39af69d88dSmrg
40af69d88dSmrg
4101e04c3fSmrgextern const char *tgsi_processor_type_names[PIPE_SHADER_TYPES];
42af69d88dSmrg
43af69d88dSmrgextern const char *tgsi_semantic_names[TGSI_SEMANTIC_COUNT];
44af69d88dSmrg
45af69d88dSmrgextern const char *tgsi_texture_names[TGSI_TEXTURE_COUNT];
46af69d88dSmrg
47af69d88dSmrgextern const char *tgsi_property_names[TGSI_PROPERTY_COUNT];
48af69d88dSmrg
4901e04c3fSmrgextern const char *tgsi_return_type_names[TGSI_RETURN_TYPE_COUNT];
50af69d88dSmrg
51af69d88dSmrgextern const char *tgsi_interpolate_names[TGSI_INTERPOLATE_COUNT];
52af69d88dSmrg
53af69d88dSmrgextern const char *tgsi_interpolate_locations[TGSI_INTERPOLATE_LOC_COUNT];
54af69d88dSmrg
5501e04c3fSmrgextern const char *tgsi_invariant_name;
5601e04c3fSmrg
57af69d88dSmrgextern const char *tgsi_primitive_names[PIPE_PRIM_MAX];
58af69d88dSmrg
59af69d88dSmrgextern const char *tgsi_fs_coord_origin_names[2];
60af69d88dSmrg
61af69d88dSmrgextern const char *tgsi_fs_coord_pixel_center_names[2];
62af69d88dSmrg
6301e04c3fSmrgextern const char *tgsi_immediate_type_names[6];
6401e04c3fSmrg
6501e04c3fSmrgextern const char *tgsi_memory_names[4];
66af69d88dSmrg
67af69d88dSmrg
68af69d88dSmrgconst char *
69af69d88dSmrgtgsi_file_name(unsigned file);
70af69d88dSmrg
71af69d88dSmrg
72af69d88dSmrg#if defined __cplusplus
73af69d88dSmrg}
74af69d88dSmrg#endif
75af69d88dSmrg
76af69d88dSmrg
77af69d88dSmrg#endif /* TGSI_STRINGS_H */
78