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