aco: fix spills_entry heuristic for branch blocks in init_live_in_vars()
[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 "SQ_BUF_RSRC_WORD3__OOB_SELECT": {
188 "entries": [
189 {"name": "OOB_SELECT_STRUCTURED_WITH_OFFSET", "value": 0},
190 {"name": "OOB_SELECT_STRUCTURED", "value": 1},
191 {"name": "OOB_SELECT_DISABLED", "value": 2},
192 {"name": "OOB_SELECT_RAW", "value": 3}
193 ]
194 }
195 },
196 "register_mappings": [
197 {
198 "chips": ["gfx10"],
199 "map": {"at": 36608, "to": "mm"},
200 "name": "SQ_BUF_RSRC_WORD0"
201 },
202 {
203 "chips": ["gfx10"],
204 "map": {"at": 36612, "to": "mm"},
205 "name": "SQ_BUF_RSRC_WORD1",
206 "type_ref": "SQ_BUF_RSRC_WORD1"
207 },
208 {
209 "chips": ["gfx10"],
210 "map": {"at": 36616, "to": "mm"},
211 "name": "SQ_BUF_RSRC_WORD2"
212 },
213 {
214 "chips": ["gfx10"],
215 "map": {"at": 36620, "to": "mm"},
216 "name": "SQ_BUF_RSRC_WORD3",
217 "type_ref": "SQ_BUF_RSRC_WORD3"
218 },
219 {
220 "chips": ["gfx10"],
221 "map": {"at": 36348, "to": "mm"},
222 "name": "SQ_EXP_0",
223 "type_ref": "SQ_EXP_0"
224 },
225 {
226 "chips": ["gfx10"],
227 "map": {"at": 40960, "to": "mm"},
228 "name": "SQ_IMG_RSRC_WORD0"
229 },
230 {
231 "chips": ["gfx10"],
232 "map": {"at": 40964, "to": "mm"},
233 "name": "SQ_IMG_RSRC_WORD1",
234 "type_ref": "SQ_IMG_RSRC_WORD1"
235 },
236 {
237 "chips": ["gfx10"],
238 "map": {"at": 40968, "to": "mm"},
239 "name": "SQ_IMG_RSRC_WORD2",
240 "type_ref": "SQ_IMG_RSRC_WORD2"
241 },
242 {
243 "chips": ["gfx10"],
244 "map": {"at": 40972, "to": "mm"},
245 "name": "SQ_IMG_RSRC_WORD3",
246 "type_ref": "SQ_IMG_RSRC_WORD3"
247 },
248 {
249 "chips": ["gfx10"],
250 "map": {"at": 40976, "to": "mm"},
251 "name": "SQ_IMG_RSRC_WORD4",
252 "type_ref": "SQ_IMG_RSRC_WORD4"
253 },
254 {
255 "chips": ["gfx10"],
256 "map": {"at": 40980, "to": "mm"},
257 "name": "SQ_IMG_RSRC_WORD5",
258 "type_ref": "SQ_IMG_RSRC_WORD5"
259 },
260 {
261 "chips": ["gfx10"],
262 "map": {"at": 40984, "to": "mm"},
263 "name": "SQ_IMG_RSRC_WORD6",
264 "type_ref": "SQ_IMG_RSRC_WORD6"
265 },
266 {
267 "chips": ["gfx10"],
268 "map": {"at": 40988, "to": "mm"},
269 "name": "SQ_IMG_RSRC_WORD7"
270 },
271 {
272 "chips": ["gfx10"],
273 "map": {"at": 36656, "to": "mm"},
274 "name": "SQ_IMG_SAMP_WORD0",
275 "type_ref": "SQ_IMG_SAMP_WORD0"
276 },
277 {
278 "chips": ["gfx10"],
279 "map": {"at": 36660, "to": "mm"},
280 "name": "SQ_IMG_SAMP_WORD1",
281 "type_ref": "SQ_IMG_SAMP_WORD1"
282 },
283 {
284 "chips": ["gfx10"],
285 "map": {"at": 36664, "to": "mm"},
286 "name": "SQ_IMG_SAMP_WORD2",
287 "type_ref": "SQ_IMG_SAMP_WORD2"
288 },
289 {
290 "chips": ["gfx10"],
291 "map": {"at": 36668, "to": "mm"},
292 "name": "SQ_IMG_SAMP_WORD3",
293 "type_ref": "SQ_IMG_SAMP_WORD3"
294 }
295 ],
296 "register_types": {
297 "SQ_BUF_RSRC_WORD1": {
298 "fields": [
299 {"bits": [0, 15], "name": "BASE_ADDRESS_HI"},
300 {"bits": [16, 29], "name": "STRIDE"},
301 {"bits": [30, 30], "name": "CACHE_SWIZZLE"},
302 {"bits": [31, 31], "name": "SWIZZLE_ENABLE"}
303 ]
304 },
305 "SQ_BUF_RSRC_WORD3": {
306 "fields": [
307 {"bits": [0, 2], "name": "DST_SEL_X"},
308 {"bits": [3, 5], "name": "DST_SEL_Y"},
309 {"bits": [6, 8], "name": "DST_SEL_Z"},
310 {"bits": [9, 11], "name": "DST_SEL_W"},
311 {"bits": [12, 18], "enum_ref": "IMG_FORMAT", "name": "FORMAT"},
312 {"bits": [21, 22], "name": "INDEX_STRIDE"},
313 {"bits": [23, 23], "name": "ADD_TID_ENABLE"},
314 {"bits": [24, 24], "comment": "must be 1", "name": "RESOURCE_LEVEL"},
315 {"bits": [28, 29], "enum_ref": "SQ_BUF_RSRC_WORD3__OOB_SELECT", "name": "OOB_SELECT"},
316 {"bits": [30, 31], "comment": "must be 0", "name": "TYPE"}
317 ]
318 },
319 "SQ_EXP_0": {
320 "fields": [
321 {"bits": [0, 3], "name": "EN"},
322 {"bits": [4, 9], "enum_ref": "SQ_EXP_0__TGT", "name": "TGT"},
323 {"bits": [10, 10], "name": "COMPR"},
324 {"bits": [11, 11], "name": "DONE"},
325 {"bits": [12, 12], "name": "VM"}
326 ]
327 },
328 "SQ_IMG_RSRC_WORD1": {
329 "fields": [
330 {"bits": [0, 7], "name": "BASE_ADDRESS_HI"},
331 {"bits": [8, 19], "name": "MIN_LOD"},
332 {"bits": [20, 28], "enum_ref": "IMG_FORMAT", "name": "FORMAT"},
333 {"bits": [30, 31], "name": "WIDTH_LO"}
334 ]
335 },
336 "SQ_IMG_RSRC_WORD2": {
337 "fields": [
338 {"bits": [0, 13], "name": "WIDTH_HI"},
339 {"bits": [14, 29], "name": "HEIGHT"},
340 {"bits": [31, 31], "comment": "must be 1", "name": "RESOURCE_LEVEL"}
341 ]
342 },
343 "SQ_IMG_RSRC_WORD3": {
344 "fields": [
345 {"bits": [0, 2], "name": "DST_SEL_X"},
346 {"bits": [3, 5], "name": "DST_SEL_Y"},
347 {"bits": [6, 8], "name": "DST_SEL_Z"},
348 {"bits": [9, 11], "name": "DST_SEL_W"},
349 {"bits": [12, 15], "name": "BASE_LEVEL"},
350 {"bits": [16, 19], "name": "LAST_LEVEL"},
351 {"bits": [20, 24], "name": "SW_MODE"},
352 {"bits": [25, 27], "enum_ref": "SQ_IMG_RSRC_WORD4__BC_SWIZZLE", "name": "BC_SWIZZLE"},
353 {"bits": [28, 31], "name": "TYPE"}
354 ]
355 },
356 "SQ_IMG_RSRC_WORD4": {
357 "fields": [
358 {"bits": [0, 15], "name": "DEPTH"},
359 {"bits": [16, 31], "name": "BASE_ARRAY"}
360 ]
361 },
362 "SQ_IMG_RSRC_WORD5": {
363 "fields": [
364 {"bits": [0, 3], "name": "ARRAY_PITCH"},
365 {"bits": [4, 7], "name": "MAX_MIP"},
366 {"bits": [8, 19], "name": "MIN_LOD_WARN"},
367 {"bits": [20, 22], "name": "PERF_MOD"},
368 {"bits": [23, 23], "name": "CORNER_SAMPLES"},
369 {"bits": [25, 25], "name": "LOD_HDW_CNT_EN"},
370 {"bits": [26, 26], "name": "PRT_DEFAULT"},
371 {"bits": [31, 31], "name": "BIG_PAGE"}
372 ]
373 },
374 "SQ_IMG_RSRC_WORD6": {
375 "fields": [
376 {"bits": [0, 7], "name": "COUNTER_BANK_ID"},
377 {"bits": [10, 10], "name": "ITERATE_256"},
378 {"bits": [15, 16], "name": "MAX_UNCOMPRESSED_BLOCK_SIZE"},
379 {"bits": [17, 18], "name": "MAX_COMPRESSED_BLOCK_SIZE"},
380 {"bits": [19, 19], "name": "META_PIPE_ALIGNED"},
381 {"bits": [20, 20], "name": "WRITE_COMPRESS_ENABLE"},
382 {"bits": [21, 21], "name": "COMPRESSION_EN"},
383 {"bits": [22, 22], "name": "ALPHA_IS_ON_MSB"},
384 {"bits": [23, 23], "name": "COLOR_TRANSFORM"},
385 {"bits": [24, 31], "name": "META_DATA_ADDRESS_LO"}
386 ]
387 },
388 "SQ_IMG_SAMP_WORD0": {
389 "fields": [
390 {"bits": [0, 2], "name": "CLAMP_X"},
391 {"bits": [3, 5], "name": "CLAMP_Y"},
392 {"bits": [6, 8], "name": "CLAMP_Z"},
393 {"bits": [9, 11], "name": "MAX_ANISO_RATIO"},
394 {"bits": [12, 14], "name": "DEPTH_COMPARE_FUNC"},
395 {"bits": [15, 15], "name": "FORCE_UNNORMALIZED"},
396 {"bits": [16, 18], "name": "ANISO_THRESHOLD"},
397 {"bits": [19, 19], "name": "MC_COORD_TRUNC"},
398 {"bits": [20, 20], "name": "FORCE_DEGAMMA"},
399 {"bits": [21, 26], "name": "ANISO_BIAS"},
400 {"bits": [27, 27], "name": "TRUNC_COORD"},
401 {"bits": [28, 28], "name": "DISABLE_CUBE_WRAP"},
402 {"bits": [29, 30], "name": "FILTER_MODE"},
403 {"bits": [31, 31], "name": "SKIP_DEGAMMA"}
404 ]
405 },
406 "SQ_IMG_SAMP_WORD1": {
407 "fields": [
408 {"bits": [0, 11], "name": "MIN_LOD"},
409 {"bits": [12, 23], "name": "MAX_LOD"},
410 {"bits": [24, 27], "name": "PERF_MIP"},
411 {"bits": [28, 31], "name": "PERF_Z"}
412 ]
413 },
414 "SQ_IMG_SAMP_WORD2": {
415 "fields": [
416 {"bits": [0, 13], "name": "LOD_BIAS"},
417 {"bits": [0, 11], "comment": "if DERIV_ADJUST_EN == 1", "name": "BORDER_COLOR_PTR"},
418 {"bits": [12, 13], "comment": "if DERIV_ADJUST_EN == 1", "name": "BORDER_COLOR_TYPE"},
419 {"bits": [14, 19], "name": "LOD_BIAS_SEC"},
420 {"bits": [20, 21], "name": "XY_MAG_FILTER"},
421 {"bits": [22, 23], "name": "XY_MIN_FILTER"},
422 {"bits": [24, 25], "name": "Z_FILTER"},
423 {"bits": [26, 27], "name": "MIP_FILTER"},
424 {"bits": [28, 28], "name": "MIP_POINT_PRECLAMP"},
425 {"bits": [29, 29], "name": "ANISO_OVERRIDE"},
426 {"bits": [30, 30], "name": "BLEND_ZERO_PRT"},
427 {"bits": [31, 31], "name": "DERIV_ADJUST_EN"}
428 ]
429 },
430 "SQ_IMG_SAMP_WORD3": {
431 "fields": [
432 {"bits": [0, 11], "comment": "if DERIV_ADJUST_EN == 0", "name": "BORDER_COLOR_PTR"},
433 {"bits": [30, 31], "comment": "if DERIV_ADJUST_EN == 0", "name": "BORDER_COLOR_TYPE"}
434 ]
435 }
436 }
437 }