amd/common/gfx10: add register JSON
[mesa.git] / src / amd / registers / gfx10-rsrc.json
1 {
2 "enums": {
3 "IMG_FORMAT": {
4 "entries": [
5 {"name": "IMG_FORMAT_INVALID", "value": 0},
6 {"name": "IMG_FORMAT_8_UNORM", "value": 1},
7 {"name": "IMG_FORMAT_8_SNORM", "value": 2},
8 {"name": "IMG_FORMAT_8_USCALED", "value": 3},
9 {"name": "IMG_FORMAT_8_SSCALED", "value": 4},
10 {"name": "IMG_FORMAT_8_UINT", "value": 5},
11 {"name": "IMG_FORMAT_8_SINT", "value": 6},
12 {"name": "IMG_FORMAT_16_UNORM", "value": 7},
13 {"name": "IMG_FORMAT_16_SNORM", "value": 8},
14 {"name": "IMG_FORMAT_16_USCALED", "value": 9},
15 {"name": "IMG_FORMAT_16_SSCALED", "value": 10},
16 {"name": "IMG_FORMAT_16_UINT", "value": 11},
17 {"name": "IMG_FORMAT_16_SINT", "value": 12},
18 {"name": "IMG_FORMAT_16_FLOAT", "value": 13},
19 {"name": "IMG_FORMAT_8_8_UNORM", "value": 14},
20 {"name": "IMG_FORMAT_8_8_SNORM", "value": 15},
21 {"name": "IMG_FORMAT_8_8_USCALED", "value": 16},
22 {"name": "IMG_FORMAT_8_8_SSCALED", "value": 17},
23 {"name": "IMG_FORMAT_8_8_UINT", "value": 18},
24 {"name": "IMG_FORMAT_8_8_SINT", "value": 19},
25 {"name": "IMG_FORMAT_32_UINT", "value": 20},
26 {"name": "IMG_FORMAT_32_SINT", "value": 21},
27 {"name": "IMG_FORMAT_32_FLOAT", "value": 22},
28 {"name": "IMG_FORMAT_16_16_UNORM", "value": 23},
29 {"name": "IMG_FORMAT_16_16_SNORM", "value": 24},
30 {"name": "IMG_FORMAT_16_16_USCALED", "value": 25},
31 {"name": "IMG_FORMAT_16_16_SSCALED", "value": 26},
32 {"name": "IMG_FORMAT_16_16_UINT", "value": 27},
33 {"name": "IMG_FORMAT_16_16_SINT", "value": 28},
34 {"name": "IMG_FORMAT_16_16_FLOAT", "value": 29},
35 {"name": "IMG_FORMAT_10_11_11_UNORM", "value": 30},
36 {"name": "IMG_FORMAT_10_11_11_SNORM", "value": 31},
37 {"name": "IMG_FORMAT_10_11_11_USCALED", "value": 32},
38 {"name": "IMG_FORMAT_10_11_11_SSCALED", "value": 33},
39 {"name": "IMG_FORMAT_10_11_11_UINT", "value": 34},
40 {"name": "IMG_FORMAT_10_11_11_SINT", "value": 35},
41 {"name": "IMG_FORMAT_10_11_11_FLOAT", "value": 36},
42 {"name": "IMG_FORMAT_11_11_10_UNORM", "value": 37},
43 {"name": "IMG_FORMAT_11_11_10_SNORM", "value": 38},
44 {"name": "IMG_FORMAT_11_11_10_USCALED", "value": 39},
45 {"name": "IMG_FORMAT_11_11_10_SSCALED", "value": 40},
46 {"name": "IMG_FORMAT_11_11_10_UINT", "value": 41},
47 {"name": "IMG_FORMAT_11_11_10_SINT", "value": 42},
48 {"name": "IMG_FORMAT_11_11_10_FLOAT", "value": 43},
49 {"name": "IMG_FORMAT_10_10_10_2_UNORM", "value": 44},
50 {"name": "IMG_FORMAT_10_10_10_2_SNORM", "value": 45},
51 {"name": "IMG_FORMAT_10_10_10_2_USCALED", "value": 46},
52 {"name": "IMG_FORMAT_10_10_10_2_SSCALED", "value": 47},
53 {"name": "IMG_FORMAT_10_10_10_2_UINT", "value": 48},
54 {"name": "IMG_FORMAT_10_10_10_2_SINT", "value": 49},
55 {"name": "IMG_FORMAT_2_10_10_10_UNORM", "value": 50},
56 {"name": "IMG_FORMAT_2_10_10_10_SNORM", "value": 51},
57 {"name": "IMG_FORMAT_2_10_10_10_USCALED", "value": 52},
58 {"name": "IMG_FORMAT_2_10_10_10_SSCALED", "value": 53},
59 {"name": "IMG_FORMAT_2_10_10_10_UINT", "value": 54},
60 {"name": "IMG_FORMAT_2_10_10_10_SINT", "value": 55},
61 {"name": "IMG_FORMAT_8_8_8_8_UNORM", "value": 56},
62 {"name": "IMG_FORMAT_8_8_8_8_SNORM", "value": 57},
63 {"name": "IMG_FORMAT_8_8_8_8_USCALED", "value": 58},
64 {"name": "IMG_FORMAT_8_8_8_8_SSCALED", "value": 59},
65 {"name": "IMG_FORMAT_8_8_8_8_UINT", "value": 60},
66 {"name": "IMG_FORMAT_8_8_8_8_SINT", "value": 61},
67 {"name": "IMG_FORMAT_32_32_UINT", "value": 62},
68 {"name": "IMG_FORMAT_32_32_SINT", "value": 63},
69 {"name": "IMG_FORMAT_32_32_FLOAT", "value": 64},
70 {"name": "IMG_FORMAT_16_16_16_16_UNORM", "value": 65},
71 {"name": "IMG_FORMAT_16_16_16_16_SNORM", "value": 66},
72 {"name": "IMG_FORMAT_16_16_16_16_USCALED", "value": 67},
73 {"name": "IMG_FORMAT_16_16_16_16_SSCALED", "value": 68},
74 {"name": "IMG_FORMAT_16_16_16_16_UINT", "value": 69},
75 {"name": "IMG_FORMAT_16_16_16_16_SINT", "value": 70},
76 {"name": "IMG_FORMAT_16_16_16_16_FLOAT", "value": 71},
77 {"flags": ["buffers_only"], "name": "IMG_FORMAT_32_32_32_UINT", "value": 72},
78 {"flags": ["buffers_only"], "name": "IMG_FORMAT_32_32_32_SINT", "value": 73},
79 {"flags": ["buffers_only"], "name": "IMG_FORMAT_32_32_32_FLOAT", "value": 74},
80 {"name": "IMG_FORMAT_32_32_32_32_UINT", "value": 75},
81 {"name": "IMG_FORMAT_32_32_32_32_SINT", "value": 76},
82 {"name": "IMG_FORMAT_32_32_32_32_FLOAT", "value": 77},
83 {"name": "IMG_FORMAT_8_SRGB", "value": 128},
84 {"name": "IMG_FORMAT_8_8_SRGB", "value": 129},
85 {"name": "IMG_FORMAT_8_8_8_8_SRGB", "value": 130},
86 {"name": "IMG_FORMAT_6E4_FLOAT", "value": 131},
87 {"name": "IMG_FORMAT_5_9_9_9_FLOAT", "value": 132},
88 {"name": "IMG_FORMAT_5_6_5_UNORM", "value": 133},
89 {"name": "IMG_FORMAT_1_5_5_5_UNORM", "value": 134},
90 {"name": "IMG_FORMAT_5_5_5_1_UNORM", "value": 135},
91 {"name": "IMG_FORMAT_4_4_4_4_UNORM", "value": 136},
92 {"name": "IMG_FORMAT_4_4_UNORM", "value": 137},
93 {"name": "IMG_FORMAT_1_UNORM", "value": 138},
94 {"name": "IMG_FORMAT_1_REVERSED_UNORM", "value": 139},
95 {"name": "IMG_FORMAT_32_FLOAT_CLAMP", "value": 140},
96 {"name": "IMG_FORMAT_8_24_UNORM", "value": 141},
97 {"name": "IMG_FORMAT_8_24_UINT", "value": 142},
98 {"name": "IMG_FORMAT_24_8_UNORM", "value": 143},
99 {"name": "IMG_FORMAT_24_8_UINT", "value": 144},
100 {"name": "IMG_FORMAT_X24_8_32_UINT", "value": 145},
101 {"name": "IMG_FORMAT_X24_8_32_FLOAT", "value": 146},
102 {"name": "IMG_FORMAT_GB_GR_UNORM", "value": 147},
103 {"name": "IMG_FORMAT_GB_GR_SNORM", "value": 148},
104 {"name": "IMG_FORMAT_GB_GR_UINT", "value": 149},
105 {"name": "IMG_FORMAT_GB_GR_SRGB", "value": 150},
106 {"name": "IMG_FORMAT_BG_RG_UNORM", "value": 151},
107 {"name": "IMG_FORMAT_BG_RG_SNORM", "value": 152},
108 {"name": "IMG_FORMAT_BG_RG_UINT", "value": 153},
109 {"name": "IMG_FORMAT_BG_RG_SRGB", "value": 154},
110 {"name": "IMG_FORMAT_FMASK8_S2_F1", "value": 156},
111 {"name": "IMG_FORMAT_FMASK8_S4_F1", "value": 157},
112 {"name": "IMG_FORMAT_FMASK8_S8_F1", "value": 158},
113 {"name": "IMG_FORMAT_FMASK8_S2_F2", "value": 159},
114 {"name": "IMG_FORMAT_FMASK8_S4_F2", "value": 160},
115 {"name": "IMG_FORMAT_FMASK8_S4_F4", "value": 161},
116 {"name": "IMG_FORMAT_FMASK16_S16_F1", "value": 162},
117 {"name": "IMG_FORMAT_FMASK16_S8_F2", "value": 163},
118 {"name": "IMG_FORMAT_FMASK32_S16_F2", "value": 164},
119 {"name": "IMG_FORMAT_FMASK32_S8_F4", "value": 165},
120 {"name": "IMG_FORMAT_FMASK32_S8_F8", "value": 166},
121 {"name": "IMG_FORMAT_FMASK64_S16_F4", "value": 167},
122 {"name": "IMG_FORMAT_FMASK64_S16_F8", "value": 168},
123 {"name": "IMG_FORMAT_BC1_UNORM", "value": 169},
124 {"name": "IMG_FORMAT_BC1_SRGB", "value": 170},
125 {"name": "IMG_FORMAT_BC2_UNORM", "value": 171},
126 {"name": "IMG_FORMAT_BC2_SRGB", "value": 172},
127 {"name": "IMG_FORMAT_BC3_UNORM", "value": 173},
128 {"name": "IMG_FORMAT_BC3_SRGB", "value": 174},
129 {"name": "IMG_FORMAT_BC4_UNORM", "value": 175},
130 {"name": "IMG_FORMAT_BC4_SNORM", "value": 176},
131 {"name": "IMG_FORMAT_BC5_UNORM", "value": 177},
132 {"name": "IMG_FORMAT_BC5_SNORM", "value": 178},
133 {"name": "IMG_FORMAT_BC6_UFLOAT", "value": 179},
134 {"name": "IMG_FORMAT_BC6_SFLOAT", "value": 180},
135 {"name": "IMG_FORMAT_BC7_UNORM", "value": 181},
136 {"name": "IMG_FORMAT_BC7_SRGB", "value": 182},
137 {"name": "IMG_FORMAT_MM_8_UNORM", "value": 265},
138 {"name": "IMG_FORMAT_MM_8_UINT", "value": 266},
139 {"name": "IMG_FORMAT_MM_8_8_UNORM", "value": 267},
140 {"name": "IMG_FORMAT_MM_8_8_UINT", "value": 268},
141 {"name": "IMG_FORMAT_MM_8_8_8_8_UNORM", "value": 269},
142 {"name": "IMG_FORMAT_MM_8_8_8_8_UINT", "value": 270},
143 {"name": "IMG_FORMAT_MM_VYUY8_UNORM", "value": 271},
144 {"name": "IMG_FORMAT_MM_VYUY8_UINT", "value": 272},
145 {"name": "IMG_FORMAT_MM_10_11_11_UNORM", "value": 273},
146 {"name": "IMG_FORMAT_MM_10_11_11_UINT", "value": 274},
147 {"name": "IMG_FORMAT_MM_2_10_10_10_UNORM", "value": 275},
148 {"name": "IMG_FORMAT_MM_2_10_10_10_UINT", "value": 276},
149 {"name": "IMG_FORMAT_MM_16_16_16_16_UNORM", "value": 277},
150 {"name": "IMG_FORMAT_MM_16_16_16_16_UINT", "value": 278},
151 {"name": "IMG_FORMAT_MM_10_IN_16_UNORM", "value": 279},
152 {"name": "IMG_FORMAT_MM_10_IN_16_UINT", "value": 280},
153 {"name": "IMG_FORMAT_MM_10_IN_16_16_UNORM", "value": 281},
154 {"name": "IMG_FORMAT_MM_10_IN_16_16_UINT", "value": 282},
155 {"name": "IMG_FORMAT_MM_10_IN_16_16_16_16_UNORM ", "value": 283},
156 {"name": "IMG_FORMAT_MM_10_IN_16_16_16_16_UINT", "value": 284},
157 {"name": "IMG_FORMAT_7E3_FLOAT", "value": 285},
158 {"name": "IMG_FORMAT_YCBCR_UNORM", "value": 286},
159 {"name": "IMG_FORMAT_YCBCR_SNORM", "value": 287},
160 {"name": "IMG_FORMAT_YCBCR_USCALED", "value": 288},
161 {"name": "IMG_FORMAT_YCBCR_SSCALED", "value": 289},
162 {"name": "IMG_FORMAT_YCBCR_UINT", "value": 290},
163 {"name": "IMG_FORMAT_YCBCR_SINT", "value": 291},
164 {"name": "IMG_FORMAT_YCBCR_SRGB", "value": 292}
165 ]
166 },
167 "SQ_EXP_0__TGT": {
168 "entries": [
169 {"name": "SQ_EXP_MRT", "value": 0},
170 {"name": "SQ_EXP_MRTZ", "value": 8},
171 {"name": "SQ_EXP_NULL", "value": 9},
172 {"name": "SQ_EXP_POS", "value": 12},
173 {"name": "SQ_EXP_PRIM", "value": 20},
174 {"name": "SQ_EXP_PARAM", "value": 32}
175 ]
176 },
177 "SQ_IMG_RSRC_WORD4__BC_SWIZZLE": {
178 "entries": [
179 {"name": "BC_SWIZZLE_XYZW", "value": 0},
180 {"name": "BC_SWIZZLE_XWYZ", "value": 1},
181 {"name": "BC_SWIZZLE_WZYX", "value": 2},
182 {"name": "BC_SWIZZLE_WXYZ", "value": 3},
183 {"name": "BC_SWIZZLE_ZYXW", "value": 4},
184 {"name": "BC_SWIZZLE_YXWZ", "value": 5}
185 ]
186 }
187 },
188 "register_mappings": [
189 {
190 "chips": ["gfx10"],
191 "map": {"at": 36608, "to": "mm"},
192 "name": "SQ_BUF_RSRC_WORD0"
193 },
194 {
195 "chips": ["gfx10"],
196 "map": {"at": 36612, "to": "mm"},
197 "name": "SQ_BUF_RSRC_WORD1",
198 "type_ref": "SQ_BUF_RSRC_WORD1"
199 },
200 {
201 "chips": ["gfx10"],
202 "map": {"at": 36616, "to": "mm"},
203 "name": "SQ_BUF_RSRC_WORD2"
204 },
205 {
206 "chips": ["gfx10"],
207 "map": {"at": 36620, "to": "mm"},
208 "name": "SQ_BUF_RSRC_WORD3",
209 "type_ref": "SQ_BUF_RSRC_WORD3"
210 },
211 {
212 "chips": ["gfx10"],
213 "map": {"at": 36348, "to": "mm"},
214 "name": "SQ_EXP_0",
215 "type_ref": "SQ_EXP_0"
216 },
217 {
218 "chips": ["gfx10"],
219 "map": {"at": 40960, "to": "mm"},
220 "name": "SQ_IMG_RSRC_WORD0"
221 },
222 {
223 "chips": ["gfx10"],
224 "map": {"at": 40964, "to": "mm"},
225 "name": "SQ_IMG_RSRC_WORD1",
226 "type_ref": "SQ_IMG_RSRC_WORD1"
227 },
228 {
229 "chips": ["gfx10"],
230 "map": {"at": 40968, "to": "mm"},
231 "name": "SQ_IMG_RSRC_WORD2",
232 "type_ref": "SQ_IMG_RSRC_WORD2"
233 },
234 {
235 "chips": ["gfx10"],
236 "map": {"at": 40972, "to": "mm"},
237 "name": "SQ_IMG_RSRC_WORD3",
238 "type_ref": "SQ_IMG_RSRC_WORD3"
239 },
240 {
241 "chips": ["gfx10"],
242 "map": {"at": 40976, "to": "mm"},
243 "name": "SQ_IMG_RSRC_WORD4",
244 "type_ref": "SQ_IMG_RSRC_WORD4"
245 },
246 {
247 "chips": ["gfx10"],
248 "map": {"at": 40980, "to": "mm"},
249 "name": "SQ_IMG_RSRC_WORD5",
250 "type_ref": "SQ_IMG_RSRC_WORD5"
251 },
252 {
253 "chips": ["gfx10"],
254 "map": {"at": 40984, "to": "mm"},
255 "name": "SQ_IMG_RSRC_WORD6",
256 "type_ref": "SQ_IMG_RSRC_WORD6"
257 },
258 {
259 "chips": ["gfx10"],
260 "map": {"at": 40988, "to": "mm"},
261 "name": "SQ_IMG_RSRC_WORD7"
262 },
263 {
264 "chips": ["gfx10"],
265 "map": {"at": 36656, "to": "mm"},
266 "name": "SQ_IMG_SAMP_WORD0",
267 "type_ref": "SQ_IMG_SAMP_WORD0"
268 },
269 {
270 "chips": ["gfx10"],
271 "map": {"at": 36660, "to": "mm"},
272 "name": "SQ_IMG_SAMP_WORD1",
273 "type_ref": "SQ_IMG_SAMP_WORD1"
274 },
275 {
276 "chips": ["gfx10"],
277 "map": {"at": 36664, "to": "mm"},
278 "name": "SQ_IMG_SAMP_WORD2",
279 "type_ref": "SQ_IMG_SAMP_WORD2"
280 },
281 {
282 "chips": ["gfx10"],
283 "map": {"at": 36668, "to": "mm"},
284 "name": "SQ_IMG_SAMP_WORD3",
285 "type_ref": "SQ_IMG_SAMP_WORD3"
286 }
287 ],
288 "register_types": {
289 "SQ_BUF_RSRC_WORD1": {
290 "fields": [
291 {"bits": [0, 15], "name": "BASE_ADDRESS_HI"},
292 {"bits": [16, 29], "name": "STRIDE"},
293 {"bits": [30, 30], "name": "CACHE_SWIZZLE"},
294 {"bits": [31, 31], "name": "SWIZZLE_ENABLE"}
295 ]
296 },
297 "SQ_BUF_RSRC_WORD3": {
298 "fields": [
299 {"bits": [0, 2], "name": "DST_SEL_X"},
300 {"bits": [3, 5], "name": "DST_SEL_Y"},
301 {"bits": [6, 8], "name": "DST_SEL_Z"},
302 {"bits": [9, 11], "name": "DST_SEL_W"},
303 {"bits": [12, 18], "enum_ref": "IMG_FORMAT", "name": "FORMAT"},
304 {"bits": [21, 22], "name": "INDEX_STRIDE"},
305 {"bits": [23, 23], "name": "ADD_TID_ENABLE"},
306 {"bits": [24, 24], "comment": "must be 1", "name": "RESOURCE_LEVEL"},
307 {"bits": [28, 29], "name": "OOB_SELECT"},
308 {"bits": [30, 31], "comment": "must be 0", "name": "TYPE"}
309 ]
310 },
311 "SQ_EXP_0": {
312 "fields": [
313 {"bits": [0, 3], "name": "EN"},
314 {"bits": [4, 9], "enum_ref": "SQ_EXP_0__TGT", "name": "TGT"},
315 {"bits": [10, 10], "name": "COMPR"},
316 {"bits": [11, 11], "name": "DONE"},
317 {"bits": [12, 12], "name": "VM"}
318 ]
319 },
320 "SQ_IMG_RSRC_WORD1": {
321 "fields": [
322 {"bits": [0, 7], "name": "BASE_ADDRESS_HI"},
323 {"bits": [8, 19], "name": "MIN_LOD"},
324 {"bits": [20, 28], "enum_ref": "IMG_FORMAT", "name": "FORMAT"},
325 {"bits": [30, 31], "name": "WIDTH_LO"}
326 ]
327 },
328 "SQ_IMG_RSRC_WORD2": {
329 "fields": [
330 {"bits": [0, 13], "name": "WIDTH_HI"},
331 {"bits": [14, 29], "name": "HEIGHT"},
332 {"bits": [31, 31], "comment": "must be 1", "name": "RESOURCE_LEVEL"}
333 ]
334 },
335 "SQ_IMG_RSRC_WORD3": {
336 "fields": [
337 {"bits": [0, 2], "name": "DST_SEL_X"},
338 {"bits": [3, 5], "name": "DST_SEL_Y"},
339 {"bits": [6, 8], "name": "DST_SEL_Z"},
340 {"bits": [9, 11], "name": "DST_SEL_W"},
341 {"bits": [12, 15], "name": "BASE_LEVEL"},
342 {"bits": [16, 19], "name": "LAST_LEVEL"},
343 {"bits": [20, 24], "name": "SW_MODE"},
344 {"bits": [25, 27], "enum_ref": "SQ_IMG_RSRC_WORD4__BC_SWIZZLE", "name": "BC_SWIZZLE"},
345 {"bits": [28, 31], "name": "TYPE"}
346 ]
347 },
348 "SQ_IMG_RSRC_WORD4": {
349 "fields": [
350 {"bits": [0, 15], "name": "DEPTH"},
351 {"bits": [16, 31], "name": "BASE_ARRAY"}
352 ]
353 },
354 "SQ_IMG_RSRC_WORD5": {
355 "fields": [
356 {"bits": [0, 3], "name": "ARRAY_PITCH"},
357 {"bits": [4, 7], "name": "MAX_MIP"},
358 {"bits": [8, 19], "name": "MIN_LOD_WARN"},
359 {"bits": [20, 22], "name": "PERF_MOD"},
360 {"bits": [23, 23], "name": "CORNER_SAMPLES"},
361 {"bits": [25, 25], "name": "LOD_HDW_CNT_EN"},
362 {"bits": [26, 26], "name": "PRT_DEFAULT"},
363 {"bits": [31, 31], "name": "BIG_PAGE"}
364 ]
365 },
366 "SQ_IMG_RSRC_WORD6": {
367 "fields": [
368 {"bits": [0, 7], "name": "COUNTER_BANK_ID"},
369 {"bits": [10, 10], "name": "ITERATE_256"},
370 {"bits": [15, 16], "name": "MAX_UNCOMPRESSED_BLOCK_SIZE"},
371 {"bits": [17, 18], "name": "MAX_COMPRESSED_BLOCK_SIZE"},
372 {"bits": [19, 19], "name": "META_PIPE_ALIGNED"},
373 {"bits": [20, 20], "name": "WRITE_COMPRESS_ENABLE"},
374 {"bits": [21, 21], "name": "COMPRESSION_EN"},
375 {"bits": [22, 22], "name": "ALPHA_IS_ON_MSB"},
376 {"bits": [23, 23], "name": "COLOR_TRANSFORM"},
377 {"bits": [24, 31], "name": "META_DATA_ADDRESS_LO"}
378 ]
379 },
380 "SQ_IMG_SAMP_WORD0": {
381 "fields": [
382 {"bits": [0, 2], "name": "CLAMP_X"},
383 {"bits": [3, 5], "name": "CLAMP_Y"},
384 {"bits": [6, 8], "name": "CLAMP_Z"},
385 {"bits": [9, 11], "name": "MAX_ANISO_RATIO"},
386 {"bits": [12, 14], "name": "DEPTH_COMPARE_FUNC"},
387 {"bits": [15, 15], "name": "FORCE_UNNORMALIZED"},
388 {"bits": [16, 18], "name": "ANISO_THRESHOLD"},
389 {"bits": [19, 19], "name": "MC_COORD_TRUNC"},
390 {"bits": [20, 20], "name": "FORCE_DEGAMMA"},
391 {"bits": [21, 26], "name": "ANISO_BIAS"},
392 {"bits": [27, 27], "name": "TRUNC_COORD"},
393 {"bits": [28, 28], "name": "DISABLE_CUBE_WRAP"},
394 {"bits": [29, 30], "name": "FILTER_MODE"},
395 {"bits": [31, 31], "name": "SKIP_DEGAMMA"}
396 ]
397 },
398 "SQ_IMG_SAMP_WORD1": {
399 "fields": [
400 {"bits": [0, 11], "name": "MIN_LOD"},
401 {"bits": [12, 23], "name": "MAX_LOD"},
402 {"bits": [24, 27], "name": "PERF_MIP"},
403 {"bits": [28, 31], "name": "PERF_Z"}
404 ]
405 },
406 "SQ_IMG_SAMP_WORD2": {
407 "fields": [
408 {"bits": [0, 13], "name": "LOD_BIAS"},
409 {"bits": [0, 11], "comment": "if DERIV_ADJUST_EN == 1", "name": "BORDER_COLOR_PTR"},
410 {"bits": [12, 13], "comment": "if DERIV_ADJUST_EN == 1", "name": "BORDER_COLOR_TYPE"},
411 {"bits": [14, 19], "name": "LOD_BIAS_SEC"},
412 {"bits": [20, 21], "name": "XY_MAG_FILTER"},
413 {"bits": [22, 23], "name": "XY_MIN_FILTER"},
414 {"bits": [24, 25], "name": "Z_FILTER"},
415 {"bits": [26, 27], "name": "MIP_FILTER"},
416 {"bits": [28, 28], "name": "MIP_POINT_PRECLAMP"},
417 {"bits": [29, 29], "name": "ANISO_OVERRIDE"},
418 {"bits": [30, 30], "name": "BLEND_ZERO_PRT"},
419 {"bits": [31, 31], "name": "DERIV_ADJUST_EN"}
420 ]
421 },
422 "SQ_IMG_SAMP_WORD3": {
423 "fields": [
424 {"bits": [0, 11], "comment": "if DERIV_ADJUST_EN == 0", "name": "BORDER_COLOR_PTR"},
425 {"bits": [30, 31], "comment": "if DERIV_ADJUST_EN == 0", "name": "BORDER_COLOR_TYPE"}
426 ]
427 }
428 }
429 }