Debian Codegraph @

src/nouveau/headers/nvidia/classes/clcb97tex.h

raw
1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 2001-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: MIT
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
22 */
23
24 /* AUTO GENERATED FILE -- DO NOT EDIT */
25
26 #ifndef __CLCB97TEX_H__
27 #define __CLCB97TEX_H__
28
29 /*
30 ** Texture Header State Blocklinear
31 */
32
33 #define NVCB97_TEXHEAD_BL_COMPONENTS MW(6:0)
34 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_INVALID 0x00000000
35 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
36 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R32_G32_B32 0x00000002
37 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
38 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R32_G32 0x00000004
39 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R32_B24G8 0x00000005
40 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_X8B8G8R8 0x00000007
41 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_A8B8G8R8 0x00000008
42 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_A2B10G10R10 0x00000009
43 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R16_G16 0x0000000c
44 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_G8R24 0x0000000d
45 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_G24R8 0x0000000e
46 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R32 0x0000000f
47 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_A4B4G4R4 0x00000012
48 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_A5B5G5R1 0x00000013
49 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_A1B5G5R5 0x00000014
50 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_B5G6R5 0x00000015
51 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_B6G5R5 0x00000016
52 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_G8R8 0x00000018
53 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R16 0x0000001b
54 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
55 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R8 0x0000001d
56 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_G4R4 0x0000001e
57 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_R1 0x0000001f
58 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
59 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
60 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_G8B8G8R8 0x00000022
61 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_B8G8R8G8 0x00000023
62 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_DXT1 0x00000024
63 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_DXT23 0x00000025
64 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_DXT45 0x00000026
65 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_DXN1 0x00000027
66 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_DXN2 0x00000028
67 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_BC6H_SF16 0x00000010
68 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_BC6H_UF16 0x00000011
69 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_BC7U 0x00000017
70 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ETC2_RGB 0x00000006
71 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
72 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
73 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_EAC 0x00000019
74 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_EACX2 0x0000001a
75 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_Z24S8 0x00000029
76 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_X8Z24 0x0000002a
77 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_S8Z24 0x0000002b
78 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ZF32 0x0000002f
79 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
80 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_Z16 0x0000003a
81 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
82 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
83 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
84 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
85 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
86 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
87 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
88 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
89 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
90 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
91 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
92 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
93 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
94 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
95 #define NVCB97_TEXHEAD_BL_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
96 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE MW(9:7)
97 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_SNORM 0x00000001
98 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_UNORM 0x00000002
99 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_SINT 0x00000003
100 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_UINT 0x00000004
101 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
102 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
103 #define NVCB97_TEXHEAD_BL_R_DATA_TYPE_NUM_FLOAT 0x00000007
104 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE MW(12:10)
105 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_SNORM 0x00000001
106 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_UNORM 0x00000002
107 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_SINT 0x00000003
108 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_UINT 0x00000004
109 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
110 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
111 #define NVCB97_TEXHEAD_BL_G_DATA_TYPE_NUM_FLOAT 0x00000007
112 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE MW(15:13)
113 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_SNORM 0x00000001
114 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_UNORM 0x00000002
115 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_SINT 0x00000003
116 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_UINT 0x00000004
117 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
118 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
119 #define NVCB97_TEXHEAD_BL_B_DATA_TYPE_NUM_FLOAT 0x00000007
120 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE MW(18:16)
121 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_SNORM 0x00000001
122 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_UNORM 0x00000002
123 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_SINT 0x00000003
124 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_UINT 0x00000004
125 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
126 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
127 #define NVCB97_TEXHEAD_BL_A_DATA_TYPE_NUM_FLOAT 0x00000007
128 #define NVCB97_TEXHEAD_BL_X_SOURCE MW(21:19)
129 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_ZERO 0x00000000
130 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_R 0x00000002
131 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_G 0x00000003
132 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_B 0x00000004
133 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_A 0x00000005
134 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_ONE_INT 0x00000006
135 #define NVCB97_TEXHEAD_BL_X_SOURCE_IN_ONE_FLOAT 0x00000007
136 #define NVCB97_TEXHEAD_BL_Y_SOURCE MW(24:22)
137 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_ZERO 0x00000000
138 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_R 0x00000002
139 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_G 0x00000003
140 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_B 0x00000004
141 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_A 0x00000005
142 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_ONE_INT 0x00000006
143 #define NVCB97_TEXHEAD_BL_Y_SOURCE_IN_ONE_FLOAT 0x00000007
144 #define NVCB97_TEXHEAD_BL_Z_SOURCE MW(27:25)
145 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_ZERO 0x00000000
146 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_R 0x00000002
147 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_G 0x00000003
148 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_B 0x00000004
149 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_A 0x00000005
150 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_ONE_INT 0x00000006
151 #define NVCB97_TEXHEAD_BL_Z_SOURCE_IN_ONE_FLOAT 0x00000007
152 #define NVCB97_TEXHEAD_BL_W_SOURCE MW(30:28)
153 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_ZERO 0x00000000
154 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_R 0x00000002
155 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_G 0x00000003
156 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_B 0x00000004
157 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_A 0x00000005
158 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_ONE_INT 0x00000006
159 #define NVCB97_TEXHEAD_BL_W_SOURCE_IN_ONE_FLOAT 0x00000007
160 #define NVCB97_TEXHEAD_BL_PACK_COMPONENTS MW(31:31)
161 #define NVCB97_TEXHEAD_BL_RESERVED1Y MW(36:32)
162 #define NVCB97_TEXHEAD_BL_GOB_DEPTH_OFFSET MW(38:37)
163 #define NVCB97_TEXHEAD_BL_RESERVED1X MW(40:39)
164 #define NVCB97_TEXHEAD_BL_ADDRESS_BITS31TO9 MW(63:41)
165 #define NVCB97_TEXHEAD_BL_ADDRESS_BITS48TO32 MW(80:64)
166 #define NVCB97_TEXHEAD_BL_RESERVED_ADDRESS MW(84:81)
167 #define NVCB97_TEXHEAD_BL_HEADER_VERSION MW(87:85)
168 #define NVCB97_TEXHEAD_BL_HEADER_VERSION_SELECT_ONE_D_BUFFER 0x00000000
169 #define NVCB97_TEXHEAD_BL_HEADER_VERSION_SELECT_PITCH_COLOR_KEY 0x00000001
170 #define NVCB97_TEXHEAD_BL_HEADER_VERSION_SELECT_PITCH 0x00000002
171 #define NVCB97_TEXHEAD_BL_HEADER_VERSION_SELECT_BLOCKLINEAR 0x00000003
172 #define NVCB97_TEXHEAD_BL_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY 0x00000004
173 #define NVCB97_TEXHEAD_BL_RESERVED_HEADER_VERSION MW(88:88)
174 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH MW(92:89)
175 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_0 0x00000000
176 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_1 0x00000001
177 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_2 0x00000002
178 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_3 0x00000003
179 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_4 0x00000004
180 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_5 0x00000005
181 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_6 0x00000006
182 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_7 0x00000007
183 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_8 0x00000008
184 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_9 0x00000009
185 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_10 0x0000000a
186 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_11 0x0000000b
187 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_12 0x0000000c
188 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_13 0x0000000d
189 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_14 0x0000000e
190 #define NVCB97_TEXHEAD_BL_RESOURCE_VIEW_COHERENCY_HASH_HASH_UNALIASED 0x0000000f
191 #define NVCB97_TEXHEAD_BL_RESERVED2A MW(95:93)
192 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_WIDTH MW(98:96)
193 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_WIDTH_ONE_GOB 0x00000000
194 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT MW(101:99)
195 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_ONE_GOB 0x00000000
196 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_TWO_GOBS 0x00000001
197 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_FOUR_GOBS 0x00000002
198 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_EIGHT_GOBS 0x00000003
199 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_SIXTEEN_GOBS 0x00000004
200 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_HEIGHT_THIRTYTWO_GOBS 0x00000005
201 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH MW(104:102)
202 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_ONE_GOB 0x00000000
203 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_TWO_GOBS 0x00000001
204 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_FOUR_GOBS 0x00000002
205 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_EIGHT_GOBS 0x00000003
206 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_SIXTEEN_GOBS 0x00000004
207 #define NVCB97_TEXHEAD_BL_GOBS_PER_BLOCK_DEPTH_THIRTYTWO_GOBS 0x00000005
208 #define NVCB97_TEXHEAD_BL_RESERVED3Y MW(105:105)
209 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS MW(108:106)
210 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_ONE_GOB 0x00000000
211 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_TWO_GOBS 0x00000001
212 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_FOUR_GOBS 0x00000002
213 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_EIGHT_GOBS 0x00000003
214 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_SIXTEEN_GOBS 0x00000004
215 #define NVCB97_TEXHEAD_BL_TILE_WIDTH_IN_GOBS_THIRTYTWO_GOBS 0x00000005
216 #define NVCB97_TEXHEAD_BL_GOB3D MW(109:109)
217 #define NVCB97_TEXHEAD_BL_RESERVED3Z MW(111:110)
218 #define NVCB97_TEXHEAD_BL_LOD_ANISO_QUALITY2 MW(112:112)
219 #define NVCB97_TEXHEAD_BL_LOD_ANISO_QUALITY MW(113:113)
220 #define NVCB97_TEXHEAD_BL_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
221 #define NVCB97_TEXHEAD_BL_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
222 #define NVCB97_TEXHEAD_BL_LOD_ISO_QUALITY MW(114:114)
223 #define NVCB97_TEXHEAD_BL_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
224 #define NVCB97_TEXHEAD_BL_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
225 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_MODIFIER MW(116:115)
226 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
227 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
228 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
229 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
230 #define NVCB97_TEXHEAD_BL_ANISO_SPREAD_SCALE MW(121:117)
231 #define NVCB97_TEXHEAD_BL_USE_HEADER_OPT_CONTROL MW(122:122)
232 #define NVCB97_TEXHEAD_BL_DEPTH_TEXTURE MW(123:123)
233 #define NVCB97_TEXHEAD_BL_MAX_MIP_LEVEL MW(127:124)
234 #define NVCB97_TEXHEAD_BL_WIDTH_MINUS_ONE MW(144:128)
235 #define NVCB97_TEXHEAD_BL_DEPTH_MINUS_ONE_BIT14 MW(145:145)
236 #define NVCB97_TEXHEAD_BL_HEIGHT_MINUS_ONE_BIT16 MW(146:146)
237 #define NVCB97_TEXHEAD_BL_ANISO_SPREAD_MAX_LOG2 MW(149:147)
238 #define NVCB97_TEXHEAD_BL_S_R_G_B_CONVERSION MW(150:150)
239 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE MW(154:151)
240 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_ONE_D 0x00000000
241 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_TWO_D 0x00000001
242 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_THREE_D 0x00000002
243 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_CUBEMAP 0x00000003
244 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
245 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
246 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
247 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
248 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
249 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
250 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
251 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
252 #define NVCB97_TEXHEAD_BL_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
253 #define NVCB97_TEXHEAD_BL_SECTOR_PROMOTION MW(156:155)
254 #define NVCB97_TEXHEAD_BL_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
255 #define NVCB97_TEXHEAD_BL_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
256 #define NVCB97_TEXHEAD_BL_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
257 #define NVCB97_TEXHEAD_BL_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
258 #define NVCB97_TEXHEAD_BL_BORDER_SIZE MW(159:157)
259 #define NVCB97_TEXHEAD_BL_BORDER_SIZE_BORDER_SIZE_ONE 0x00000000
260 #define NVCB97_TEXHEAD_BL_BORDER_SIZE_BORDER_SIZE_TWO 0x00000001
261 #define NVCB97_TEXHEAD_BL_BORDER_SIZE_BORDER_SIZE_FOUR 0x00000002
262 #define NVCB97_TEXHEAD_BL_BORDER_SIZE_BORDER_SIZE_EIGHT 0x00000003
263 #define NVCB97_TEXHEAD_BL_BORDER_SIZE_BORDER_SAMPLER_COLOR 0x00000007
264 #define NVCB97_TEXHEAD_BL_HEIGHT_MINUS_ONE MW(175:160)
265 #define NVCB97_TEXHEAD_BL_DEPTH_MINUS_ONE MW(189:176)
266 #define NVCB97_TEXHEAD_BL_RESERVED5A MW(190:190)
267 #define NVCB97_TEXHEAD_BL_NORMALIZED_COORDS MW(191:191)
268 #define NVCB97_TEXHEAD_BL_RESERVED6Y MW(192:192)
269 #define NVCB97_TEXHEAD_BL_TRILIN_OPT MW(197:193)
270 #define NVCB97_TEXHEAD_BL_MIP_LOD_BIAS MW(210:198)
271 #define NVCB97_TEXHEAD_BL_ANISO_BIAS MW(214:211)
272 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_FUNC MW(216:215)
273 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
274 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
275 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
276 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
277 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_FUNC MW(218:217)
278 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
279 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
280 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
281 #define NVCB97_TEXHEAD_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
282 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY MW(221:219)
283 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
284 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
285 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
286 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
287 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
288 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
289 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
290 #define NVCB97_TEXHEAD_BL_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
291 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
292 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
293 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
294 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
295 #define NVCB97_TEXHEAD_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
296 #define NVCB97_TEXHEAD_BL_RES_VIEW_MIN_MIP_LEVEL MW(227:224)
297 #define NVCB97_TEXHEAD_BL_RES_VIEW_MAX_MIP_LEVEL MW(231:228)
298 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT MW(235:232)
299 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_1X1 0x00000000
300 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_2X1 0x00000001
301 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_2X2 0x00000002
302 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_4X2 0x00000003
303 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_4X2_D3D 0x00000004
304 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_2X1_D3D 0x00000005
305 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_4X4 0x00000006
306 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_2X2_VC_4 0x00000008
307 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_2X2_VC_12 0x00000009
308 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_4X2_VC_8 0x0000000a
309 #define NVCB97_TEXHEAD_BL_MULTI_SAMPLE_COUNT_MODE_4X2_VC_24 0x0000000b
310 #define NVCB97_TEXHEAD_BL_MIN_LOD_CLAMP MW(247:236)
311 #define NVCB97_TEXHEAD_BL_RESERVED7Y MW(255:248)
312
313
314 /*
315 ** Texture Header State Blocklinear Color Key
316 */
317
318 #define NVCB97_TEXHEAD_BLCK_COMPONENTS MW(6:0)
319 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_INVALID 0x00000000
320 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
321 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R32_G32_B32 0x00000002
322 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
323 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R32_G32 0x00000004
324 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R32_B24G8 0x00000005
325 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_X8B8G8R8 0x00000007
326 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_A8B8G8R8 0x00000008
327 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_A2B10G10R10 0x00000009
328 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R16_G16 0x0000000c
329 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_G8R24 0x0000000d
330 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_G24R8 0x0000000e
331 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R32 0x0000000f
332 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_A4B4G4R4 0x00000012
333 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_A5B5G5R1 0x00000013
334 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_A1B5G5R5 0x00000014
335 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_B5G6R5 0x00000015
336 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_B6G5R5 0x00000016
337 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_G8R8 0x00000018
338 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R16 0x0000001b
339 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
340 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R8 0x0000001d
341 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_G4R4 0x0000001e
342 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_R1 0x0000001f
343 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
344 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
345 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_G8B8G8R8 0x00000022
346 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_B8G8R8G8 0x00000023
347 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_DXT1 0x00000024
348 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_DXT23 0x00000025
349 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_DXT45 0x00000026
350 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_DXN1 0x00000027
351 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_DXN2 0x00000028
352 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_BC6H_SF16 0x00000010
353 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_BC6H_UF16 0x00000011
354 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_BC7U 0x00000017
355 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ETC2_RGB 0x00000006
356 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
357 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
358 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_EAC 0x00000019
359 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_EACX2 0x0000001a
360 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_Z24S8 0x00000029
361 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_X8Z24 0x0000002a
362 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_S8Z24 0x0000002b
363 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ZF32 0x0000002f
364 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
365 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_Z16 0x0000003a
366 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
367 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
368 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
369 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
370 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
371 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
372 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
373 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
374 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
375 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
376 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
377 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
378 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
379 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
380 #define NVCB97_TEXHEAD_BLCK_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
381 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE MW(9:7)
382 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_SNORM 0x00000001
383 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_UNORM 0x00000002
384 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_SINT 0x00000003
385 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_UINT 0x00000004
386 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
387 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
388 #define NVCB97_TEXHEAD_BLCK_R_DATA_TYPE_NUM_FLOAT 0x00000007
389 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE MW(12:10)
390 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_SNORM 0x00000001
391 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_UNORM 0x00000002
392 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_SINT 0x00000003
393 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_UINT 0x00000004
394 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
395 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
396 #define NVCB97_TEXHEAD_BLCK_G_DATA_TYPE_NUM_FLOAT 0x00000007
397 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE MW(15:13)
398 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_SNORM 0x00000001
399 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_UNORM 0x00000002
400 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_SINT 0x00000003
401 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_UINT 0x00000004
402 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
403 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
404 #define NVCB97_TEXHEAD_BLCK_B_DATA_TYPE_NUM_FLOAT 0x00000007
405 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE MW(18:16)
406 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_SNORM 0x00000001
407 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_UNORM 0x00000002
408 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_SINT 0x00000003
409 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_UINT 0x00000004
410 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
411 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
412 #define NVCB97_TEXHEAD_BLCK_A_DATA_TYPE_NUM_FLOAT 0x00000007
413 #define NVCB97_TEXHEAD_BLCK_X_SOURCE MW(21:19)
414 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_ZERO 0x00000000
415 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_R 0x00000002
416 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_G 0x00000003
417 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_B 0x00000004
418 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_A 0x00000005
419 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_ONE_INT 0x00000006
420 #define NVCB97_TEXHEAD_BLCK_X_SOURCE_IN_ONE_FLOAT 0x00000007
421 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE MW(24:22)
422 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_ZERO 0x00000000
423 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_R 0x00000002
424 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_G 0x00000003
425 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_B 0x00000004
426 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_A 0x00000005
427 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_ONE_INT 0x00000006
428 #define NVCB97_TEXHEAD_BLCK_Y_SOURCE_IN_ONE_FLOAT 0x00000007
429 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE MW(27:25)
430 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_ZERO 0x00000000
431 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_R 0x00000002
432 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_G 0x00000003
433 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_B 0x00000004
434 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_A 0x00000005
435 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_ONE_INT 0x00000006
436 #define NVCB97_TEXHEAD_BLCK_Z_SOURCE_IN_ONE_FLOAT 0x00000007
437 #define NVCB97_TEXHEAD_BLCK_W_SOURCE MW(30:28)
438 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_ZERO 0x00000000
439 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_R 0x00000002
440 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_G 0x00000003
441 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_B 0x00000004
442 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_A 0x00000005
443 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_ONE_INT 0x00000006
444 #define NVCB97_TEXHEAD_BLCK_W_SOURCE_IN_ONE_FLOAT 0x00000007
445 #define NVCB97_TEXHEAD_BLCK_PACK_COMPONENTS MW(31:31)
446 #define NVCB97_TEXHEAD_BLCK_RESERVED1Y MW(36:32)
447 #define NVCB97_TEXHEAD_BLCK_GOB_DEPTH_OFFSET MW(38:37)
448 #define NVCB97_TEXHEAD_BLCK_RESERVED1X MW(40:39)
449 #define NVCB97_TEXHEAD_BLCK_ADDRESS_BITS31TO9 MW(63:41)
450 #define NVCB97_TEXHEAD_BLCK_ADDRESS_BITS48TO32 MW(80:64)
451 #define NVCB97_TEXHEAD_BLCK_RESERVED_ADDRESS MW(84:81)
452 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION MW(87:85)
453 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION_SELECT_ONE_D_BUFFER 0x00000000
454 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION_SELECT_PITCH_COLOR_KEY 0x00000001
455 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION_SELECT_PITCH 0x00000002
456 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION_SELECT_BLOCKLINEAR 0x00000003
457 #define NVCB97_TEXHEAD_BLCK_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY 0x00000004
458 #define NVCB97_TEXHEAD_BLCK_RESERVED_HEADER_VERSION MW(88:88)
459 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH MW(92:89)
460 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_0 0x00000000
461 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_1 0x00000001
462 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_2 0x00000002
463 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_3 0x00000003
464 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_4 0x00000004
465 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_5 0x00000005
466 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_6 0x00000006
467 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_7 0x00000007
468 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_8 0x00000008
469 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_9 0x00000009
470 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_10 0x0000000a
471 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_11 0x0000000b
472 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_12 0x0000000c
473 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_13 0x0000000d
474 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_14 0x0000000e
475 #define NVCB97_TEXHEAD_BLCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_UNALIASED 0x0000000f
476 #define NVCB97_TEXHEAD_BLCK_RESERVED2A MW(95:93)
477 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_WIDTH MW(98:96)
478 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_WIDTH_ONE_GOB 0x00000000
479 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT MW(101:99)
480 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_ONE_GOB 0x00000000
481 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_TWO_GOBS 0x00000001
482 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_FOUR_GOBS 0x00000002
483 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_EIGHT_GOBS 0x00000003
484 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_SIXTEEN_GOBS 0x00000004
485 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_HEIGHT_THIRTYTWO_GOBS 0x00000005
486 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH MW(104:102)
487 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_ONE_GOB 0x00000000
488 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_TWO_GOBS 0x00000001
489 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_FOUR_GOBS 0x00000002
490 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_EIGHT_GOBS 0x00000003
491 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_SIXTEEN_GOBS 0x00000004
492 #define NVCB97_TEXHEAD_BLCK_GOBS_PER_BLOCK_DEPTH_THIRTYTWO_GOBS 0x00000005
493 #define NVCB97_TEXHEAD_BLCK_RESERVED3Y MW(105:105)
494 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS MW(108:106)
495 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_ONE_GOB 0x00000000
496 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_TWO_GOBS 0x00000001
497 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_FOUR_GOBS 0x00000002
498 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_EIGHT_GOBS 0x00000003
499 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_SIXTEEN_GOBS 0x00000004
500 #define NVCB97_TEXHEAD_BLCK_TILE_WIDTH_IN_GOBS_THIRTYTWO_GOBS 0x00000005
501 #define NVCB97_TEXHEAD_BLCK_GOB3D MW(109:109)
502 #define NVCB97_TEXHEAD_BLCK_RESERVED3Z MW(111:110)
503 #define NVCB97_TEXHEAD_BLCK_LOD_ANISO_QUALITY2 MW(112:112)
504 #define NVCB97_TEXHEAD_BLCK_LOD_ANISO_QUALITY MW(113:113)
505 #define NVCB97_TEXHEAD_BLCK_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
506 #define NVCB97_TEXHEAD_BLCK_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
507 #define NVCB97_TEXHEAD_BLCK_LOD_ISO_QUALITY MW(114:114)
508 #define NVCB97_TEXHEAD_BLCK_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
509 #define NVCB97_TEXHEAD_BLCK_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
510 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_MODIFIER MW(116:115)
511 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
512 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
513 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
514 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
515 #define NVCB97_TEXHEAD_BLCK_ANISO_SPREAD_SCALE MW(121:117)
516 #define NVCB97_TEXHEAD_BLCK_USE_HEADER_OPT_CONTROL MW(122:122)
517 #define NVCB97_TEXHEAD_BLCK_DEPTH_TEXTURE MW(123:123)
518 #define NVCB97_TEXHEAD_BLCK_MAX_MIP_LEVEL MW(127:124)
519 #define NVCB97_TEXHEAD_BLCK_WIDTH_MINUS_ONE MW(144:128)
520 #define NVCB97_TEXHEAD_BLCK_DEPTH_MINUS_ONE_BIT14 MW(145:145)
521 #define NVCB97_TEXHEAD_BLCK_HEIGHT_MINUS_ONE_BIT16 MW(146:146)
522 #define NVCB97_TEXHEAD_BLCK_ANISO_SPREAD_MAX_LOG2 MW(149:147)
523 #define NVCB97_TEXHEAD_BLCK_S_R_G_B_CONVERSION MW(150:150)
524 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE MW(154:151)
525 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_ONE_D 0x00000000
526 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_TWO_D 0x00000001
527 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_THREE_D 0x00000002
528 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_CUBEMAP 0x00000003
529 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
530 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
531 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
532 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
533 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
534 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
535 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
536 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
537 #define NVCB97_TEXHEAD_BLCK_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
538 #define NVCB97_TEXHEAD_BLCK_SECTOR_PROMOTION MW(156:155)
539 #define NVCB97_TEXHEAD_BLCK_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
540 #define NVCB97_TEXHEAD_BLCK_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
541 #define NVCB97_TEXHEAD_BLCK_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
542 #define NVCB97_TEXHEAD_BLCK_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
543 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE MW(159:157)
544 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE_BORDER_SIZE_ONE 0x00000000
545 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE_BORDER_SIZE_TWO 0x00000001
546 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE_BORDER_SIZE_FOUR 0x00000002
547 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE_BORDER_SIZE_EIGHT 0x00000003
548 #define NVCB97_TEXHEAD_BLCK_BORDER_SIZE_BORDER_SAMPLER_COLOR 0x00000007
549 #define NVCB97_TEXHEAD_BLCK_HEIGHT_MINUS_ONE MW(175:160)
550 #define NVCB97_TEXHEAD_BLCK_DEPTH_MINUS_ONE MW(189:176)
551 #define NVCB97_TEXHEAD_BLCK_RESERVED5A MW(190:190)
552 #define NVCB97_TEXHEAD_BLCK_NORMALIZED_COORDS MW(191:191)
553 #define NVCB97_TEXHEAD_BLCK_COLOR_KEY_OP MW(192:192)
554 #define NVCB97_TEXHEAD_BLCK_TRILIN_OPT MW(197:193)
555 #define NVCB97_TEXHEAD_BLCK_MIP_LOD_BIAS MW(210:198)
556 #define NVCB97_TEXHEAD_BLCK_ANISO_BIAS MW(214:211)
557 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_FUNC MW(216:215)
558 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
559 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
560 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
561 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
562 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_FUNC MW(218:217)
563 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
564 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
565 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
566 #define NVCB97_TEXHEAD_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
567 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY MW(221:219)
568 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
569 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
570 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
571 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
572 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
573 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
574 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
575 #define NVCB97_TEXHEAD_BLCK_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
576 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
577 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
578 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
579 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
580 #define NVCB97_TEXHEAD_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
581 #define NVCB97_TEXHEAD_BLCK_COLOR_KEY_VALUE MW(255:224)
582
583
584 /*
585 ** Texture Header State One-D Buffer
586 */
587
588 #define NVCB97_TEXHEAD_1D_COMPONENTS MW(6:0)
589 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_INVALID 0x00000000
590 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
591 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R32_G32_B32 0x00000002
592 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
593 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R32_G32 0x00000004
594 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R32_B24G8 0x00000005
595 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_X8B8G8R8 0x00000007
596 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_A8B8G8R8 0x00000008
597 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_A2B10G10R10 0x00000009
598 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R16_G16 0x0000000c
599 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_G8R24 0x0000000d
600 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_G24R8 0x0000000e
601 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R32 0x0000000f
602 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_A4B4G4R4 0x00000012
603 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_A5B5G5R1 0x00000013
604 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_A1B5G5R5 0x00000014
605 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_B5G6R5 0x00000015
606 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_B6G5R5 0x00000016
607 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_G8R8 0x00000018
608 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R16 0x0000001b
609 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
610 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R8 0x0000001d
611 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_G4R4 0x0000001e
612 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_R1 0x0000001f
613 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
614 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
615 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_G8B8G8R8 0x00000022
616 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_B8G8R8G8 0x00000023
617 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_DXT1 0x00000024
618 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_DXT23 0x00000025
619 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_DXT45 0x00000026
620 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_DXN1 0x00000027
621 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_DXN2 0x00000028
622 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_BC6H_SF16 0x00000010
623 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_BC6H_UF16 0x00000011
624 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_BC7U 0x00000017
625 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ETC2_RGB 0x00000006
626 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
627 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
628 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_EAC 0x00000019
629 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_EACX2 0x0000001a
630 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_Z24S8 0x00000029
631 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_X8Z24 0x0000002a
632 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_S8Z24 0x0000002b
633 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ZF32 0x0000002f
634 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
635 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_Z16 0x0000003a
636 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
637 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
638 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
639 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
640 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
641 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
642 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
643 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
644 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
645 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
646 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
647 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
648 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
649 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
650 #define NVCB97_TEXHEAD_1D_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
651 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE MW(9:7)
652 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_SNORM 0x00000001
653 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_UNORM 0x00000002
654 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_SINT 0x00000003
655 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_UINT 0x00000004
656 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
657 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
658 #define NVCB97_TEXHEAD_1D_R_DATA_TYPE_NUM_FLOAT 0x00000007
659 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE MW(12:10)
660 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_SNORM 0x00000001
661 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_UNORM 0x00000002
662 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_SINT 0x00000003
663 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_UINT 0x00000004
664 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
665 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
666 #define NVCB97_TEXHEAD_1D_G_DATA_TYPE_NUM_FLOAT 0x00000007
667 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE MW(15:13)
668 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_SNORM 0x00000001
669 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_UNORM 0x00000002
670 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_SINT 0x00000003
671 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_UINT 0x00000004
672 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
673 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
674 #define NVCB97_TEXHEAD_1D_B_DATA_TYPE_NUM_FLOAT 0x00000007
675 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE MW(18:16)
676 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_SNORM 0x00000001
677 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_UNORM 0x00000002
678 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_SINT 0x00000003
679 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_UINT 0x00000004
680 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
681 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
682 #define NVCB97_TEXHEAD_1D_A_DATA_TYPE_NUM_FLOAT 0x00000007
683 #define NVCB97_TEXHEAD_1D_X_SOURCE MW(21:19)
684 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_ZERO 0x00000000
685 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_R 0x00000002
686 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_G 0x00000003
687 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_B 0x00000004
688 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_A 0x00000005
689 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_ONE_INT 0x00000006
690 #define NVCB97_TEXHEAD_1D_X_SOURCE_IN_ONE_FLOAT 0x00000007
691 #define NVCB97_TEXHEAD_1D_Y_SOURCE MW(24:22)
692 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_ZERO 0x00000000
693 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_R 0x00000002
694 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_G 0x00000003
695 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_B 0x00000004
696 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_A 0x00000005
697 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_ONE_INT 0x00000006
698 #define NVCB97_TEXHEAD_1D_Y_SOURCE_IN_ONE_FLOAT 0x00000007
699 #define NVCB97_TEXHEAD_1D_Z_SOURCE MW(27:25)
700 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_ZERO 0x00000000
701 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_R 0x00000002
702 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_G 0x00000003
703 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_B 0x00000004
704 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_A 0x00000005
705 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_ONE_INT 0x00000006
706 #define NVCB97_TEXHEAD_1D_Z_SOURCE_IN_ONE_FLOAT 0x00000007
707 #define NVCB97_TEXHEAD_1D_W_SOURCE MW(30:28)
708 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_ZERO 0x00000000
709 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_R 0x00000002
710 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_G 0x00000003
711 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_B 0x00000004
712 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_A 0x00000005
713 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_ONE_INT 0x00000006
714 #define NVCB97_TEXHEAD_1D_W_SOURCE_IN_ONE_FLOAT 0x00000007
715 #define NVCB97_TEXHEAD_1D_PACK_COMPONENTS MW(31:31)
716 #define NVCB97_TEXHEAD_1D_ADDRESS_BITS31TO0 MW(63:32)
717 #define NVCB97_TEXHEAD_1D_ADDRESS_BITS48TO32 MW(80:64)
718 #define NVCB97_TEXHEAD_1D_RESERVED_ADDRESS MW(84:81)
719 #define NVCB97_TEXHEAD_1D_HEADER_VERSION MW(87:85)
720 #define NVCB97_TEXHEAD_1D_HEADER_VERSION_SELECT_ONE_D_BUFFER 0x00000000
721 #define NVCB97_TEXHEAD_1D_HEADER_VERSION_SELECT_PITCH_COLOR_KEY 0x00000001
722 #define NVCB97_TEXHEAD_1D_HEADER_VERSION_SELECT_PITCH 0x00000002
723 #define NVCB97_TEXHEAD_1D_HEADER_VERSION_SELECT_BLOCKLINEAR 0x00000003
724 #define NVCB97_TEXHEAD_1D_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY 0x00000004
725 #define NVCB97_TEXHEAD_1D_RESERVED_HEADER_VERSION MW(88:88)
726 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH MW(92:89)
727 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_0 0x00000000
728 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_1 0x00000001
729 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_2 0x00000002
730 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_3 0x00000003
731 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_4 0x00000004
732 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_5 0x00000005
733 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_6 0x00000006
734 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_7 0x00000007
735 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_8 0x00000008
736 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_9 0x00000009
737 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_10 0x0000000a
738 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_11 0x0000000b
739 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_12 0x0000000c
740 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_13 0x0000000d
741 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_14 0x0000000e
742 #define NVCB97_TEXHEAD_1D_RESOURCE_VIEW_COHERENCY_HASH_HASH_UNALIASED 0x0000000f
743 #define NVCB97_TEXHEAD_1D_RESERVED2A MW(95:93)
744 #define NVCB97_TEXHEAD_1D_WIDTH_MINUS_ONE_BITS31TO16 MW(111:96)
745 #define NVCB97_TEXHEAD_1D_RESERVED3X MW(127:112)
746 #define NVCB97_TEXHEAD_1D_WIDTH_MINUS_ONE_BITS15TO0 MW(143:128)
747 #define NVCB97_TEXHEAD_1D_RESERVED4X MW(149:144)
748 #define NVCB97_TEXHEAD_1D_S_R_G_B_CONVERSION MW(150:150)
749 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE MW(154:151)
750 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_ONE_D 0x00000000
751 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_TWO_D 0x00000001
752 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_THREE_D 0x00000002
753 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_CUBEMAP 0x00000003
754 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
755 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
756 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
757 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
758 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
759 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
760 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
761 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
762 #define NVCB97_TEXHEAD_1D_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
763 #define NVCB97_TEXHEAD_1D_SECTOR_PROMOTION MW(156:155)
764 #define NVCB97_TEXHEAD_1D_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
765 #define NVCB97_TEXHEAD_1D_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
766 #define NVCB97_TEXHEAD_1D_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
767 #define NVCB97_TEXHEAD_1D_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
768 #define NVCB97_TEXHEAD_1D_RESERVED4Y MW(159:157)
769 #define NVCB97_TEXHEAD_1D_RESERVED5X MW(189:160)
770 #define NVCB97_TEXHEAD_1D_RESERVED5A MW(190:190)
771 #define NVCB97_TEXHEAD_1D_RESERVED5Y MW(191:191)
772 #define NVCB97_TEXHEAD_1D_RESERVED6X MW(223:192)
773 #define NVCB97_TEXHEAD_1D_RESERVED7X MW(255:224)
774
775
776 /*
777 ** Texture Header State Pitch
778 */
779
780 #define NVCB97_TEXHEAD_PITCH_COMPONENTS MW(6:0)
781 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_INVALID 0x00000000
782 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
783 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R32_G32_B32 0x00000002
784 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
785 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R32_G32 0x00000004
786 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R32_B24G8 0x00000005
787 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_X8B8G8R8 0x00000007
788 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_A8B8G8R8 0x00000008
789 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_A2B10G10R10 0x00000009
790 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R16_G16 0x0000000c
791 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_G8R24 0x0000000d
792 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_G24R8 0x0000000e
793 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R32 0x0000000f
794 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_A4B4G4R4 0x00000012
795 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_A5B5G5R1 0x00000013
796 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_A1B5G5R5 0x00000014
797 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_B5G6R5 0x00000015
798 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_B6G5R5 0x00000016
799 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_G8R8 0x00000018
800 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R16 0x0000001b
801 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
802 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R8 0x0000001d
803 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_G4R4 0x0000001e
804 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_R1 0x0000001f
805 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
806 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
807 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_G8B8G8R8 0x00000022
808 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_B8G8R8G8 0x00000023
809 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_DXT1 0x00000024
810 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_DXT23 0x00000025
811 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_DXT45 0x00000026
812 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_DXN1 0x00000027
813 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_DXN2 0x00000028
814 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_BC6H_SF16 0x00000010
815 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_BC6H_UF16 0x00000011
816 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_BC7U 0x00000017
817 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ETC2_RGB 0x00000006
818 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
819 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
820 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_EAC 0x00000019
821 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_EACX2 0x0000001a
822 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_Z24S8 0x00000029
823 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_X8Z24 0x0000002a
824 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_S8Z24 0x0000002b
825 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ZF32 0x0000002f
826 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
827 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_Z16 0x0000003a
828 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
829 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
830 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
831 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
832 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
833 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
834 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
835 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
836 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
837 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
838 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
839 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
840 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
841 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
842 #define NVCB97_TEXHEAD_PITCH_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
843 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE MW(9:7)
844 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_SNORM 0x00000001
845 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_UNORM 0x00000002
846 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_SINT 0x00000003
847 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_UINT 0x00000004
848 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
849 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
850 #define NVCB97_TEXHEAD_PITCH_R_DATA_TYPE_NUM_FLOAT 0x00000007
851 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE MW(12:10)
852 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_SNORM 0x00000001
853 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_UNORM 0x00000002
854 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_SINT 0x00000003
855 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_UINT 0x00000004
856 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
857 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
858 #define NVCB97_TEXHEAD_PITCH_G_DATA_TYPE_NUM_FLOAT 0x00000007
859 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE MW(15:13)
860 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_SNORM 0x00000001
861 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_UNORM 0x00000002
862 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_SINT 0x00000003
863 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_UINT 0x00000004
864 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
865 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
866 #define NVCB97_TEXHEAD_PITCH_B_DATA_TYPE_NUM_FLOAT 0x00000007
867 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE MW(18:16)
868 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_SNORM 0x00000001
869 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_UNORM 0x00000002
870 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_SINT 0x00000003
871 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_UINT 0x00000004
872 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
873 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
874 #define NVCB97_TEXHEAD_PITCH_A_DATA_TYPE_NUM_FLOAT 0x00000007
875 #define NVCB97_TEXHEAD_PITCH_X_SOURCE MW(21:19)
876 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_ZERO 0x00000000
877 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_R 0x00000002
878 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_G 0x00000003
879 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_B 0x00000004
880 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_A 0x00000005
881 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_ONE_INT 0x00000006
882 #define NVCB97_TEXHEAD_PITCH_X_SOURCE_IN_ONE_FLOAT 0x00000007
883 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE MW(24:22)
884 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_ZERO 0x00000000
885 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_R 0x00000002
886 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_G 0x00000003
887 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_B 0x00000004
888 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_A 0x00000005
889 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_ONE_INT 0x00000006
890 #define NVCB97_TEXHEAD_PITCH_Y_SOURCE_IN_ONE_FLOAT 0x00000007
891 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE MW(27:25)
892 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_ZERO 0x00000000
893 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_R 0x00000002
894 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_G 0x00000003
895 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_B 0x00000004
896 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_A 0x00000005
897 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_ONE_INT 0x00000006
898 #define NVCB97_TEXHEAD_PITCH_Z_SOURCE_IN_ONE_FLOAT 0x00000007
899 #define NVCB97_TEXHEAD_PITCH_W_SOURCE MW(30:28)
900 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_ZERO 0x00000000
901 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_R 0x00000002
902 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_G 0x00000003
903 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_B 0x00000004
904 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_A 0x00000005
905 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_ONE_INT 0x00000006
906 #define NVCB97_TEXHEAD_PITCH_W_SOURCE_IN_ONE_FLOAT 0x00000007
907 #define NVCB97_TEXHEAD_PITCH_PACK_COMPONENTS MW(31:31)
908 #define NVCB97_TEXHEAD_PITCH_RESERVED1A MW(36:32)
909 #define NVCB97_TEXHEAD_PITCH_ADDRESS_BITS31TO5 MW(63:37)
910 #define NVCB97_TEXHEAD_PITCH_ADDRESS_BITS48TO32 MW(80:64)
911 #define NVCB97_TEXHEAD_PITCH_RESERVED_ADDRESS MW(84:81)
912 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION MW(87:85)
913 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION_SELECT_ONE_D_BUFFER 0x00000000
914 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION_SELECT_PITCH_COLOR_KEY 0x00000001
915 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION_SELECT_PITCH 0x00000002
916 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION_SELECT_BLOCKLINEAR 0x00000003
917 #define NVCB97_TEXHEAD_PITCH_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY 0x00000004
918 #define NVCB97_TEXHEAD_PITCH_RESERVED_HEADER_VERSION MW(88:88)
919 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH MW(92:89)
920 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_0 0x00000000
921 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_1 0x00000001
922 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_2 0x00000002
923 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_3 0x00000003
924 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_4 0x00000004
925 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_5 0x00000005
926 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_6 0x00000006
927 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_7 0x00000007
928 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_8 0x00000008
929 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_9 0x00000009
930 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_10 0x0000000a
931 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_11 0x0000000b
932 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_12 0x0000000c
933 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_13 0x0000000d
934 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_14 0x0000000e
935 #define NVCB97_TEXHEAD_PITCH_RESOURCE_VIEW_COHERENCY_HASH_HASH_UNALIASED 0x0000000f
936 #define NVCB97_TEXHEAD_PITCH_RESERVED2A MW(95:93)
937 #define NVCB97_TEXHEAD_PITCH_PITCH_BITS20TO5 MW(111:96)
938 #define NVCB97_TEXHEAD_PITCH_LOD_ANISO_QUALITY2 MW(112:112)
939 #define NVCB97_TEXHEAD_PITCH_LOD_ANISO_QUALITY MW(113:113)
940 #define NVCB97_TEXHEAD_PITCH_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
941 #define NVCB97_TEXHEAD_PITCH_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
942 #define NVCB97_TEXHEAD_PITCH_LOD_ISO_QUALITY MW(114:114)
943 #define NVCB97_TEXHEAD_PITCH_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
944 #define NVCB97_TEXHEAD_PITCH_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
945 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_MODIFIER MW(116:115)
946 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
947 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
948 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
949 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
950 #define NVCB97_TEXHEAD_PITCH_ANISO_SPREAD_SCALE MW(121:117)
951 #define NVCB97_TEXHEAD_PITCH_USE_HEADER_OPT_CONTROL MW(122:122)
952 #define NVCB97_TEXHEAD_PITCH_DEPTH_TEXTURE MW(123:123)
953 #define NVCB97_TEXHEAD_PITCH_MAX_MIP_LEVEL MW(127:124)
954 #define NVCB97_TEXHEAD_PITCH_WIDTH_MINUS_ONE MW(144:128)
955 #define NVCB97_TEXHEAD_PITCH_PITCH_BIT21 MW(145:145)
956 #define NVCB97_TEXHEAD_PITCH_HEIGHT_MINUS_ONE_BIT16 MW(146:146)
957 #define NVCB97_TEXHEAD_PITCH_ANISO_SPREAD_MAX_LOG2 MW(149:147)
958 #define NVCB97_TEXHEAD_PITCH_S_R_G_B_CONVERSION MW(150:150)
959 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE MW(154:151)
960 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_ONE_D 0x00000000
961 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_TWO_D 0x00000001
962 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_THREE_D 0x00000002
963 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_CUBEMAP 0x00000003
964 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
965 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
966 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
967 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
968 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
969 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
970 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
971 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
972 #define NVCB97_TEXHEAD_PITCH_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
973 #define NVCB97_TEXHEAD_PITCH_SECTOR_PROMOTION MW(156:155)
974 #define NVCB97_TEXHEAD_PITCH_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
975 #define NVCB97_TEXHEAD_PITCH_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
976 #define NVCB97_TEXHEAD_PITCH_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
977 #define NVCB97_TEXHEAD_PITCH_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
978 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE MW(159:157)
979 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE_BORDER_SIZE_ONE 0x00000000
980 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE_BORDER_SIZE_TWO 0x00000001
981 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE_BORDER_SIZE_FOUR 0x00000002
982 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE_BORDER_SIZE_EIGHT 0x00000003
983 #define NVCB97_TEXHEAD_PITCH_BORDER_SIZE_BORDER_SAMPLER_COLOR 0x00000007
984 #define NVCB97_TEXHEAD_PITCH_HEIGHT_MINUS_ONE MW(175:160)
985 #define NVCB97_TEXHEAD_PITCH_DEPTH_MINUS_ONE MW(189:176)
986 #define NVCB97_TEXHEAD_PITCH_RESERVED5A MW(190:190)
987 #define NVCB97_TEXHEAD_PITCH_NORMALIZED_COORDS MW(191:191)
988 #define NVCB97_TEXHEAD_PITCH_RESERVED6Y MW(192:192)
989 #define NVCB97_TEXHEAD_PITCH_TRILIN_OPT MW(197:193)
990 #define NVCB97_TEXHEAD_PITCH_MIP_LOD_BIAS MW(210:198)
991 #define NVCB97_TEXHEAD_PITCH_ANISO_BIAS MW(214:211)
992 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_FUNC MW(216:215)
993 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
994 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
995 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
996 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
997 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_FUNC MW(218:217)
998 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
999 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1000 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1001 #define NVCB97_TEXHEAD_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1002 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY MW(221:219)
1003 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
1004 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
1005 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
1006 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
1007 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
1008 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
1009 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
1010 #define NVCB97_TEXHEAD_PITCH_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
1011 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
1012 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1013 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1014 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1015 #define NVCB97_TEXHEAD_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1016 #define NVCB97_TEXHEAD_PITCH_RES_VIEW_MIN_MIP_LEVEL MW(227:224)
1017 #define NVCB97_TEXHEAD_PITCH_RES_VIEW_MAX_MIP_LEVEL MW(231:228)
1018 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT MW(235:232)
1019 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_1X1 0x00000000
1020 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_2X1 0x00000001
1021 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2 0x00000002
1022 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2 0x00000003
1023 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_D3D 0x00000004
1024 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_2X1_D3D 0x00000005
1025 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_4X4 0x00000006
1026 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2_VC_4 0x00000008
1027 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2_VC_12 0x00000009
1028 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_VC_8 0x0000000a
1029 #define NVCB97_TEXHEAD_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_VC_24 0x0000000b
1030 #define NVCB97_TEXHEAD_PITCH_MIN_LOD_CLAMP MW(247:236)
1031 #define NVCB97_TEXHEAD_PITCH_RESERVED7Y MW(255:248)
1032
1033
1034 /*
1035 ** Texture Header State Pitch Color Key
1036 */
1037
1038 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS MW(6:0)
1039 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_INVALID 0x00000000
1040 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
1041 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R32_G32_B32 0x00000002
1042 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
1043 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R32_G32 0x00000004
1044 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R32_B24G8 0x00000005
1045 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_X8B8G8R8 0x00000007
1046 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_A8B8G8R8 0x00000008
1047 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_A2B10G10R10 0x00000009
1048 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R16_G16 0x0000000c
1049 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_G8R24 0x0000000d
1050 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_G24R8 0x0000000e
1051 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R32 0x0000000f
1052 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_A4B4G4R4 0x00000012
1053 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_A5B5G5R1 0x00000013
1054 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_A1B5G5R5 0x00000014
1055 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_B5G6R5 0x00000015
1056 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_B6G5R5 0x00000016
1057 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_G8R8 0x00000018
1058 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R16 0x0000001b
1059 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
1060 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R8 0x0000001d
1061 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_G4R4 0x0000001e
1062 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_R1 0x0000001f
1063 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
1064 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
1065 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_G8B8G8R8 0x00000022
1066 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_B8G8R8G8 0x00000023
1067 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_DXT1 0x00000024
1068 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_DXT23 0x00000025
1069 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_DXT45 0x00000026
1070 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_DXN1 0x00000027
1071 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_DXN2 0x00000028
1072 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_BC6H_SF16 0x00000010
1073 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_BC6H_UF16 0x00000011
1074 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_BC7U 0x00000017
1075 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ETC2_RGB 0x00000006
1076 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
1077 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
1078 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_EAC 0x00000019
1079 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_EACX2 0x0000001a
1080 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_Z24S8 0x00000029
1081 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_X8Z24 0x0000002a
1082 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_S8Z24 0x0000002b
1083 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ZF32 0x0000002f
1084 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
1085 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_Z16 0x0000003a
1086 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
1087 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
1088 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
1089 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
1090 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
1091 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
1092 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
1093 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
1094 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
1095 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
1096 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
1097 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
1098 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
1099 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
1100 #define NVCB97_TEXHEAD_PITCHCK_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
1101 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE MW(9:7)
1102 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_SNORM 0x00000001
1103 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_UNORM 0x00000002
1104 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_SINT 0x00000003
1105 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_UINT 0x00000004
1106 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
1107 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
1108 #define NVCB97_TEXHEAD_PITCHCK_R_DATA_TYPE_NUM_FLOAT 0x00000007
1109 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE MW(12:10)
1110 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_SNORM 0x00000001
1111 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_UNORM 0x00000002
1112 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_SINT 0x00000003
1113 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_UINT 0x00000004
1114 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
1115 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
1116 #define NVCB97_TEXHEAD_PITCHCK_G_DATA_TYPE_NUM_FLOAT 0x00000007
1117 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE MW(15:13)
1118 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_SNORM 0x00000001
1119 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_UNORM 0x00000002
1120 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_SINT 0x00000003
1121 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_UINT 0x00000004
1122 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
1123 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
1124 #define NVCB97_TEXHEAD_PITCHCK_B_DATA_TYPE_NUM_FLOAT 0x00000007
1125 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE MW(18:16)
1126 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_SNORM 0x00000001
1127 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_UNORM 0x00000002
1128 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_SINT 0x00000003
1129 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_UINT 0x00000004
1130 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_SNORM_FORCE_FP16 0x00000005
1131 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_UNORM_FORCE_FP16 0x00000006
1132 #define NVCB97_TEXHEAD_PITCHCK_A_DATA_TYPE_NUM_FLOAT 0x00000007
1133 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE MW(21:19)
1134 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_ZERO 0x00000000
1135 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_R 0x00000002
1136 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_G 0x00000003
1137 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_B 0x00000004
1138 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_A 0x00000005
1139 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_ONE_INT 0x00000006
1140 #define NVCB97_TEXHEAD_PITCHCK_X_SOURCE_IN_ONE_FLOAT 0x00000007
1141 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE MW(24:22)
1142 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_ZERO 0x00000000
1143 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_R 0x00000002
1144 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_G 0x00000003
1145 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_B 0x00000004
1146 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_A 0x00000005
1147 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_ONE_INT 0x00000006
1148 #define NVCB97_TEXHEAD_PITCHCK_Y_SOURCE_IN_ONE_FLOAT 0x00000007
1149 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE MW(27:25)
1150 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_ZERO 0x00000000
1151 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_R 0x00000002
1152 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_G 0x00000003
1153 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_B 0x00000004
1154 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_A 0x00000005
1155 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_ONE_INT 0x00000006
1156 #define NVCB97_TEXHEAD_PITCHCK_Z_SOURCE_IN_ONE_FLOAT 0x00000007
1157 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE MW(30:28)
1158 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_ZERO 0x00000000
1159 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_R 0x00000002
1160 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_G 0x00000003
1161 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_B 0x00000004
1162 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_A 0x00000005
1163 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_ONE_INT 0x00000006
1164 #define NVCB97_TEXHEAD_PITCHCK_W_SOURCE_IN_ONE_FLOAT 0x00000007
1165 #define NVCB97_TEXHEAD_PITCHCK_PACK_COMPONENTS MW(31:31)
1166 #define NVCB97_TEXHEAD_PITCHCK_RESERVED1A MW(36:32)
1167 #define NVCB97_TEXHEAD_PITCHCK_ADDRESS_BITS31TO5 MW(63:37)
1168 #define NVCB97_TEXHEAD_PITCHCK_ADDRESS_BITS48TO32 MW(80:64)
1169 #define NVCB97_TEXHEAD_PITCHCK_RESERVED_ADDRESS MW(84:81)
1170 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION MW(87:85)
1171 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION_SELECT_ONE_D_BUFFER 0x00000000
1172 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION_SELECT_PITCH_COLOR_KEY 0x00000001
1173 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION_SELECT_PITCH 0x00000002
1174 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION_SELECT_BLOCKLINEAR 0x00000003
1175 #define NVCB97_TEXHEAD_PITCHCK_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY 0x00000004
1176 #define NVCB97_TEXHEAD_PITCHCK_RESERVED_HEADER_VERSION MW(88:88)
1177 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH MW(92:89)
1178 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_0 0x00000000
1179 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_1 0x00000001
1180 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_2 0x00000002
1181 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_3 0x00000003
1182 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_4 0x00000004
1183 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_5 0x00000005
1184 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_6 0x00000006
1185 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_7 0x00000007
1186 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_8 0x00000008
1187 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_9 0x00000009
1188 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_10 0x0000000a
1189 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_11 0x0000000b
1190 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_12 0x0000000c
1191 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_13 0x0000000d
1192 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_ALIASED_14 0x0000000e
1193 #define NVCB97_TEXHEAD_PITCHCK_RESOURCE_VIEW_COHERENCY_HASH_HASH_UNALIASED 0x0000000f
1194 #define NVCB97_TEXHEAD_PITCHCK_RESERVED2A MW(95:93)
1195 #define NVCB97_TEXHEAD_PITCHCK_PITCH_BITS20TO5 MW(111:96)
1196 #define NVCB97_TEXHEAD_PITCHCK_LOD_ANISO_QUALITY2 MW(112:112)
1197 #define NVCB97_TEXHEAD_PITCHCK_LOD_ANISO_QUALITY MW(113:113)
1198 #define NVCB97_TEXHEAD_PITCHCK_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1199 #define NVCB97_TEXHEAD_PITCHCK_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1200 #define NVCB97_TEXHEAD_PITCHCK_LOD_ISO_QUALITY MW(114:114)
1201 #define NVCB97_TEXHEAD_PITCHCK_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1202 #define NVCB97_TEXHEAD_PITCHCK_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1203 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER MW(116:115)
1204 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1205 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1206 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1207 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1208 #define NVCB97_TEXHEAD_PITCHCK_ANISO_SPREAD_SCALE MW(121:117)
1209 #define NVCB97_TEXHEAD_PITCHCK_USE_HEADER_OPT_CONTROL MW(122:122)
1210 #define NVCB97_TEXHEAD_PITCHCK_DEPTH_TEXTURE MW(123:123)
1211 #define NVCB97_TEXHEAD_PITCHCK_MAX_MIP_LEVEL MW(127:124)
1212 #define NVCB97_TEXHEAD_PITCHCK_WIDTH_MINUS_ONE MW(144:128)
1213 #define NVCB97_TEXHEAD_PITCHCK_PITCH_BIT21 MW(145:145)
1214 #define NVCB97_TEXHEAD_PITCHCK_HEIGHT_MINUS_ONE_BIT16 MW(146:146)
1215 #define NVCB97_TEXHEAD_PITCHCK_ANISO_SPREAD_MAX_LOG2 MW(149:147)
1216 #define NVCB97_TEXHEAD_PITCHCK_S_R_G_B_CONVERSION MW(150:150)
1217 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE MW(154:151)
1218 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_ONE_D 0x00000000
1219 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_TWO_D 0x00000001
1220 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_THREE_D 0x00000002
1221 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_CUBEMAP 0x00000003
1222 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
1223 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
1224 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
1225 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
1226 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
1227 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
1228 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
1229 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
1230 #define NVCB97_TEXHEAD_PITCHCK_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
1231 #define NVCB97_TEXHEAD_PITCHCK_SECTOR_PROMOTION MW(156:155)
1232 #define NVCB97_TEXHEAD_PITCHCK_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
1233 #define NVCB97_TEXHEAD_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
1234 #define NVCB97_TEXHEAD_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
1235 #define NVCB97_TEXHEAD_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
1236 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE MW(159:157)
1237 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE_BORDER_SIZE_ONE 0x00000000
1238 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE_BORDER_SIZE_TWO 0x00000001
1239 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE_BORDER_SIZE_FOUR 0x00000002
1240 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE_BORDER_SIZE_EIGHT 0x00000003
1241 #define NVCB97_TEXHEAD_PITCHCK_BORDER_SIZE_BORDER_SAMPLER_COLOR 0x00000007
1242 #define NVCB97_TEXHEAD_PITCHCK_HEIGHT_MINUS_ONE MW(175:160)
1243 #define NVCB97_TEXHEAD_PITCHCK_DEPTH_MINUS_ONE MW(189:176)
1244 #define NVCB97_TEXHEAD_PITCHCK_RESERVED5A MW(190:190)
1245 #define NVCB97_TEXHEAD_PITCHCK_NORMALIZED_COORDS MW(191:191)
1246 #define NVCB97_TEXHEAD_PITCHCK_COLOR_KEY_OP MW(192:192)
1247 #define NVCB97_TEXHEAD_PITCHCK_TRILIN_OPT MW(197:193)
1248 #define NVCB97_TEXHEAD_PITCHCK_MIP_LOD_BIAS MW(210:198)
1249 #define NVCB97_TEXHEAD_PITCHCK_ANISO_BIAS MW(214:211)
1250 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_FUNC MW(216:215)
1251 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1252 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1253 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1254 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1255 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_FUNC MW(218:217)
1256 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1257 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1258 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1259 #define NVCB97_TEXHEAD_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1260 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY MW(221:219)
1261 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
1262 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
1263 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
1264 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
1265 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
1266 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
1267 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
1268 #define NVCB97_TEXHEAD_PITCHCK_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
1269 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
1270 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1271 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1272 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1273 #define NVCB97_TEXHEAD_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1274 #define NVCB97_TEXHEAD_PITCHCK_COLOR_KEY_VALUE MW(255:224)
1275
1276
1277 /*
1278 ** Texture Header V2 Blocklinear
1279 */
1280
1281 #define NVCB97_TEXHEAD_V2_BL_RESERVED0A MW(3:0)
1282 #define NVCB97_TEXHEAD_V2_BL_GOB_DEPTH_OFFSET MW(8:4)
1283 #define NVCB97_TEXHEAD_V2_BL_ADDRESS_BITS31TO9 MW(31:9)
1284 #define NVCB97_TEXHEAD_V2_BL_ADDRESS_BITS56TO32 MW(56:32)
1285 #define NVCB97_TEXHEAD_V2_BL_RESERVED1A MW(63:57)
1286 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_WIDTH MW(66:64)
1287 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_WIDTH_ONE_GOB 0x00000000
1288 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT MW(69:67)
1289 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_ONE_GOB 0x00000000
1290 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_TWO_GOBS 0x00000001
1291 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_FOUR_GOBS 0x00000002
1292 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_EIGHT_GOBS 0x00000003
1293 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_SIXTEEN_GOBS 0x00000004
1294 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_HEIGHT_THIRTYTWO_GOBS 0x00000005
1295 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH MW(72:70)
1296 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_ONE_GOB 0x00000000
1297 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_TWO_GOBS 0x00000001
1298 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_FOUR_GOBS 0x00000002
1299 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_EIGHT_GOBS 0x00000003
1300 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_SIXTEEN_GOBS 0x00000004
1301 #define NVCB97_TEXHEAD_V2_BL_GOBS_PER_BLOCK_DEPTH_THIRTYTWO_GOBS 0x00000005
1302 #define NVCB97_TEXHEAD_V2_BL_RESERVED3Y MW(73:73)
1303 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS MW(76:74)
1304 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_ONE_GOB 0x00000000
1305 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_TWO_GOBS 0x00000001
1306 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_FOUR_GOBS 0x00000002
1307 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_EIGHT_GOBS 0x00000003
1308 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_SIXTEEN_GOBS 0x00000004
1309 #define NVCB97_TEXHEAD_V2_BL_TILE_WIDTH_IN_GOBS_THIRTYTWO_GOBS 0x00000005
1310 #define NVCB97_TEXHEAD_V2_BL_GOB3D MW(77:77)
1311 #define NVCB97_TEXHEAD_V2_BL_RESERVED2Z MW(79:78)
1312 #define NVCB97_TEXHEAD_V2_BL_LOD_ANISO_QUALITY2 MW(80:80)
1313 #define NVCB97_TEXHEAD_V2_BL_LOD_ANISO_QUALITY MW(81:81)
1314 #define NVCB97_TEXHEAD_V2_BL_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1315 #define NVCB97_TEXHEAD_V2_BL_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1316 #define NVCB97_TEXHEAD_V2_BL_LOD_ISO_QUALITY MW(82:82)
1317 #define NVCB97_TEXHEAD_V2_BL_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1318 #define NVCB97_TEXHEAD_V2_BL_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1319 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_MODIFIER MW(84:83)
1320 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1321 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1322 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1323 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1324 #define NVCB97_TEXHEAD_V2_BL_ANISO_SPREAD_SCALE MW(89:85)
1325 #define NVCB97_TEXHEAD_V2_BL_USE_HEADER_OPT_CONTROL MW(90:90)
1326 #define NVCB97_TEXHEAD_V2_BL_DEPTH_TEXTURE MW(91:91)
1327 #define NVCB97_TEXHEAD_V2_BL_MAX_MIP_LEVEL MW(95:92)
1328 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE MW(98:96)
1329 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_ZERO 0x00000000
1330 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_R 0x00000002
1331 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_G 0x00000003
1332 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_B 0x00000004
1333 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_A 0x00000005
1334 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_ONE_INT 0x00000006
1335 #define NVCB97_TEXHEAD_V2_BL_X_SOURCE_IN_ONE_FLOAT 0x00000007
1336 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE MW(101:99)
1337 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_ZERO 0x00000000
1338 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_R 0x00000002
1339 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_G 0x00000003
1340 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_B 0x00000004
1341 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_A 0x00000005
1342 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_ONE_INT 0x00000006
1343 #define NVCB97_TEXHEAD_V2_BL_Y_SOURCE_IN_ONE_FLOAT 0x00000007
1344 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE MW(104:102)
1345 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_ZERO 0x00000000
1346 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_R 0x00000002
1347 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_G 0x00000003
1348 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_B 0x00000004
1349 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_A 0x00000005
1350 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_ONE_INT 0x00000006
1351 #define NVCB97_TEXHEAD_V2_BL_Z_SOURCE_IN_ONE_FLOAT 0x00000007
1352 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE MW(107:105)
1353 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_ZERO 0x00000000
1354 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_R 0x00000002
1355 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_G 0x00000003
1356 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_B 0x00000004
1357 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_A 0x00000005
1358 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_ONE_INT 0x00000006
1359 #define NVCB97_TEXHEAD_V2_BL_W_SOURCE_IN_ONE_FLOAT 0x00000007
1360 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE MW(111:108)
1361 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
1362 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
1363 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
1364 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
1365 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
1366 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
1367 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
1368 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
1369 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
1370 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
1371 #define NVCB97_TEXHEAD_V2_BL_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
1372 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS MW(118:112)
1373 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_INVALID 0x00000000
1374 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
1375 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R32_G32_B32 0x00000002
1376 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
1377 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R32_G32 0x00000004
1378 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R32_B24G8 0x00000005
1379 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_X8B8G8R8 0x00000007
1380 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_A8B8G8R8 0x00000008
1381 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_A2B10G10R10 0x00000009
1382 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R16_G16 0x0000000c
1383 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_G8R24 0x0000000d
1384 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_G24R8 0x0000000e
1385 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R32 0x0000000f
1386 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_A4B4G4R4 0x00000012
1387 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_A5B5G5R1 0x00000013
1388 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_A1B5G5R5 0x00000014
1389 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_B5G6R5 0x00000015
1390 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_B6G5R5 0x00000016
1391 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_G8R8 0x00000018
1392 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R16 0x0000001b
1393 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
1394 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R8 0x0000001d
1395 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_G4R4 0x0000001e
1396 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_R1 0x0000001f
1397 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
1398 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
1399 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_G8B8G8R8 0x00000022
1400 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_B8G8R8G8 0x00000023
1401 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_DXT1 0x00000024
1402 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_DXT23 0x00000025
1403 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_DXT45 0x00000026
1404 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_DXN1 0x00000027
1405 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_DXN2 0x00000028
1406 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_BC6H_SF16 0x00000010
1407 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_BC6H_UF16 0x00000011
1408 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_BC7U 0x00000017
1409 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ETC2_RGB 0x00000006
1410 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
1411 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
1412 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_EAC 0x00000019
1413 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_EACX2 0x0000001a
1414 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_Z24S8 0x00000029
1415 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_X8Z24 0x0000002a
1416 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_S8Z24 0x0000002b
1417 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ZF32 0x0000002f
1418 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
1419 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_Z16 0x0000003a
1420 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
1421 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
1422 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
1423 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
1424 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
1425 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
1426 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
1427 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
1428 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
1429 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
1430 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
1431 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
1432 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
1433 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
1434 #define NVCB97_TEXHEAD_V2_BL_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
1435 #define NVCB97_TEXHEAD_V2_BL_PACK_COMPONENTS MW(119:119)
1436 #define NVCB97_TEXHEAD_V2_BL_RESERVED3A MW(123:120)
1437 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION MW(127:124)
1438 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
1439 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
1440 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
1441 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
1442 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
1443 #define NVCB97_TEXHEAD_V2_BL_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
1444 #define NVCB97_TEXHEAD_V2_BL_WIDTH_MINUS_ONE MW(144:128)
1445 #define NVCB97_TEXHEAD_V2_BL_NORMALIZED_COORDS MW(145:145)
1446 #define NVCB97_TEXHEAD_V2_BL_ANISO_SPREAD_MAX_LOG2 MW(148:146)
1447 #define NVCB97_TEXHEAD_V2_BL_S_R_G_B_CONVERSION MW(149:149)
1448 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE MW(153:150)
1449 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_ONE_D 0x00000000
1450 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_TWO_D 0x00000001
1451 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_THREE_D 0x00000002
1452 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_CUBEMAP 0x00000003
1453 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
1454 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
1455 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
1456 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
1457 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
1458 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
1459 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
1460 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
1461 #define NVCB97_TEXHEAD_V2_BL_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
1462 #define NVCB97_TEXHEAD_V2_BL_SECTOR_PROMOTION MW(155:154)
1463 #define NVCB97_TEXHEAD_V2_BL_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
1464 #define NVCB97_TEXHEAD_V2_BL_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
1465 #define NVCB97_TEXHEAD_V2_BL_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
1466 #define NVCB97_TEXHEAD_V2_BL_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
1467 #define NVCB97_TEXHEAD_V2_BL_BORDER_SOURCE MW(156:156)
1468 #define NVCB97_TEXHEAD_V2_BL_BORDER_SOURCE_BORDER_TEXTURE 0x00000000
1469 #define NVCB97_TEXHEAD_V2_BL_BORDER_SOURCE_BORDER_COLOR 0x00000001
1470 #define NVCB97_TEXHEAD_V2_BL_RESERVED4A MW(159:157)
1471 #define NVCB97_TEXHEAD_V2_BL_HEIGHT_MINUS_ONE MW(176:160)
1472 #define NVCB97_TEXHEAD_V2_BL_DEPTH_MINUS_ONE MW(191:177)
1473 #define NVCB97_TEXHEAD_V2_BL_RESERVED6Y MW(192:192)
1474 #define NVCB97_TEXHEAD_V2_BL_TRILIN_OPT MW(197:193)
1475 #define NVCB97_TEXHEAD_V2_BL_MIP_LOD_BIAS MW(210:198)
1476 #define NVCB97_TEXHEAD_V2_BL_ANISO_BIAS MW(214:211)
1477 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_FUNC MW(216:215)
1478 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1479 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1480 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1481 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1482 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_FUNC MW(218:217)
1483 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1484 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1485 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1486 #define NVCB97_TEXHEAD_V2_BL_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1487 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY MW(221:219)
1488 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
1489 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
1490 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
1491 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
1492 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
1493 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
1494 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
1495 #define NVCB97_TEXHEAD_V2_BL_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
1496 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
1497 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1498 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1499 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1500 #define NVCB97_TEXHEAD_V2_BL_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1501 #define NVCB97_TEXHEAD_V2_BL_RES_VIEW_MIN_MIP_LEVEL MW(227:224)
1502 #define NVCB97_TEXHEAD_V2_BL_RES_VIEW_MAX_MIP_LEVEL MW(231:228)
1503 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT MW(235:232)
1504 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_1X1 0x00000000
1505 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_2X1 0x00000001
1506 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_2X2 0x00000002
1507 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_4X2 0x00000003
1508 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_4X2_D3D 0x00000004
1509 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_2X1_D3D 0x00000005
1510 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_4X4 0x00000006
1511 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_2X2_VC_4 0x00000008
1512 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_2X2_VC_12 0x00000009
1513 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_4X2_VC_8 0x0000000a
1514 #define NVCB97_TEXHEAD_V2_BL_MULTI_SAMPLE_COUNT_MODE_4X2_VC_24 0x0000000b
1515 #define NVCB97_TEXHEAD_V2_BL_MIN_LOD_CLAMP MW(247:236)
1516 #define NVCB97_TEXHEAD_V2_BL_RESERVED7Y MW(255:248)
1517
1518
1519 /*
1520 ** Texture Header V2 Blocklinear Color Key
1521 */
1522
1523 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED0A MW(3:0)
1524 #define NVCB97_TEXHEAD_V2_BLCK_GOB_DEPTH_OFFSET MW(8:4)
1525 #define NVCB97_TEXHEAD_V2_BLCK_ADDRESS_BITS31TO9 MW(31:9)
1526 #define NVCB97_TEXHEAD_V2_BLCK_ADDRESS_BITS56TO32 MW(56:32)
1527 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED1A MW(63:57)
1528 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_WIDTH MW(66:64)
1529 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_WIDTH_ONE_GOB 0x00000000
1530 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT MW(69:67)
1531 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_ONE_GOB 0x00000000
1532 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_TWO_GOBS 0x00000001
1533 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_FOUR_GOBS 0x00000002
1534 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_EIGHT_GOBS 0x00000003
1535 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_SIXTEEN_GOBS 0x00000004
1536 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_HEIGHT_THIRTYTWO_GOBS 0x00000005
1537 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH MW(72:70)
1538 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_ONE_GOB 0x00000000
1539 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_TWO_GOBS 0x00000001
1540 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_FOUR_GOBS 0x00000002
1541 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_EIGHT_GOBS 0x00000003
1542 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_SIXTEEN_GOBS 0x00000004
1543 #define NVCB97_TEXHEAD_V2_BLCK_GOBS_PER_BLOCK_DEPTH_THIRTYTWO_GOBS 0x00000005
1544 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED3Y MW(73:73)
1545 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS MW(76:74)
1546 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_ONE_GOB 0x00000000
1547 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_TWO_GOBS 0x00000001
1548 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_FOUR_GOBS 0x00000002
1549 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_EIGHT_GOBS 0x00000003
1550 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_SIXTEEN_GOBS 0x00000004
1551 #define NVCB97_TEXHEAD_V2_BLCK_TILE_WIDTH_IN_GOBS_THIRTYTWO_GOBS 0x00000005
1552 #define NVCB97_TEXHEAD_V2_BLCK_GOB3D MW(77:77)
1553 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED2Z MW(79:78)
1554 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ANISO_QUALITY2 MW(80:80)
1555 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ANISO_QUALITY MW(81:81)
1556 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1557 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1558 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ISO_QUALITY MW(82:82)
1559 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1560 #define NVCB97_TEXHEAD_V2_BLCK_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1561 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_MODIFIER MW(84:83)
1562 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1563 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1564 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1565 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1566 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_SPREAD_SCALE MW(89:85)
1567 #define NVCB97_TEXHEAD_V2_BLCK_USE_HEADER_OPT_CONTROL MW(90:90)
1568 #define NVCB97_TEXHEAD_V2_BLCK_DEPTH_TEXTURE MW(91:91)
1569 #define NVCB97_TEXHEAD_V2_BLCK_MAX_MIP_LEVEL MW(95:92)
1570 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE MW(98:96)
1571 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_ZERO 0x00000000
1572 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_R 0x00000002
1573 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_G 0x00000003
1574 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_B 0x00000004
1575 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_A 0x00000005
1576 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_ONE_INT 0x00000006
1577 #define NVCB97_TEXHEAD_V2_BLCK_X_SOURCE_IN_ONE_FLOAT 0x00000007
1578 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE MW(101:99)
1579 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_ZERO 0x00000000
1580 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_R 0x00000002
1581 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_G 0x00000003
1582 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_B 0x00000004
1583 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_A 0x00000005
1584 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_ONE_INT 0x00000006
1585 #define NVCB97_TEXHEAD_V2_BLCK_Y_SOURCE_IN_ONE_FLOAT 0x00000007
1586 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE MW(104:102)
1587 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_ZERO 0x00000000
1588 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_R 0x00000002
1589 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_G 0x00000003
1590 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_B 0x00000004
1591 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_A 0x00000005
1592 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_ONE_INT 0x00000006
1593 #define NVCB97_TEXHEAD_V2_BLCK_Z_SOURCE_IN_ONE_FLOAT 0x00000007
1594 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE MW(107:105)
1595 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_ZERO 0x00000000
1596 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_R 0x00000002
1597 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_G 0x00000003
1598 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_B 0x00000004
1599 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_A 0x00000005
1600 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_ONE_INT 0x00000006
1601 #define NVCB97_TEXHEAD_V2_BLCK_W_SOURCE_IN_ONE_FLOAT 0x00000007
1602 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE MW(111:108)
1603 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
1604 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
1605 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
1606 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
1607 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
1608 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
1609 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
1610 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
1611 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
1612 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
1613 #define NVCB97_TEXHEAD_V2_BLCK_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
1614 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS MW(118:112)
1615 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_INVALID 0x00000000
1616 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
1617 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R32_G32_B32 0x00000002
1618 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
1619 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R32_G32 0x00000004
1620 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R32_B24G8 0x00000005
1621 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_X8B8G8R8 0x00000007
1622 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_A8B8G8R8 0x00000008
1623 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_A2B10G10R10 0x00000009
1624 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R16_G16 0x0000000c
1625 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_G8R24 0x0000000d
1626 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_G24R8 0x0000000e
1627 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R32 0x0000000f
1628 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_A4B4G4R4 0x00000012
1629 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_A5B5G5R1 0x00000013
1630 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_A1B5G5R5 0x00000014
1631 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_B5G6R5 0x00000015
1632 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_B6G5R5 0x00000016
1633 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_G8R8 0x00000018
1634 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R16 0x0000001b
1635 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
1636 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R8 0x0000001d
1637 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_G4R4 0x0000001e
1638 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_R1 0x0000001f
1639 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
1640 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
1641 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_G8B8G8R8 0x00000022
1642 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_B8G8R8G8 0x00000023
1643 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_DXT1 0x00000024
1644 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_DXT23 0x00000025
1645 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_DXT45 0x00000026
1646 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_DXN1 0x00000027
1647 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_DXN2 0x00000028
1648 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_BC6H_SF16 0x00000010
1649 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_BC6H_UF16 0x00000011
1650 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_BC7U 0x00000017
1651 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ETC2_RGB 0x00000006
1652 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
1653 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
1654 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_EAC 0x00000019
1655 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_EACX2 0x0000001a
1656 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_Z24S8 0x00000029
1657 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_X8Z24 0x0000002a
1658 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_S8Z24 0x0000002b
1659 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ZF32 0x0000002f
1660 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
1661 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_Z16 0x0000003a
1662 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
1663 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
1664 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
1665 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
1666 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
1667 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
1668 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
1669 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
1670 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
1671 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
1672 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
1673 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
1674 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
1675 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
1676 #define NVCB97_TEXHEAD_V2_BLCK_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
1677 #define NVCB97_TEXHEAD_V2_BLCK_PACK_COMPONENTS MW(119:119)
1678 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED3A MW(123:120)
1679 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION MW(127:124)
1680 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
1681 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
1682 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
1683 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
1684 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
1685 #define NVCB97_TEXHEAD_V2_BLCK_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
1686 #define NVCB97_TEXHEAD_V2_BLCK_WIDTH_MINUS_ONE MW(144:128)
1687 #define NVCB97_TEXHEAD_V2_BLCK_NORMALIZED_COORDS MW(145:145)
1688 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_SPREAD_MAX_LOG2 MW(148:146)
1689 #define NVCB97_TEXHEAD_V2_BLCK_S_R_G_B_CONVERSION MW(149:149)
1690 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE MW(153:150)
1691 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_ONE_D 0x00000000
1692 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_TWO_D 0x00000001
1693 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_THREE_D 0x00000002
1694 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_CUBEMAP 0x00000003
1695 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
1696 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
1697 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
1698 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
1699 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
1700 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
1701 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
1702 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
1703 #define NVCB97_TEXHEAD_V2_BLCK_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
1704 #define NVCB97_TEXHEAD_V2_BLCK_SECTOR_PROMOTION MW(155:154)
1705 #define NVCB97_TEXHEAD_V2_BLCK_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
1706 #define NVCB97_TEXHEAD_V2_BLCK_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
1707 #define NVCB97_TEXHEAD_V2_BLCK_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
1708 #define NVCB97_TEXHEAD_V2_BLCK_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
1709 #define NVCB97_TEXHEAD_V2_BLCK_BORDER_SOURCE MW(156:156)
1710 #define NVCB97_TEXHEAD_V2_BLCK_BORDER_SOURCE_BORDER_TEXTURE 0x00000000
1711 #define NVCB97_TEXHEAD_V2_BLCK_BORDER_SOURCE_BORDER_COLOR 0x00000001
1712 #define NVCB97_TEXHEAD_V2_BLCK_RESERVED4A MW(159:157)
1713 #define NVCB97_TEXHEAD_V2_BLCK_HEIGHT_MINUS_ONE MW(176:160)
1714 #define NVCB97_TEXHEAD_V2_BLCK_DEPTH_MINUS_ONE MW(191:177)
1715 #define NVCB97_TEXHEAD_V2_BLCK_COLOR_KEY_OP MW(192:192)
1716 #define NVCB97_TEXHEAD_V2_BLCK_TRILIN_OPT MW(197:193)
1717 #define NVCB97_TEXHEAD_V2_BLCK_MIP_LOD_BIAS MW(210:198)
1718 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_BIAS MW(214:211)
1719 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_FUNC MW(216:215)
1720 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1721 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1722 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1723 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1724 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_FUNC MW(218:217)
1725 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
1726 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
1727 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
1728 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
1729 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY MW(221:219)
1730 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
1731 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
1732 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
1733 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
1734 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
1735 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
1736 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
1737 #define NVCB97_TEXHEAD_V2_BLCK_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
1738 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
1739 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1740 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1741 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1742 #define NVCB97_TEXHEAD_V2_BLCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1743 #define NVCB97_TEXHEAD_V2_BLCK_COLOR_KEY_VALUE MW(255:224)
1744
1745
1746 /*
1747 ** Texture Header V2 One-D Raw Typed
1748 */
1749
1750 #define NVCB97_TEXHEAD_V2_1DRT_ADDRESS_BITS31TO0 MW(31:0)
1751 #define NVCB97_TEXHEAD_V2_1DRT_ADDRESS_BITS63TO32 MW(63:32)
1752 #define NVCB97_TEXHEAD_V2_1DRT_WIDTH_MINUS_ONE MW(95:64)
1753 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE MW(98:96)
1754 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_ZERO 0x00000000
1755 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_R 0x00000002
1756 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_G 0x00000003
1757 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_B 0x00000004
1758 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_A 0x00000005
1759 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_ONE_INT 0x00000006
1760 #define NVCB97_TEXHEAD_V2_1DRT_X_SOURCE_IN_ONE_FLOAT 0x00000007
1761 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE MW(101:99)
1762 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_ZERO 0x00000000
1763 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_R 0x00000002
1764 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_G 0x00000003
1765 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_B 0x00000004
1766 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_A 0x00000005
1767 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_ONE_INT 0x00000006
1768 #define NVCB97_TEXHEAD_V2_1DRT_Y_SOURCE_IN_ONE_FLOAT 0x00000007
1769 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE MW(104:102)
1770 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_ZERO 0x00000000
1771 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_R 0x00000002
1772 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_G 0x00000003
1773 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_B 0x00000004
1774 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_A 0x00000005
1775 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_ONE_INT 0x00000006
1776 #define NVCB97_TEXHEAD_V2_1DRT_Z_SOURCE_IN_ONE_FLOAT 0x00000007
1777 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE MW(107:105)
1778 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_ZERO 0x00000000
1779 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_R 0x00000002
1780 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_G 0x00000003
1781 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_B 0x00000004
1782 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_A 0x00000005
1783 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_ONE_INT 0x00000006
1784 #define NVCB97_TEXHEAD_V2_1DRT_W_SOURCE_IN_ONE_FLOAT 0x00000007
1785 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE MW(111:108)
1786 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
1787 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
1788 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
1789 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
1790 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
1791 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
1792 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
1793 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
1794 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
1795 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
1796 #define NVCB97_TEXHEAD_V2_1DRT_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
1797 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS MW(117:112)
1798 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_INVALID 0x00000000
1799 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R32_G32_B32_A32 0x00000001
1800 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R32_G32_B32 0x00000002
1801 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R16_G16_B16_A16 0x00000003
1802 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R32_G32 0x00000004
1803 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R32_B24G8 0x00000005
1804 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_X8B8G8R8 0x00000007
1805 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A8B8G8R8 0x00000008
1806 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A2B10G10R10 0x00000009
1807 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R16_G16 0x0000000c
1808 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G8R24 0x0000000d
1809 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G24R8 0x0000000e
1810 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R32 0x0000000f
1811 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A4B4G4R4 0x00000012
1812 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A5B5G5R1 0x00000013
1813 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A1B5G5R5 0x00000014
1814 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_B5G6R5 0x00000015
1815 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_B6G5R5 0x00000016
1816 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G8R8 0x00000018
1817 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R16 0x0000001b
1818 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_Y8_VIDEO 0x0000001c
1819 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R8 0x0000001d
1820 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G4R4 0x0000001e
1821 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_E5B9G9R9_SHAREDEXP 0x00000020
1822 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_BF10GF11RF11 0x00000021
1823 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G8B8G8R8 0x00000022
1824 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_B8G8R8G8 0x00000023
1825 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_X8B8G8R8_SRGB 0x00000031
1826 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_A8B8G8R8_SRGB 0x00000032
1827 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_G8R8_SRGB 0x00000033
1828 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZES_1D_R8_SRGB 0x00000034
1829 #define NVCB97_TEXHEAD_V2_1DRT_COMPONENTS_SIZESV2_CS_BITFIELD_SIZE 0x0000003f
1830 #define NVCB97_TEXHEAD_V2_1DRT_SECTOR_PROMOTION MW(119:118)
1831 #define NVCB97_TEXHEAD_V2_1DRT_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
1832 #define NVCB97_TEXHEAD_V2_1DRT_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
1833 #define NVCB97_TEXHEAD_V2_1DRT_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
1834 #define NVCB97_TEXHEAD_V2_1DRT_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
1835 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED3A MW(123:120)
1836 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION MW(127:124)
1837 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
1838 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
1839 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
1840 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
1841 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
1842 #define NVCB97_TEXHEAD_V2_1DRT_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
1843 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED4X MW(156:128)
1844 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED4A MW(159:157)
1845 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED5X MW(191:160)
1846 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED6X MW(223:192)
1847 #define NVCB97_TEXHEAD_V2_1DRT_RESERVED7X MW(255:224)
1848
1849
1850 /*
1851 ** Texture Header V2 One-D Structured Buffer
1852 */
1853
1854 #define NVCB97_TEXHEAD_V2_1DSB_ADDRESS_BITS31TO0 MW(31:0)
1855 #define NVCB97_TEXHEAD_V2_1DSB_ADDRESS_BITS63TO32 MW(63:32)
1856 #define NVCB97_TEXHEAD_V2_1DSB_WIDTH_MINUS_ONE MW(95:64)
1857 #define NVCB97_TEXHEAD_V2_1DSB_STRIDE MW(107:96)
1858 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE MW(111:108)
1859 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
1860 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
1861 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
1862 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
1863 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
1864 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
1865 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
1866 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
1867 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
1868 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
1869 #define NVCB97_TEXHEAD_V2_1DSB_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
1870 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS MW(117:112)
1871 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_INVALID 0x00000000
1872 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R32_G32_B32_A32 0x00000001
1873 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R32_G32_B32 0x00000002
1874 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R16_G16_B16_A16 0x00000003
1875 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R32_G32 0x00000004
1876 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R32_B24G8 0x00000005
1877 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_X8B8G8R8 0x00000007
1878 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A8B8G8R8 0x00000008
1879 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A2B10G10R10 0x00000009
1880 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R16_G16 0x0000000c
1881 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G8R24 0x0000000d
1882 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G24R8 0x0000000e
1883 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R32 0x0000000f
1884 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A4B4G4R4 0x00000012
1885 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A5B5G5R1 0x00000013
1886 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A1B5G5R5 0x00000014
1887 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_B5G6R5 0x00000015
1888 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_B6G5R5 0x00000016
1889 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G8R8 0x00000018
1890 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R16 0x0000001b
1891 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_Y8_VIDEO 0x0000001c
1892 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R8 0x0000001d
1893 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G4R4 0x0000001e
1894 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_E5B9G9R9_SHAREDEXP 0x00000020
1895 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_BF10GF11RF11 0x00000021
1896 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G8B8G8R8 0x00000022
1897 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_B8G8R8G8 0x00000023
1898 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_X8B8G8R8_SRGB 0x00000031
1899 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_A8B8G8R8_SRGB 0x00000032
1900 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_G8R8_SRGB 0x00000033
1901 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZES_1D_R8_SRGB 0x00000034
1902 #define NVCB97_TEXHEAD_V2_1DSB_COMPONENTS_SIZESV2_CS_BITFIELD_SIZE 0x0000003f
1903 #define NVCB97_TEXHEAD_V2_1DSB_SECTOR_PROMOTION MW(119:118)
1904 #define NVCB97_TEXHEAD_V2_1DSB_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
1905 #define NVCB97_TEXHEAD_V2_1DSB_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
1906 #define NVCB97_TEXHEAD_V2_1DSB_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
1907 #define NVCB97_TEXHEAD_V2_1DSB_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
1908 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED3A MW(123:120)
1909 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION MW(127:124)
1910 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
1911 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
1912 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
1913 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
1914 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
1915 #define NVCB97_TEXHEAD_V2_1DSB_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
1916 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED4X MW(156:128)
1917 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED4A MW(159:157)
1918 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED5X MW(191:160)
1919 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED6X MW(223:192)
1920 #define NVCB97_TEXHEAD_V2_1DSB_RESERVED7X MW(255:224)
1921
1922
1923 /*
1924 ** Texture Header V2 Pitch
1925 */
1926
1927 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED0A MW(3:0)
1928 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED0X MW(4:4)
1929 #define NVCB97_TEXHEAD_V2_PITCH_ADDRESS_BITS31TO5 MW(31:5)
1930 #define NVCB97_TEXHEAD_V2_PITCH_ADDRESS_BITS56TO32 MW(56:32)
1931 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED1A MW(63:57)
1932 #define NVCB97_TEXHEAD_V2_PITCH_PITCH_BITS21TO5 MW(80:64)
1933 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ANISO_QUALITY2 MW(81:81)
1934 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ANISO_QUALITY MW(82:82)
1935 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1936 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1937 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ISO_QUALITY MW(83:83)
1938 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
1939 #define NVCB97_TEXHEAD_V2_PITCH_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
1940 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_MODIFIER MW(85:84)
1941 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
1942 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
1943 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
1944 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
1945 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_SPREAD_SCALE MW(90:86)
1946 #define NVCB97_TEXHEAD_V2_PITCH_DEPTH_TEXTURE MW(91:91)
1947 #define NVCB97_TEXHEAD_V2_PITCH_MAX_MIP_LEVEL MW(95:92)
1948 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE MW(98:96)
1949 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_ZERO 0x00000000
1950 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_R 0x00000002
1951 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_G 0x00000003
1952 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_B 0x00000004
1953 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_A 0x00000005
1954 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_ONE_INT 0x00000006
1955 #define NVCB97_TEXHEAD_V2_PITCH_X_SOURCE_IN_ONE_FLOAT 0x00000007
1956 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE MW(101:99)
1957 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_ZERO 0x00000000
1958 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_R 0x00000002
1959 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_G 0x00000003
1960 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_B 0x00000004
1961 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_A 0x00000005
1962 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_ONE_INT 0x00000006
1963 #define NVCB97_TEXHEAD_V2_PITCH_Y_SOURCE_IN_ONE_FLOAT 0x00000007
1964 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE MW(104:102)
1965 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_ZERO 0x00000000
1966 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_R 0x00000002
1967 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_G 0x00000003
1968 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_B 0x00000004
1969 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_A 0x00000005
1970 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_ONE_INT 0x00000006
1971 #define NVCB97_TEXHEAD_V2_PITCH_Z_SOURCE_IN_ONE_FLOAT 0x00000007
1972 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE MW(107:105)
1973 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_ZERO 0x00000000
1974 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_R 0x00000002
1975 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_G 0x00000003
1976 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_B 0x00000004
1977 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_A 0x00000005
1978 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_ONE_INT 0x00000006
1979 #define NVCB97_TEXHEAD_V2_PITCH_W_SOURCE_IN_ONE_FLOAT 0x00000007
1980 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE MW(111:108)
1981 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
1982 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
1983 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
1984 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
1985 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
1986 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
1987 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
1988 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
1989 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
1990 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
1991 #define NVCB97_TEXHEAD_V2_PITCH_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
1992 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS MW(118:112)
1993 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_INVALID 0x00000000
1994 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
1995 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R32_G32_B32 0x00000002
1996 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
1997 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R32_G32 0x00000004
1998 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R32_B24G8 0x00000005
1999 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_X8B8G8R8 0x00000007
2000 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_A8B8G8R8 0x00000008
2001 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_A2B10G10R10 0x00000009
2002 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R16_G16 0x0000000c
2003 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_G8R24 0x0000000d
2004 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_G24R8 0x0000000e
2005 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R32 0x0000000f
2006 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_A4B4G4R4 0x00000012
2007 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_A5B5G5R1 0x00000013
2008 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_A1B5G5R5 0x00000014
2009 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_B5G6R5 0x00000015
2010 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_B6G5R5 0x00000016
2011 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_G8R8 0x00000018
2012 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R16 0x0000001b
2013 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
2014 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R8 0x0000001d
2015 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_G4R4 0x0000001e
2016 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_R1 0x0000001f
2017 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
2018 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
2019 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_G8B8G8R8 0x00000022
2020 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_B8G8R8G8 0x00000023
2021 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_DXT1 0x00000024
2022 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_DXT23 0x00000025
2023 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_DXT45 0x00000026
2024 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_DXN1 0x00000027
2025 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_DXN2 0x00000028
2026 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_BC6H_SF16 0x00000010
2027 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_BC6H_UF16 0x00000011
2028 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_BC7U 0x00000017
2029 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ETC2_RGB 0x00000006
2030 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
2031 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
2032 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_EAC 0x00000019
2033 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_EACX2 0x0000001a
2034 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_Z24S8 0x00000029
2035 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_X8Z24 0x0000002a
2036 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_S8Z24 0x0000002b
2037 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ZF32 0x0000002f
2038 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
2039 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_Z16 0x0000003a
2040 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
2041 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
2042 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
2043 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
2044 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
2045 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
2046 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
2047 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
2048 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
2049 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
2050 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
2051 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
2052 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
2053 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
2054 #define NVCB97_TEXHEAD_V2_PITCH_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
2055 #define NVCB97_TEXHEAD_V2_PITCH_PACK_COMPONENTS MW(119:119)
2056 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED3A MW(123:120)
2057 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION MW(127:124)
2058 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
2059 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
2060 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
2061 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
2062 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
2063 #define NVCB97_TEXHEAD_V2_PITCH_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
2064 #define NVCB97_TEXHEAD_V2_PITCH_WIDTH_MINUS_ONE MW(144:128)
2065 #define NVCB97_TEXHEAD_V2_PITCH_NORMALIZED_COORDS MW(145:145)
2066 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_SPREAD_MAX_LOG2 MW(148:146)
2067 #define NVCB97_TEXHEAD_V2_PITCH_S_R_G_B_CONVERSION MW(149:149)
2068 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE MW(153:150)
2069 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_ONE_D 0x00000000
2070 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_TWO_D 0x00000001
2071 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_THREE_D 0x00000002
2072 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_CUBEMAP 0x00000003
2073 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
2074 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
2075 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
2076 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
2077 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
2078 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
2079 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
2080 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
2081 #define NVCB97_TEXHEAD_V2_PITCH_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
2082 #define NVCB97_TEXHEAD_V2_PITCH_SECTOR_PROMOTION MW(155:154)
2083 #define NVCB97_TEXHEAD_V2_PITCH_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
2084 #define NVCB97_TEXHEAD_V2_PITCH_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
2085 #define NVCB97_TEXHEAD_V2_PITCH_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
2086 #define NVCB97_TEXHEAD_V2_PITCH_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
2087 #define NVCB97_TEXHEAD_V2_PITCH_BORDER_SOURCE MW(156:156)
2088 #define NVCB97_TEXHEAD_V2_PITCH_BORDER_SOURCE_BORDER_TEXTURE 0x00000000
2089 #define NVCB97_TEXHEAD_V2_PITCH_BORDER_SOURCE_BORDER_COLOR 0x00000001
2090 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED4A MW(159:157)
2091 #define NVCB97_TEXHEAD_V2_PITCH_HEIGHT_MINUS_ONE MW(176:160)
2092 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED5Y MW(191:177)
2093 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED6Y MW(192:192)
2094 #define NVCB97_TEXHEAD_V2_PITCH_TRILIN_OPT MW(197:193)
2095 #define NVCB97_TEXHEAD_V2_PITCH_MIP_LOD_BIAS MW(210:198)
2096 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_BIAS MW(214:211)
2097 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_FUNC MW(216:215)
2098 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
2099 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
2100 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
2101 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
2102 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_FUNC MW(218:217)
2103 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
2104 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
2105 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
2106 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
2107 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY MW(221:219)
2108 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
2109 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
2110 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
2111 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
2112 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
2113 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
2114 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
2115 #define NVCB97_TEXHEAD_V2_PITCH_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
2116 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
2117 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
2118 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
2119 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
2120 #define NVCB97_TEXHEAD_V2_PITCH_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
2121 #define NVCB97_TEXHEAD_V2_PITCH_RES_VIEW_MIN_MIP_LEVEL MW(227:224)
2122 #define NVCB97_TEXHEAD_V2_PITCH_RES_VIEW_MAX_MIP_LEVEL MW(231:228)
2123 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT MW(235:232)
2124 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_1X1 0x00000000
2125 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_2X1 0x00000001
2126 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2 0x00000002
2127 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2 0x00000003
2128 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_D3D 0x00000004
2129 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_2X1_D3D 0x00000005
2130 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_4X4 0x00000006
2131 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2_VC_4 0x00000008
2132 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_2X2_VC_12 0x00000009
2133 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_VC_8 0x0000000a
2134 #define NVCB97_TEXHEAD_V2_PITCH_MULTI_SAMPLE_COUNT_MODE_4X2_VC_24 0x0000000b
2135 #define NVCB97_TEXHEAD_V2_PITCH_MIN_LOD_CLAMP MW(247:236)
2136 #define NVCB97_TEXHEAD_V2_PITCH_RESERVED7Y MW(255:248)
2137
2138
2139 /*
2140 ** Texture Header V2 Pitch Color Key
2141 */
2142
2143 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED0A MW(3:0)
2144 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED0X MW(4:4)
2145 #define NVCB97_TEXHEAD_V2_PITCHCK_ADDRESS_BITS31TO5 MW(31:5)
2146 #define NVCB97_TEXHEAD_V2_PITCHCK_ADDRESS_BITS56TO32 MW(56:32)
2147 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED1A MW(63:57)
2148 #define NVCB97_TEXHEAD_V2_PITCHCK_PITCH_BITS21TO5 MW(80:64)
2149 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ANISO_QUALITY2 MW(81:81)
2150 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ANISO_QUALITY MW(82:82)
2151 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ANISO_QUALITY_LOD_QUALITY_LOW 0x00000000
2152 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ANISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
2153 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ISO_QUALITY MW(83:83)
2154 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ISO_QUALITY_LOD_QUALITY_LOW 0x00000000
2155 #define NVCB97_TEXHEAD_V2_PITCHCK_LOD_ISO_QUALITY_LOD_QUALITY_HIGH 0x00000001
2156 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER MW(85:84)
2157 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
2158 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
2159 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
2160 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
2161 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_SPREAD_SCALE MW(90:86)
2162 #define NVCB97_TEXHEAD_V2_PITCHCK_DEPTH_TEXTURE MW(91:91)
2163 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_MIP_LEVEL MW(95:92)
2164 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE MW(98:96)
2165 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_ZERO 0x00000000
2166 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_R 0x00000002
2167 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_G 0x00000003
2168 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_B 0x00000004
2169 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_A 0x00000005
2170 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_ONE_INT 0x00000006
2171 #define NVCB97_TEXHEAD_V2_PITCHCK_X_SOURCE_IN_ONE_FLOAT 0x00000007
2172 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE MW(101:99)
2173 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_ZERO 0x00000000
2174 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_R 0x00000002
2175 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_G 0x00000003
2176 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_B 0x00000004
2177 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_A 0x00000005
2178 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_ONE_INT 0x00000006
2179 #define NVCB97_TEXHEAD_V2_PITCHCK_Y_SOURCE_IN_ONE_FLOAT 0x00000007
2180 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE MW(104:102)
2181 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_ZERO 0x00000000
2182 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_R 0x00000002
2183 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_G 0x00000003
2184 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_B 0x00000004
2185 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_A 0x00000005
2186 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_ONE_INT 0x00000006
2187 #define NVCB97_TEXHEAD_V2_PITCHCK_Z_SOURCE_IN_ONE_FLOAT 0x00000007
2188 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE MW(107:105)
2189 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_ZERO 0x00000000
2190 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_R 0x00000002
2191 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_G 0x00000003
2192 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_B 0x00000004
2193 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_A 0x00000005
2194 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_ONE_INT 0x00000006
2195 #define NVCB97_TEXHEAD_V2_PITCHCK_W_SOURCE_IN_ONE_FLOAT 0x00000007
2196 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE MW(111:108)
2197 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_UNORM 0x00000000
2198 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_SNORM 0x00000001
2199 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_FLOAT 0x00000002
2200 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_SGNRGB 0x00000003
2201 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_SGNA 0x00000004
2202 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_DSDT 0x00000005
2203 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_UINT 0x00000006
2204 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_SINT 0x00000007
2205 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_ZS 0x00000008
2206 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_SZ 0x00000009
2207 #define NVCB97_TEXHEAD_V2_PITCHCK_DATA_TYPE_TEX_DATA_TYPE_ZFS 0x0000000a
2208 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS MW(118:112)
2209 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_INVALID 0x00000000
2210 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R32_G32_B32_A32 0x00000001
2211 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R32_G32_B32 0x00000002
2212 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R16_G16_B16_A16 0x00000003
2213 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R32_G32 0x00000004
2214 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R32_B24G8 0x00000005
2215 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_X8B8G8R8 0x00000007
2216 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_A8B8G8R8 0x00000008
2217 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_A2B10G10R10 0x00000009
2218 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R16_G16 0x0000000c
2219 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_G8R24 0x0000000d
2220 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_G24R8 0x0000000e
2221 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R32 0x0000000f
2222 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_A4B4G4R4 0x00000012
2223 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_A5B5G5R1 0x00000013
2224 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_A1B5G5R5 0x00000014
2225 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_B5G6R5 0x00000015
2226 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_B6G5R5 0x00000016
2227 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_G8R8 0x00000018
2228 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R16 0x0000001b
2229 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_Y8_VIDEO 0x0000001c
2230 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R8 0x0000001d
2231 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_G4R4 0x0000001e
2232 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_R1 0x0000001f
2233 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP 0x00000020
2234 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_BF10GF11RF11 0x00000021
2235 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_G8B8G8R8 0x00000022
2236 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_B8G8R8G8 0x00000023
2237 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_DXT1 0x00000024
2238 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_DXT23 0x00000025
2239 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_DXT45 0x00000026
2240 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_DXN1 0x00000027
2241 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_DXN2 0x00000028
2242 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_BC6H_SF16 0x00000010
2243 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_BC6H_UF16 0x00000011
2244 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_BC7U 0x00000017
2245 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ETC2_RGB 0x00000006
2246 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ETC2_RGB_PTA 0x0000000a
2247 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ETC2_RGBA 0x0000000b
2248 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_EAC 0x00000019
2249 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_EACX2 0x0000001a
2250 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_Z24S8 0x00000029
2251 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_X8Z24 0x0000002a
2252 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_S8Z24 0x0000002b
2253 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ZF32 0x0000002f
2254 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ZF32_X24S8 0x00000030
2255 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_Z16 0x0000003a
2256 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_4X4 0x00000040
2257 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_5X4 0x00000050
2258 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_5X5 0x00000041
2259 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_6X5 0x00000051
2260 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_6X6 0x00000042
2261 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X5 0x00000055
2262 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X6 0x00000052
2263 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_8X8 0x00000044
2264 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X5 0x00000056
2265 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X6 0x00000057
2266 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X8 0x00000053
2267 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_10X10 0x00000045
2268 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_12X10 0x00000054
2269 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_ASTC_2D_12X12 0x00000046
2270 #define NVCB97_TEXHEAD_V2_PITCHCK_COMPONENTS_SIZES_CS_BITFIELD_SIZE 0x0000007f
2271 #define NVCB97_TEXHEAD_V2_PITCHCK_PACK_COMPONENTS MW(119:119)
2272 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED3A MW(123:120)
2273 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION MW(127:124)
2274 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_PITCH_COLOR_KEY_V2 0x00000001
2275 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_PITCH_V2 0x00000002
2276 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_BLOCKLINEAR_V2 0x00000003
2277 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_BLOCKLINEAR_COLOR_KEY_V2 0x00000004
2278 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_ONE_D_RAW_TYPED 0x00000005
2279 #define NVCB97_TEXHEAD_V2_PITCHCK_HEADER_VERSION_SELECT_ONE_D_STRUCT_BUF 0x00000006
2280 #define NVCB97_TEXHEAD_V2_PITCHCK_WIDTH_MINUS_ONE MW(144:128)
2281 #define NVCB97_TEXHEAD_V2_PITCHCK_NORMALIZED_COORDS MW(145:145)
2282 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_SPREAD_MAX_LOG2 MW(148:146)
2283 #define NVCB97_TEXHEAD_V2_PITCHCK_S_R_G_B_CONVERSION MW(149:149)
2284 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE MW(153:150)
2285 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_ONE_D 0x00000000
2286 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_TWO_D 0x00000001
2287 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_THREE_D 0x00000002
2288 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_CUBEMAP 0x00000003
2289 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_ONE_D_ARRAY 0x00000004
2290 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_TWO_D_ARRAY 0x00000005
2291 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_ONE_D_BUFFER 0x00000006
2292 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_TWO_D_NO_MIPMAP 0x00000007
2293 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_CUBEMAP_ARRAY 0x00000008
2294 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_HTEX_TWOD 0x0000000a
2295 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_HTEX_THREE_D 0x0000000b
2296 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_HTEX_TWOD_ARRAY 0x0000000e
2297 #define NVCB97_TEXHEAD_V2_PITCHCK_TEXTURE_TYPE_TT_BIT_FIELD_SIZE 0x0000000f
2298 #define NVCB97_TEXHEAD_V2_PITCHCK_SECTOR_PROMOTION MW(155:154)
2299 #define NVCB97_TEXHEAD_V2_PITCHCK_SECTOR_PROMOTION_NO_PROMOTION 0x00000000
2300 #define NVCB97_TEXHEAD_V2_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_2_V 0x00000001
2301 #define NVCB97_TEXHEAD_V2_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_2_H 0x00000002
2302 #define NVCB97_TEXHEAD_V2_PITCHCK_SECTOR_PROMOTION_PROMOTE_TO_4 0x00000003
2303 #define NVCB97_TEXHEAD_V2_PITCHCK_BORDER_SOURCE MW(156:156)
2304 #define NVCB97_TEXHEAD_V2_PITCHCK_BORDER_SOURCE_BORDER_TEXTURE 0x00000000
2305 #define NVCB97_TEXHEAD_V2_PITCHCK_BORDER_SOURCE_BORDER_COLOR 0x00000001
2306 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED4A MW(159:157)
2307 #define NVCB97_TEXHEAD_V2_PITCHCK_HEIGHT_MINUS_ONE MW(176:160)
2308 #define NVCB97_TEXHEAD_V2_PITCHCK_RESERVED5Y MW(191:177)
2309 #define NVCB97_TEXHEAD_V2_PITCHCK_COLOR_KEY_OP MW(192:192)
2310 #define NVCB97_TEXHEAD_V2_PITCHCK_TRILIN_OPT MW(197:193)
2311 #define NVCB97_TEXHEAD_V2_PITCHCK_MIP_LOD_BIAS MW(210:198)
2312 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_BIAS MW(214:211)
2313 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_FUNC MW(216:215)
2314 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
2315 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
2316 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
2317 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
2318 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_FUNC MW(218:217)
2319 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_HALF 0x00000000
2320 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_ONE 0x00000001
2321 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_TWO 0x00000002
2322 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_COARSE_SPREAD_FUNC_SPREAD_FUNC_MAX 0x00000003
2323 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY MW(221:219)
2324 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
2325 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
2326 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
2327 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
2328 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
2329 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
2330 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
2331 #define NVCB97_TEXHEAD_V2_PITCHCK_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
2332 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_MODIFIER MW(223:222)
2333 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_NONE 0x00000000
2334 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_ONE 0x00000001
2335 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_CONST_TWO 0x00000002
2336 #define NVCB97_TEXHEAD_V2_PITCHCK_ANISO_FINE_SPREAD_MODIFIER_SPREAD_MODIFIER_SQRT 0x00000003
2337 #define NVCB97_TEXHEAD_V2_PITCHCK_COLOR_KEY_VALUE MW(255:224)
2338
2339
2340 /*
2341 ** Texture Sampler State
2342 */
2343
2344 #define NVCB97_TEXSAMP0_ADDRESS_U 2:0
2345 #define NVCB97_TEXSAMP0_ADDRESS_U_WRAP 0x00000000
2346 #define NVCB97_TEXSAMP0_ADDRESS_U_MIRROR 0x00000001
2347 #define NVCB97_TEXSAMP0_ADDRESS_U_CLAMP_TO_EDGE 0x00000002
2348 #define NVCB97_TEXSAMP0_ADDRESS_U_BORDER 0x00000003
2349 #define NVCB97_TEXSAMP0_ADDRESS_U_CLAMP_OGL 0x00000004
2350 #define NVCB97_TEXSAMP0_ADDRESS_U_MIRROR_ONCE_CLAMP_TO_EDGE 0x00000005
2351 #define NVCB97_TEXSAMP0_ADDRESS_U_MIRROR_ONCE_BORDER 0x00000006
2352 #define NVCB97_TEXSAMP0_ADDRESS_U_MIRROR_ONCE_CLAMP_OGL 0x00000007
2353 #define NVCB97_TEXSAMP0_ADDRESS_V 5:3
2354 #define NVCB97_TEXSAMP0_ADDRESS_V_WRAP 0x00000000
2355 #define NVCB97_TEXSAMP0_ADDRESS_V_MIRROR 0x00000001
2356 #define NVCB97_TEXSAMP0_ADDRESS_V_CLAMP_TO_EDGE 0x00000002
2357 #define NVCB97_TEXSAMP0_ADDRESS_V_BORDER 0x00000003
2358 #define NVCB97_TEXSAMP0_ADDRESS_V_CLAMP_OGL 0x00000004
2359 #define NVCB97_TEXSAMP0_ADDRESS_V_MIRROR_ONCE_CLAMP_TO_EDGE 0x00000005
2360 #define NVCB97_TEXSAMP0_ADDRESS_V_MIRROR_ONCE_BORDER 0x00000006
2361 #define NVCB97_TEXSAMP0_ADDRESS_V_MIRROR_ONCE_CLAMP_OGL 0x00000007
2362 #define NVCB97_TEXSAMP0_ADDRESS_P 8:6
2363 #define NVCB97_TEXSAMP0_ADDRESS_P_WRAP 0x00000000
2364 #define NVCB97_TEXSAMP0_ADDRESS_P_MIRROR 0x00000001
2365 #define NVCB97_TEXSAMP0_ADDRESS_P_CLAMP_TO_EDGE 0x00000002
2366 #define NVCB97_TEXSAMP0_ADDRESS_P_BORDER 0x00000003
2367 #define NVCB97_TEXSAMP0_ADDRESS_P_CLAMP_OGL 0x00000004
2368 #define NVCB97_TEXSAMP0_ADDRESS_P_MIRROR_ONCE_CLAMP_TO_EDGE 0x00000005
2369 #define NVCB97_TEXSAMP0_ADDRESS_P_MIRROR_ONCE_BORDER 0x00000006
2370 #define NVCB97_TEXSAMP0_ADDRESS_P_MIRROR_ONCE_CLAMP_OGL 0x00000007
2371 #define NVCB97_TEXSAMP0_DEPTH_COMPARE 9:9
2372 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC 12:10
2373 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_NEVER 0x00000000
2374 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_LESS 0x00000001
2375 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_EQUAL 0x00000002
2376 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_LEQUAL 0x00000003
2377 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_GREATER 0x00000004
2378 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_NOTEQUAL 0x00000005
2379 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_GEQUAL 0x00000006
2380 #define NVCB97_TEXSAMP0_DEPTH_COMPARE_FUNC_ZC_ALWAYS 0x00000007
2381 #define NVCB97_TEXSAMP0_S_R_G_B_CONVERSION 13:13
2382 #define NVCB97_TEXSAMP0_RESERVED0A 16:14
2383 #define NVCB97_TEXSAMP0_RESERVED0B 19:17
2384 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY 22:20
2385 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_1_TO_1 0x00000000
2386 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_2_TO_1 0x00000001
2387 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_4_TO_1 0x00000002
2388 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_6_TO_1 0x00000003
2389 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_8_TO_1 0x00000004
2390 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_10_TO_1 0x00000005
2391 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_12_TO_1 0x00000006
2392 #define NVCB97_TEXSAMP0_MAX_ANISOTROPY_ANISO_16_TO_1 0x00000007
2393 #define NVCB97_TEXSAMP0_FORCED_INVALID 31:31
2394 #define NVCB97_TEXSAMP1_MAG_FILTER 2:0
2395 #define NVCB97_TEXSAMP1_MAG_FILTER_MAG_POINT 0x00000001
2396 #define NVCB97_TEXSAMP1_MAG_FILTER_MAG_LINEAR 0x00000002
2397 #define NVCB97_TEXSAMP1_MAG_FILTER_VCAA_4_TAP 0x00000003
2398 #define NVCB97_TEXSAMP1_MAG_FILTER_VCAA_8_TAP 0x00000004
2399 #define NVCB97_TEXSAMP1_MIN_LOD_CLAMP_BEHAVIOR_FOR_NEAREST_MIP 3:3
2400 #define NVCB97_TEXSAMP1_MIN_LOD_CLAMP_BEHAVIOR_FOR_NEAREST_MIP_INTEGER_AND_FRACTION 0x00000000
2401 #define NVCB97_TEXSAMP1_MIN_LOD_CLAMP_BEHAVIOR_FOR_NEAREST_MIP_INTEGER_ONLY 0x00000001
2402 #define NVCB97_TEXSAMP1_MIN_FILTER 5:4
2403 #define NVCB97_TEXSAMP1_MIN_FILTER_MIN_POINT 0x00000001
2404 #define NVCB97_TEXSAMP1_MIN_FILTER_MIN_LINEAR 0x00000002
2405 #define NVCB97_TEXSAMP1_MIN_FILTER_MIN_ANISO 0x00000003
2406 #define NVCB97_TEXSAMP1_MIP_FILTER 7:6
2407 #define NVCB97_TEXSAMP1_MIP_FILTER_MIP_NONE 0x00000001
2408 #define NVCB97_TEXSAMP1_MIP_FILTER_MIP_POINT 0x00000002
2409 #define NVCB97_TEXSAMP1_MIP_FILTER_MIP_LINEAR 0x00000003
2410 #define NVCB97_TEXSAMP1_CUBEMAP_INTERFACE_FILTERING 9:8
2411 #define NVCB97_TEXSAMP1_CUBEMAP_INTERFACE_FILTERING_USE_WRAP 0x00000000
2412 #define NVCB97_TEXSAMP1_CUBEMAP_INTERFACE_FILTERING_OVERRIDE_WRAP 0x00000001
2413 #define NVCB97_TEXSAMP1_CUBEMAP_INTERFACE_FILTERING_AUTO_SPAN_SEAM 0x00000002
2414 #define NVCB97_TEXSAMP1_CUBEMAP_INTERFACE_FILTERING_AUTO_CROSS_SEAM 0x00000003
2415 #define NVCB97_TEXSAMP1_REDUCTION_FILTER 11:10
2416 #define NVCB97_TEXSAMP1_REDUCTION_FILTER_RED_NONE 0x00000000
2417 #define NVCB97_TEXSAMP1_REDUCTION_FILTER_RED_MINIMUM 0x00000001
2418 #define NVCB97_TEXSAMP1_REDUCTION_FILTER_RED_MAXIMUM 0x00000002
2419 #define NVCB97_TEXSAMP1_MIP_LOD_BIAS 24:12
2420 #define NVCB97_TEXSAMP1_FLOAT_COORD_NORMALIZATION 25:25
2421 #define NVCB97_TEXSAMP1_FLOAT_COORD_NORMALIZATION_USE_HEADER_SETTING 0x00000000
2422 #define NVCB97_TEXSAMP1_FLOAT_COORD_NORMALIZATION_FORCE_UNNORMALIZED_COORDS 0x00000001
2423 #define NVCB97_TEXSAMP1_TRILIN_OPT 30:26
2424 #define NVCB97_TEXSAMP2_MIN_LOD_CLAMP 11:0
2425 #define NVCB97_TEXSAMP2_MAX_LOD_CLAMP 23:12
2426 #define NVCB97_TEXSAMP2_S_R_G_B_BORDER_COLOR_R 31:24
2427 #define NVCB97_TEXSAMP3_RESERVED12 11:0
2428 #define NVCB97_TEXSAMP3_S_R_G_B_BORDER_COLOR_G 19:12
2429 #define NVCB97_TEXSAMP3_S_R_G_B_BORDER_COLOR_B 27:20
2430 #define NVCB97_TEXSAMP4_BORDER_COLOR_R 31:0
2431 #define NVCB97_TEXSAMP5_BORDER_COLOR_G 31:0
2432 #define NVCB97_TEXSAMP6_BORDER_COLOR_B 31:0
2433 #define NVCB97_TEXSAMP7_BORDER_COLOR_A 31:0
2434
2435
2436
2437 #endif // #ifndef __CLCB97TEX_H__