1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
#ifndef COMMON_3D_XML
#define COMMON_3D_XML
/* Autogenerated file, DO NOT EDIT manually!
This file was generated by the rules-ng-ng headergen tool in this git repository:
http://0x04.net/cgit/index.cgi/rules-ng-ng
git clone git://0x04.net/rules-ng-ng
The rules-ng-ng source files this header was generated from are:
- texdesc_3d.xml ( 3183 bytes, from 2017-10-31 19:05:01)
- copyright.xml ( 1597 bytes, from 2016-10-29 07:29:22)
- common.xml ( 26187 bytes, from 2017-10-31 19:05:01)
- common_3d.xml ( 14547 bytes, from 2017-11-01 16:08:07)
Copyright (C) 2012-2017 by the following authors:
- Wladimir J. van der Laan <laanwj@gmail.com>
- Christian Gmeiner <christian.gmeiner@gmail.com>
- Lucas Stach <l.stach@pengutronix.de>
- Russell King <rmk@arm.linux.org.uk>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sub license,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
#define TEXTURE_FORMAT_NONE 0x00000000
#define TEXTURE_FORMAT_A8 0x00000001
#define TEXTURE_FORMAT_L8 0x00000002
#define TEXTURE_FORMAT_I8 0x00000003
#define TEXTURE_FORMAT_A8L8 0x00000004
#define TEXTURE_FORMAT_A4R4G4B4 0x00000005
#define TEXTURE_FORMAT_X4R4G4B4 0x00000006
#define TEXTURE_FORMAT_A8R8G8B8 0x00000007
#define TEXTURE_FORMAT_X8R8G8B8 0x00000008
#define TEXTURE_FORMAT_A8B8G8R8 0x00000009
#define TEXTURE_FORMAT_X8B8G8R8 0x0000000a
#define TEXTURE_FORMAT_R5G6B5 0x0000000b
#define TEXTURE_FORMAT_A1R5G5B5 0x0000000c
#define TEXTURE_FORMAT_X1R5G5B5 0x0000000d
#define TEXTURE_FORMAT_YUY2 0x0000000e
#define TEXTURE_FORMAT_UYVY 0x0000000f
#define TEXTURE_FORMAT_D16 0x00000010
#define TEXTURE_FORMAT_D24X8 0x00000011
#define TEXTURE_FORMAT_DXT1 0x00000013
#define TEXTURE_FORMAT_DXT2_DXT3 0x00000014
#define TEXTURE_FORMAT_DXT4_DXT5 0x00000015
#define TEXTURE_FORMAT_E5B9G9R9 0x0000001d
#define TEXTURE_FORMAT_ETC1 0x0000001e
#define TEXTURE_FORMAT_EXT_NONE 0x00000000
#define TEXTURE_FORMAT_EXT_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x00000001
#define TEXTURE_FORMAT_EXT_RGBA8_ETC2_EAC 0x00000002
#define TEXTURE_FORMAT_EXT_R11_EAC 0x00000003
#define TEXTURE_FORMAT_EXT_RG11_EAC 0x00000004
#define TEXTURE_FORMAT_EXT_SIGNED_RG11_EAC 0x00000005
#define TEXTURE_FORMAT_EXT_G8R8 0x00000006
#define TEXTURE_FORMAT_EXT_R16F 0x00000007
#define TEXTURE_FORMAT_EXT_G16R16F 0x00000008
#define TEXTURE_FORMAT_EXT_A16B16G16R16F 0x00000009
#define TEXTURE_FORMAT_EXT_R32F 0x0000000a
#define TEXTURE_FORMAT_EXT_G32R32F 0x0000000b
#define TEXTURE_FORMAT_EXT_A2B10G10R10 0x0000000c
#define TEXTURE_FORMAT_EXT_SIGNED_R11_EAC 0x0000000d
#define TEXTURE_FORMAT_EXT_R8_SNORM 0x0000000e
#define TEXTURE_FORMAT_EXT_G8R8_SNORM 0x0000000f
#define TEXTURE_FORMAT_EXT_X8B8G8R8_SNORM 0x00000010
#define TEXTURE_FORMAT_EXT_A8B8G8R8_SNORM 0x00000011
#define TEXTURE_FORMAT_EXT_ASTC 0x00000014
#define TEXTURE_FORMAT_EXT_R8I 0x00000015
#define TEXTURE_FORMAT_EXT_G8R8I 0x00000016
#define TEXTURE_FORMAT_EXT_A8B8G8R8I 0x00000017
#define TEXTURE_FORMAT_EXT_R16I 0x00000018
#define TEXTURE_FORMAT_EXT_G16R16I 0x00000019
#define TEXTURE_FORMAT_EXT_A16B16G16R16I 0x0000001a
#define TEXTURE_FORMAT_EXT_B10G11R11F 0x0000001b
#define TEXTURE_FORMAT_EXT_A2B10G10R10UI 0x0000001c
#define TEXTURE_FORMAT_EXT_R8 0x00000021
#define TEXTURE_FORMAT_EXT_D24S8 0x00000022
#define TEXTURE_FORMAT_EXT_R32I 0x00000023
#define TEXTURE_FORMAT_EXT_G32R32I 0x00000024
#define TEXTURE_FORMAT_EXT_AYUV 0x00000025
#define TEXTURE_FILTER_NONE 0x00000000
#define TEXTURE_FILTER_NEAREST 0x00000001
#define TEXTURE_FILTER_LINEAR 0x00000002
#define TEXTURE_FILTER_ANISOTROPIC 0x00000003
#define TEXTURE_TYPE_NONE 0x00000000
#define TEXTURE_TYPE_1D 0x00000001
#define TEXTURE_TYPE_2D 0x00000002
#define TEXTURE_TYPE_3D 0x00000003
#define TEXTURE_TYPE_CUBE_MAP 0x00000005
#define TEXTURE_WRAPMODE_REPEAT 0x00000000
#define TEXTURE_WRAPMODE_MIRRORED_REPEAT 0x00000001
#define TEXTURE_WRAPMODE_CLAMP_TO_EDGE 0x00000002
#define TEXTURE_WRAPMODE_CLAMP_TO_BORDER 0x00000003
#define TEXTURE_FACE_POS_X 0x00000000
#define TEXTURE_FACE_NEG_X 0x00000001
#define TEXTURE_FACE_POS_Y 0x00000002
#define TEXTURE_FACE_NEG_Y 0x00000003
#define TEXTURE_FACE_POS_Z 0x00000004
#define TEXTURE_FACE_NEG_Z 0x00000005
#define TEXTURE_SWIZZLE_RED 0x00000000
#define TEXTURE_SWIZZLE_GREEN 0x00000001
#define TEXTURE_SWIZZLE_BLUE 0x00000002
#define TEXTURE_SWIZZLE_ALPHA 0x00000003
#define TEXTURE_SWIZZLE_ZERO 0x00000004
#define TEXTURE_SWIZZLE_ONE 0x00000005
#define TEXTURE_HALIGN_FOUR 0x00000000
#define TEXTURE_HALIGN_SIXTEEN 0x00000001
#define TEXTURE_HALIGN_SUPER_TILED 0x00000002
#define TEXTURE_HALIGN_SPLIT_TILED 0x00000003
#define TEXTURE_HALIGN_SPLIT_SUPER_TILED 0x00000004
#define TS_CACHE_MODE_128 0x00000000
#define TS_CACHE_MODE_256 0x00000001
#define COLOR_COMPRESSION_FORMAT_A4R4G4B4 0x00000000
#define COLOR_COMPRESSION_FORMAT_A1R5G5B5 0x00000001
#define COLOR_COMPRESSION_FORMAT_R5G6B5 0x00000002
#define COLOR_COMPRESSION_FORMAT_A8R8G8B8 0x00000003
#define COLOR_COMPRESSION_FORMAT_X8R8G8B8 0x00000004
#define COLOR_COMPRESSION_FORMAT_D24S8 0x00000005
#define TEXTURE_FORMAT_ASTC_RGBA_4x4 0x00000000
#define TEXTURE_FORMAT_ASTC_RGBA_5x4 0x00000001
#define TEXTURE_FORMAT_ASTC_RGBA_5x5 0x00000002
#define TEXTURE_FORMAT_ASTC_RGBA_6x5 0x00000003
#define TEXTURE_FORMAT_ASTC_RGBA_6x6 0x00000004
#define TEXTURE_FORMAT_ASTC_RGBA_8x5 0x00000005
#define TEXTURE_FORMAT_ASTC_RGBA_8x6 0x00000006
#define TEXTURE_FORMAT_ASTC_RGBA_8x8 0x00000007
#define TEXTURE_FORMAT_ASTC_RGBA_10x5 0x00000008
#define TEXTURE_FORMAT_ASTC_RGBA_10x6 0x00000009
#define TEXTURE_FORMAT_ASTC_RGBA_10x8 0x0000000a
#define TEXTURE_FORMAT_ASTC_RGBA_10x10 0x0000000b
#define TEXTURE_FORMAT_ASTC_RGBA_12x10 0x0000000c
#define TEXTURE_FORMAT_ASTC_RGBA_12x12 0x0000000d
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_4x4 0x00000010
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_5x4 0x00000011
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_5x5 0x00000012
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_6x5 0x00000013
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_6x6 0x00000014
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_8x5 0x00000015
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_8x6 0x00000016
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_8x8 0x00000017
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_10x5 0x00000018
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_10x6 0x00000019
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_10x8 0x0000001a
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_10x10 0x0000001b
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_12x10 0x0000001c
#define TEXTURE_FORMAT_ASTC_SRGB8_ALPHA8_12x12 0x0000001d
#define TE_SAMPLER_CONFIG2_UNK16 0x00010000
#define TE_SAMPLER_CONFIG2_UNK17 0x00020000
#define TE_SAMPLER_CONFIG2_UNK18 0x00040000
#define TE_SAMPLER_CONFIG2_UNK19 0x00080000
#define TE_SAMPLER_CONFIG2_UNK23 0x00800000
#define TE_SAMPLER_CONFIG3_MSAA 0x00000008
#endif /* COMMON_3D_XML */
|