Lines Matching defs:x

77 #define		STRMOUT_OFFSET_SOURCE(x)	(((x) & 0x3) << 1)  argument
82 #define STRMOUT_SELECT_BUFFER(x) (((x) & 0x3) << 8) argument
112 #define SURFACE_BASE_UPDATE_COLOR(x) (2 << (x)) argument
113 #define SURFACE_BASE_UPDATE_STRMOUT(x) (0x200 << (x)) argument
121 #define EVENT_TYPE(x) ((x) << 0) argument
122 #define EVENT_INDEX(x) ((x) << 8) argument
135 #define PRED_OP(x) ((x) << 16) argument
145 #define PKT_TYPE_S(x) (((x) & 0x3) << 30) argument
146 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
148 #define PKT_COUNT_S(x) (((x) & 0x3FFF) << 16) argument
149 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
151 #define PKT0_BASE_INDEX_S(x) (((x) & 0xFFFF) << 0) argument
152 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
154 #define PKT3_IT_OPCODE_S(x) (((x) & 0xFF) << 8) argument
155 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
157 #define PKT3_PRED_S(x) (((x) >> 0) & 0x1) argument
162 #define S_008490_OFFSET_UPDATE_DONE(x) (((x) & 0x1) << 0) argument
172 #define S_008C00_VC_ENABLE(x) (((x) & 0x1) << 0) argument
173 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
174 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
175 #define S_008C00_EXPORT_SRC_C(x) (((x) & 0x1) << 1) argument
176 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
177 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
178 #define S_008C00_DX9_CONSTS(x) (((x) & 0x1) << 2) argument
179 #define G_008C00_DX9_CONSTS(x) (((x) >> 2) & 0x1) argument
180 #define C_008C00_DX9_CONSTS(x) 0xFFFFFFFB argument
181 #define S_008C00_ALU_INST_PREFER_VECTOR(x) (((x) & 0x1) << 3) argument
182 #define G_008C00_ALU_INST_PREFER_VECTOR(x) (((x) >> 3) & 0x1) argument
183 #define C_008C00_ALU_INST_PREFER_VECTOR(x) 0xFFFFFFF7 argument
184 #define S_008C00_DX10_CLAMP(x) (((x) & 0x1) << 4) argument
185 #define G_008C00_DX10_CLAMP(x) (((x) >> 4) & 0x1) argument
186 #define C_008C00_DX10_CLAMP(x) 0xFFFFFFEF argument
187 #define S_008C00_CLAUSE_SEQ_PRIO(x) (((x) & 0x3) << 8) argument
188 #define G_008C00_CLAUSE_SEQ_PRIO(x) (((x) >> 8) & 0x3) argument
189 #define C_008C00_CLAUSE_SEQ_PRIO(x) 0xFFFFFCFF argument
190 #define S_008C00_PS_PRIO(x) (((x) & 0x3) << 24) argument
191 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
192 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
193 #define S_008C00_VS_PRIO(x) (((x) & 0x3) << 26) argument
194 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
195 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
196 #define S_008C00_GS_PRIO(x) (((x) & 0x3) << 28) argument
197 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
198 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
199 #define S_008C00_ES_PRIO(x) (((x) & 0x3) << 30) argument
200 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
201 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
203 #define S_008C04_NUM_PS_GPRS(x) (((x) & 0xFF) << 0) argument
204 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
205 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
206 #define S_008C04_NUM_VS_GPRS(x) (((x) & 0xFF) << 16) argument
207 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
208 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
209 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) & 0xF) << 28) argument
210 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
211 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
213 #define S_008C0C_NUM_PS_THREADS(x) (((x) & 0xFF) << 0) argument
214 #define G_008C0C_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
215 #define C_008C0C_NUM_PS_THREADS(x) 0xFFFFFF00 argument
216 #define S_008C0C_NUM_VS_THREADS(x) (((x) & 0xFF) << 8) argument
217 #define G_008C0C_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
218 #define C_008C0C_NUM_VS_THREADS(x) 0xFFFF00FF argument
219 #define S_008C0C_NUM_GS_THREADS(x) (((x) & 0xFF) << 16) argument
220 #define G_008C0C_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
221 #define C_008C0C_NUM_GS_THREADS(x) 0xFF00FFFF argument
222 #define S_008C0C_NUM_ES_THREADS(x) (((x) & 0xFF) << 24) argument
223 #define G_008C0C_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
224 #define C_008C0C_NUM_ES_THREADS(x) 0x00FFFFFF argument
226 #define S_008C10_NUM_PS_STACK_ENTRIES(x) (((x) & 0xFFF) << 0) argument
227 #define G_008C10_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
228 #define C_008C10_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
229 #define S_008C10_NUM_VS_STACK_ENTRIES(x) (((x) & 0xFFF) << 16) argument
230 #define G_008C10_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
231 #define C_008C10_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
233 #define S_008C14_NUM_GS_STACK_ENTRIES(x) (((x) & 0xFFF) << 0) argument
234 #define G_008C14_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
235 #define C_008C14_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
236 #define S_008C14_NUM_ES_STACK_ENTRIES(x) (((x) & 0xFFF) << 16) argument
237 #define G_008C14_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
238 #define C_008C14_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
240 #define S_0280A0_ENDIAN(x) (((x) & 0x3) << 0) argument
241 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
243 #define S_0280A0_FORMAT(x) (((x) & 0x3F) << 2) argument
244 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
281 #define S_0280A0_ARRAY_MODE(x) (((x) & 0xF) << 8) argument
282 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
288 #define S_0280A0_NUMBER_TYPE(x) (((x) & 0x7) << 12) argument
289 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
299 #define S_0280A0_READ_SIZE(x) (((x) & 0x1) << 15) argument
300 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
302 #define S_0280A0_COMP_SWAP(x) (((x) & 0x3) << 16) argument
303 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
309 #define S_0280A0_TILE_MODE(x) (((x) & 0x3) << 18) argument
313 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
315 #define S_0280A0_BLEND_CLAMP(x) (((x) & 0x1) << 20) argument
316 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
318 #define S_0280A0_CLEAR_COLOR(x) (((x) & 0x1) << 21) argument
319 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
321 #define S_0280A0_BLEND_BYPASS(x) (((x) & 0x1) << 22) argument
322 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
324 #define S_0280A0_BLEND_FLOAT32(x) (((x) & 0x1) << 23) argument
325 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
327 #define S_0280A0_SIMPLE_FLOAT(x) (((x) & 0x1) << 24) argument
328 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
330 #define S_0280A0_ROUND_MODE(x) (((x) & 0x1) << 25) argument
331 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
333 #define S_0280A0_TILE_COMPACT(x) (((x) & 0x1) << 26) argument
334 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
336 #define S_0280A0_SOURCE_FORMAT(x) (((x) & 0x1) << 27) argument
337 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
342 #define S_028060_PITCH_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
343 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
345 #define S_028060_SLICE_TILE_MAX(x) (((x) & 0xFFFFF) << 10) argument
346 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
349 #define S_028410_ALPHA_FUNC(x) (((x) & 0x7) << 0) argument
350 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
352 #define S_028410_ALPHA_TEST_ENABLE(x) (((x) & 0x1) << 3) argument
353 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
355 #define S_028410_ALPHA_TEST_BYPASS(x) (((x) & 0x1) << 8) argument
356 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
359 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0) argument
360 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
362 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1) argument
363 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
365 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2) argument
366 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
368 #define S_028800_ZFUNC(x) (((x) & 0x7) << 4) argument
369 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
371 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7) argument
372 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
374 #define S_028800_STENCILFUNC(x) (((x) & 0x7) << 8) argument
375 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
385 #define S_028800_STENCILFAIL(x) (((x) & 0x7) << 11) argument
386 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
396 #define S_028800_STENCILZPASS(x) (((x) & 0x7) << 14) argument
397 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
399 #define S_028800_STENCILZFAIL(x) (((x) & 0x7) << 17) argument
400 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
402 #define S_028800_STENCILFUNC_BF(x) (((x) & 0x7) << 20) argument
403 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
405 #define S_028800_STENCILFAIL_BF(x) (((x) & 0x7) << 23) argument
406 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
408 #define S_028800_STENCILZPASS_BF(x) (((x) & 0x7) << 26) argument
409 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
411 #define S_028800_STENCILZFAIL_BF(x) (((x) & 0x7) << 29) argument
412 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
415 #define S_028808_FOG_ENABLE(x) (((x) & 0x1) << 0) argument
416 #define G_028808_FOG_ENABLE(x) (((x) >> 0) & 0x1) argument
418 #define S_028808_MULTIWRITE_ENABLE(x) (((x) & 0x1) << 1) argument
419 #define G_028808_MULTIWRITE_ENABLE(x) (((x) >> 1) & 0x1) argument
421 #define S_028808_DITHER_ENABLE(x) (((x) & 0x1) << 2) argument
422 #define G_028808_DITHER_ENABLE(x) (((x) >> 2) & 0x1) argument
424 #define S_028808_DEGAMMA_ENABLE(x) (((x) & 0x1) << 3) argument
425 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
427 #define S_028808_SPECIAL_OP(x) (((x) & 0x7) << 4) argument
430 #define G_028808_SPECIAL_OP(x) (((x) >> 4) & 0x7) argument
440 #define S_028808_PER_MRT_BLEND(x) (((x) & 0x1) << 7) argument
441 #define G_028808_PER_MRT_BLEND(x) (((x) >> 7) & 0x1) argument
443 #define S_028808_TARGET_BLEND_ENABLE(x) (((x) & 0xFF) << 8) argument
444 #define G_028808_TARGET_BLEND_ENABLE(x) (((x) >> 8) & 0xFF) argument
446 #define S_028808_ROP3(x) (((x) & 0xFF) << 16) argument
447 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
450 #define S_028810_UCP_ENA_0(x) (((x) & 0x1) << 0) argument
451 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
453 #define S_028810_UCP_ENA_1(x) (((x) & 0x1) << 1) argument
454 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
456 #define S_028810_UCP_ENA_2(x) (((x) & 0x1) << 2) argument
457 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
459 #define S_028810_UCP_ENA_3(x) (((x) & 0x1) << 3) argument
460 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
462 #define S_028810_UCP_ENA_4(x) (((x) & 0x1) << 4) argument
463 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
465 #define S_028810_UCP_ENA_5(x) (((x) & 0x1) << 5) argument
466 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
468 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((x) & 0x1) << 13) argument
469 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
471 #define S_028810_PS_UCP_MODE(x) (((x) & 0x3) << 14) argument
472 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
474 #define S_028810_CLIP_DISABLE(x) (((x) & 0x1) << 16) argument
475 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
477 #define S_028810_UCP_CULL_ONLY_ENA(x) (((x) & 0x1) << 17) argument
478 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
480 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) & 0x1) << 18) argument
481 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
483 #define S_028810_DX_CLIP_SPACE_DEF(x) (((x) & 0x1) << 19) argument
484 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
486 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((x) & 0x1) << 20) argument
487 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
489 #define S_028810_VTX_KILL_OR(x) (((x) & 0x1) << 21) argument
490 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
492 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) & 0x1) << 24) argument
493 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
495 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) & 0x1) << 25) argument
496 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
498 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((x) & 0x1) << 26) argument
499 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
501 #define S_028810_ZCLIP_FAR_DISABLE(x) (((x) & 0x1) << 27) argument
502 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
505 #define S_028010_FORMAT(x) (((x) & 0x7) << 0) argument
506 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
516 #define S_028010_READ_SIZE(x) (((x) & 0x1) << 3) argument
517 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
519 #define S_028010_ARRAY_MODE(x) (((x) & 0xF) << 15) argument
520 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
522 #define S_028010_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 25) argument
523 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
525 #define S_028010_TILE_COMPACT(x) (((x) & 0x1) << 26) argument
526 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
528 #define S_028010_ZRANGE_PRECISION(x) (((x) & 0x1) << 31) argument
529 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
532 #define S_028414_BLEND_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
533 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
536 #define S_028418_BLEND_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
537 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
540 #define S_02841C_BLEND_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
541 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
544 #define S_028420_BLEND_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
545 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
548 #define S_028430_STENCILREF(x) (((x) & 0xFF) << 0) argument
549 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
551 #define S_028430_STENCILMASK(x) (((x) & 0xFF) << 8) argument
552 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
554 #define S_028430_STENCILWRITEMASK(x) (((x) & 0xFF) << 16) argument
555 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
558 #define S_028434_STENCILREF_BF(x) (((x) & 0xFF) << 0) argument
559 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
561 #define S_028434_STENCILMASK_BF(x) (((x) & 0xFF) << 8) argument
562 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
564 #define S_028434_STENCILWRITEMASK_BF(x) (((x) & 0xFF) << 16) argument
565 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
576 #define S_028804_COLOR_SRCBLEND(x) (((x) & 0x1F) << 0) argument
577 #define G_028804_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
600 #define S_028804_COLOR_COMB_FCN(x) (((x) & 0x7) << 5) argument
601 #define G_028804_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
608 #define S_028804_COLOR_DESTBLEND(x) (((x) & 0x1F) << 8) argument
609 #define G_028804_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
611 #define S_028804_OPACITY_WEIGHT(x) (((x) & 0x1) << 13) argument
612 #define G_028804_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
614 #define S_028804_ALPHA_SRCBLEND(x) (((x) & 0x1F) << 16) argument
615 #define G_028804_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
617 #define S_028804_ALPHA_COMB_FCN(x) (((x) & 0x7) << 21) argument
618 #define G_028804_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
620 #define S_028804_ALPHA_DESTBLEND(x) (((x) & 0x1F) << 24) argument
621 #define G_028804_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
623 #define S_028804_SEPARATE_ALPHA_BLEND(x) (((x) & 0x1) << 29) argument
624 #define G_028804_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
627 #define S_028814_CULL_FRONT(x) (((x) & 0x1) << 0) argument
628 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
630 #define S_028814_CULL_BACK(x) (((x) & 0x1) << 1) argument
631 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
633 #define S_028814_FACE(x) (((x) & 0x1) << 2) argument
634 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
636 #define S_028814_POLY_MODE(x) (((x) & 0x3) << 3) argument
637 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
639 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((x) & 0x7) << 5) argument
640 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
642 #define S_028814_POLYMODE_BACK_PTYPE(x) (((x) & 0x7) << 8) argument
643 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
645 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) & 0x1) << 11) argument
646 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
648 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) & 0x1) << 12) argument
649 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
651 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) & 0x1) << 13) argument
652 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
654 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) & 0x1) << 16) argument
655 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
657 #define S_028814_PROVOKING_VTX_LAST(x) (((x) & 0x1) << 19) argument
658 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
660 #define S_028814_PERSP_CORR_DIS(x) (((x) & 0x1) << 20) argument
661 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
663 #define S_028814_MULTI_PRIM_IB_ENA(x) (((x) & 0x1) << 21) argument
664 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
667 #define S_028000_PITCH_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
668 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
670 #define S_028000_SLICE_TILE_MAX(x) (((x) & 0xFFFFF) << 10) argument
671 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
674 #define S_028004_SLICE_START(x) (((x) & 0x7FF) << 0) argument
675 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
677 #define S_028004_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
678 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
681 #define S_028D24_HTILE_WIDTH(x) (((x) & 0x1) << 0) argument
682 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
684 #define S_028D24_HTILE_HEIGHT(x) (((x) & 0x1) << 1) argument
685 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
687 #define S_028D24_LINEAR(x) (((x) & 0x1) << 2) argument
688 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
690 #define S_028D24_FULL_CACHE(x) (((x) & 0x1) << 3) argument
691 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
693 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 4) argument
694 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
696 #define S_028D24_PRELOAD(x) (((x) & 0x1) << 5) argument
697 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
699 #define S_028D24_PREFETCH_WIDTH(x) (((x) & 0x3F) << 6) argument
700 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
702 #define S_028D24_PREFETCH_HEIGHT(x) (((x) & 0x3F) << 12) argument
703 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
706 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
707 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
710 #define S_028D0C_DEPTH_CLEAR_ENABLE(x) (((x) & 0x1) << 0) argument
711 #define S_028D0C_STENCIL_CLEAR_ENABLE(x) (((x) & 0x1) << 1) argument
712 #define S_028D0C_DEPTH_COPY_ENABLE(x) (((x) & 0x1) << 2) argument
713 #define S_028D0C_STENCIL_COPY_ENABLE(x) (((x) & 0x1) << 3) argument
714 #define S_028D0C_RESUMMARIZE_ENABLE(x) (((x) & 0x1) << 4) argument
715 #define S_028D0C_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5) argument
716 #define S_028D0C_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6) argument
717 #define S_028D0C_COPY_CENTROID(x) (((x) & 0x1) << 7) argument
718 #define S_028D0C_COPY_SAMPLE(x) (((x) & 0x1) << 8) argument
719 #define S_028D0C_R700_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 15) argument
724 #define S_028D10_FORCE_HIZ_ENABLE(x) (((x) & 0x3) << 0) argument
725 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
727 #define S_028D10_FORCE_HIS_ENABLE0(x) (((x) & 0x3) << 2) argument
728 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
730 #define S_028D10_FORCE_HIS_ENABLE1(x) (((x) & 0x3) << 4) argument
731 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
733 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6) argument
734 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
736 #define S_028D10_FAST_Z_DISABLE(x) (((x) & 0x1) << 7) argument
737 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
739 #define S_028D10_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8) argument
740 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
742 #define S_028D10_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9) argument
743 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
745 #define S_028D10_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10) argument
746 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
748 #define S_028D10_FORCE_Z_READ(x) (((x) & 0x1) << 11) argument
749 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
751 #define S_028D10_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12) argument
752 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
754 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((x) & 0x3) << 13) argument
755 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
757 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15) argument
758 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
760 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16) argument
761 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
763 #define S_028D10_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17) argument
764 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
767 #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0) argument
768 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
770 #define S_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) & 0x1) << 1) argument
771 #define G_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
773 #define S_02880C_Z_ORDER(x) (((x) & 0x3) << 4) argument
774 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
780 #define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6) argument
781 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
783 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((x) & 0x1) << 9) argument
784 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
787 #define S_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) & 0xFF) << 0) argument
788 #define G_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
790 #define S_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) & 0x1) << 8) argument
791 #define G_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
794 #define S_028E00_SCALE(x) (((x) & 0xFFFFFFFF) << 0) argument
795 #define G_028E00_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
798 #define S_028E04_OFFSET(x) (((x) & 0xFFFFFFFF) << 0) argument
799 #define G_028E04_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
802 #define S_028E08_SCALE(x) (((x) & 0xFFFFFFFF) << 0) argument
803 #define G_028E08_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
806 #define S_028E0C_OFFSET(x) (((x) & 0xFFFFFFFF) << 0) argument
807 #define G_028E0C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
810 #define S_028A00_HEIGHT(x) (((x) & 0xFFFF) << 0) argument
811 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
813 #define S_028A00_WIDTH(x) (((x) & 0xFFFF) << 16) argument
814 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
817 #define S_028A0C_LINE_PATTERN(x) (((x) & 0xFFFF) << 0) argument
818 #define S_028A0C_REPEAT_COUNT(x) (((x) & 0xFF) << 16) argument
819 #define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28) argument
820 #define S_028A0C_AUTO_RESET_CNTL(x) (((x) & 0x3) << 29) argument
822 #define S_028A40_MODE(x) (((x) & 0x3) << 0) argument
823 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
825 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 2) argument
826 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
828 #define S_028A40_CUT_MODE(x) (((x) & 0x3) << 3) argument
829 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
832 #define S_028A6C_OUTPRIM_TYPE(x) (((x) & 0x3F) << 0) argument
837 #define S_008040_WAIT_CP_DMA_IDLE(x) (((x) & 0x1) << 8) argument
838 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
840 #define S_008040_WAIT_CMDFIFO(x) (((x) & 0x1) << 10) argument
841 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
843 #define S_008040_WAIT_2D_IDLE(x) (((x) & 0x1) << 14) argument
844 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
846 #define S_008040_WAIT_3D_IDLE(x) (((x) & 0x1) << 15) argument
847 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
849 #define S_008040_WAIT_2D_IDLECLEAN(x) (((x) & 0x1) << 16) argument
850 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
852 #define S_008040_WAIT_3D_IDLECLEAN(x) (((x) & 0x1) << 17) argument
853 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
855 #define S_008040_WAIT_EXTERN_SIG(x) (((x) & 0x1) << 19) argument
856 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
858 #define S_008040_CMDFIFO_ENTRIES(x) (((x) & 0x1F) << 20) argument
859 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
862 #define S_0286CC_NUM_INTERP(x) (((x) & 0x3F) << 0) argument
863 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
865 #define S_0286CC_POSITION_ENA(x) (((x) & 0x1) << 8) argument
866 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
868 #define S_0286CC_POSITION_CENTROID(x) (((x) & 0x1) << 9) argument
869 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
871 #define S_0286CC_POSITION_ADDR(x) (((x) & 0x1F) << 10) argument
872 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
874 #define S_0286CC_PARAM_GEN(x) (((x) & 0xF) << 15) argument
875 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
877 #define S_0286CC_PARAM_GEN_ADDR(x) (((x) & 0x7F) << 19) argument
878 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
880 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((x) & 0x3) << 26) argument
881 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
883 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((x) & 0x1) << 28) argument
884 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
886 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((x) & 0x1) << 29) argument
887 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
889 #define S_0286CC_POSITION_SAMPLE(x) (((x) & 0x1) << 30) argument
890 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
892 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) & 0x1) << 31) argument
893 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
896 #define S_0286D0_GEN_INDEX_PIX(x) (((x) & 0x1) << 0) argument
897 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
899 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) & 0x7F) << 1) argument
900 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
902 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 8) argument
903 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
905 #define S_0286D0_FRONT_FACE_CHAN(x) (((x) & 0x3) << 9) argument
906 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
908 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 11) argument
909 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
911 #define S_0286D0_FRONT_FACE_ADDR(x) (((x) & 0x1F) << 12) argument
912 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
914 #define S_0286D0_FOG_ADDR(x) (((x) & 0x7F) << 17) argument
915 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
917 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((x) & 0x1) << 24) argument
918 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
920 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) & 0x1F) << 25) argument
921 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
924 #define S_0286C4_VS_PER_COMPONENT(x) (((x) & 0x1) << 0) argument
925 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
927 #define S_0286C4_VS_EXPORT_COUNT(x) (((x) & 0x1F) << 1) argument
928 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
930 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 8) argument
931 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
933 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) & 0x1F) << 9) argument
934 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
937 #define S_028240_TL_X(x) (((x) & 0x3FFF) << 0) argument
938 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
940 #define S_028240_TL_Y(x) (((x) & 0x3FFF) << 16) argument
941 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
943 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
944 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
947 #define S_028244_BR_X(x) (((x) & 0x3FFF) << 0) argument
948 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
950 #define S_028244_BR_Y(x) (((x) & 0x3FFF) << 16) argument
951 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
954 #define S_028030_TL_X(x) (((x) & 0x7FFF) << 0) argument
955 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
957 #define S_028030_TL_Y(x) (((x) & 0x7FFF) << 16) argument
958 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
961 #define S_028034_BR_X(x) (((x) & 0x7FFF) << 0) argument
962 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
964 #define S_028034_BR_Y(x) (((x) & 0x7FFF) << 16) argument
965 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
968 #define S_028204_TL_X(x) (((x) & 0x3FFF) << 0) argument
969 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
971 #define S_028204_TL_Y(x) (((x) & 0x3FFF) << 16) argument
972 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
974 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
975 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
978 #define S_028208_BR_X(x) (((x) & 0x3FFF) << 0) argument
979 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
981 #define S_028208_BR_Y(x) (((x) & 0x3FFF) << 16) argument
982 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
985 #define S_0287F0_SOURCE_SELECT(x) (((x) & 0x3) << 0) argument
986 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
990 #define S_0287F0_MAJOR_MODE(x) (((x) & 0x3) << 2) argument
991 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
993 #define S_0287F0_SPRITE_EN(x) (((x) & 0x1) << 4) argument
994 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
996 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5) argument
997 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
999 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6) argument
1000 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
1003 #define S_038000_DIM(x) (((x) & 0x7) << 0) argument
1004 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
1014 #define S_038000_TILE_MODE(x) (((x) & 0xF) << 3) argument
1015 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
1021 #define S_038000_TILE_TYPE(x) (((x) & 0x1) << 7) argument
1022 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
1024 #define S_038000_PITCH(x) (((x) & 0x7FF) << 8) argument
1025 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
1027 #define S_038000_TEX_WIDTH(x) (((x) & 0x1FFF) << 19) argument
1028 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
1031 #define S_038004_TEX_HEIGHT(x) (((x) & 0x1FFF) << 0) argument
1032 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
1034 #define S_038004_TEX_DEPTH(x) (((x) & 0x1FFF) << 13) argument
1035 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
1037 #define S_038004_DATA_FORMAT(x) (((x) & 0x3F) << 26) argument
1038 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
1041 #define S_038008_BASE_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
1042 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1045 #define S_03800C_MIP_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
1046 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1049 #define S_038010_FORMAT_COMP_X(x) (((x) & 0x3) << 0) argument
1050 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1055 #define S_038010_FORMAT_COMP_Y(x) (((x) & 0x3) << 2) argument
1056 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1058 #define S_038010_FORMAT_COMP_Z(x) (((x) & 0x3) << 4) argument
1059 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1061 #define S_038010_FORMAT_COMP_W(x) (((x) & 0x3) << 6) argument
1062 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1064 #define S_038010_NUM_FORMAT_ALL(x) (((x) & 0x3) << 8) argument
1065 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1070 #define S_038010_SRF_MODE_ALL(x) (((x) & 0x1) << 10) argument
1071 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1075 #define S_038010_FORCE_DEGAMMA(x) (((x) & 0x1) << 11) argument
1076 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1078 #define S_038010_ENDIAN_SWAP(x) (((x) & 0x3) << 12) argument
1079 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1081 #define S_038010_REQUEST_SIZE(x) (((x) & 0x3) << 14) argument
1082 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
1084 #define S_038010_DST_SEL_X(x) (((x) & 0x7) << 16) argument
1085 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1093 #define S_038010_DST_SEL_Y(x) (((x) & 0x7) << 19) argument
1094 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1096 #define S_038010_DST_SEL_Z(x) (((x) & 0x7) << 22) argument
1097 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1099 #define S_038010_DST_SEL_W(x) (((x) & 0x7) << 25) argument
1100 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1102 #define S_038010_BASE_LEVEL(x) (((x) & 0xF) << 28) argument
1103 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1106 #define S_038014_LAST_LEVEL(x) (((x) & 0xF) << 0) argument
1107 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1109 #define S_038014_BASE_ARRAY(x) (((x) & 0x1FFF) << 4) argument
1110 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1112 #define S_038014_LAST_ARRAY(x) (((x) & 0x1FFF) << 17) argument
1113 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1116 #define S_038018_MPEG_CLAMP(x) (((x) & 0x3) << 0) argument
1117 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
1119 #define S_038018_MAX_ANISO(x) (((x) & 0x7) << 2) argument
1120 #define G_038018_MAX_ANISO(x) (((x) >> 2) & 0x7) argument
1122 #define S_038018_PERF_MODULATION(x) (((x) & 0x7) << 5) argument
1123 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
1125 #define S_038018_INTERLACED(x) (((x) & 0x1) << 8) argument
1126 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
1128 #define S_038018_TYPE(x) (((x) & 0x3) << 30) argument
1129 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
1136 #define S_038008_BASE_ADDRESS_HI(x) (((x) & 0xFF) << 0) argument
1137 #define G_038008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1139 #define S_038008_STRIDE(x) (((x) & 0x7FF) << 8) argument
1140 #define G_038008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1142 #define S_038008_CLAMP_X(x) (((x) & 0x1) << 19) argument
1143 #define G_038008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1145 #define S_038008_DATA_FORMAT(x) (((x) & 0x3F) << 20) argument
1146 #define G_038008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1149 #define S_038008_NUM_FORMAT_ALL(x) (((x) & 0x3) << 26) argument
1150 #define G_038008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1155 #define S_038008_FORMAT_COMP_ALL(x) (((x) & 0x1) << 28) argument
1156 #define G_038008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1158 #define S_038008_SRF_MODE_ALL(x) (((x) & 0x1) << 29) argument
1159 #define G_038008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1161 #define S_038008_ENDIAN_SWAP(x) (((x) & 0x3) << 30) argument
1162 #define G_038008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1165 #define S_03C000_CLAMP_X(x) (((x) & 0x7) << 0) argument
1166 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1176 #define S_03C000_CLAMP_Y(x) (((x) & 0x7) << 3) argument
1177 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1179 #define S_03C000_CLAMP_Z(x) (((x) & 0x7) << 6) argument
1180 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1182 #define S_03C000_XY_MAG_FILTER(x) (((x) & 0x7) << 9) argument
1183 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
1188 #define S_03C000_XY_MIN_FILTER(x) (((x) & 0x7) << 12) argument
1189 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
1191 #define S_03C000_Z_FILTER(x) (((x) & 0x3) << 15) argument
1192 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
1197 #define S_03C000_MIP_FILTER(x) (((x) & 0x3) << 17) argument
1198 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
1200 #define S_03C000_MAX_ANISO(x) (((x) & 0x7) << 19) argument
1201 #define G_03C000_MAX_ANISO(x) (((x) >> 19) & 0x7) argument
1203 #define S_03C000_BORDER_COLOR_TYPE(x) (((x) & 0x3) << 22) argument
1204 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
1210 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((x) & 0x1) << 24) argument
1211 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
1213 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((x) & 0x1) << 25) argument
1214 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
1216 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) & 0x7) << 26) argument
1217 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
1227 #define S_03C000_CHROMA_KEY(x) (((x) & 0x3) << 29) argument
1228 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
1233 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((x) & 0x1) << 31) argument
1234 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
1237 #define S_03C004_MIN_LOD(x) (((x) & 0x3FF) << 0) argument
1238 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
1240 #define S_03C004_MAX_LOD(x) (((x) & 0x3FF) << 10) argument
1241 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
1243 #define S_03C004_LOD_BIAS(x) (((x) & 0xFFF) << 20) argument
1244 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
1247 #define S_03C008_LOD_BIAS_SEC(x) (((x) & 0xFFF) << 0) argument
1248 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
1250 #define S_03C008_MC_COORD_TRUNCATE(x) (((x) & 0x1) << 12) argument
1251 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
1253 #define S_03C008_FORCE_DEGAMMA(x) (((x) & 0x1) << 13) argument
1254 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
1256 #define S_03C008_HIGH_PRECISION_FILTER(x) (((x) & 0x1) << 14) argument
1257 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
1259 #define S_03C008_PERF_MIP(x) (((x) & 0x7) << 15) argument
1260 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
1262 #define S_03C008_PERF_Z(x) (((x) & 0x3) << 18) argument
1263 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
1265 #define S_03C008_ANISO_BIAS(x) (((x) & 0x3f) << 22) argument
1266 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1268 #define S_03C008_FETCH_4(x) (((x) & 0x1) << 26) argument
1269 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
1271 #define S_03C008_SAMPLE_IS_PCF(x) (((x) & 0x1) << 27) argument
1272 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
1274 #define S_03C008_TYPE(x) (((x) & 0x1) << 31) argument
1275 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1278 #define S_008958_PRIM_TYPE(x) (((x) & 0x3F) << 0) argument
1279 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1311 #define S_02881C_CLIP_DIST_ENA_0(x) (((x) & 0x1) << 0) argument
1312 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1314 #define S_02881C_CLIP_DIST_ENA_1(x) (((x) & 0x1) << 1) argument
1315 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1317 #define S_02881C_CLIP_DIST_ENA_2(x) (((x) & 0x1) << 2) argument
1318 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1320 #define S_02881C_CLIP_DIST_ENA_3(x) (((x) & 0x1) << 3) argument
1321 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1323 #define S_02881C_CLIP_DIST_ENA_4(x) (((x) & 0x1) << 4) argument
1324 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1326 #define S_02881C_CLIP_DIST_ENA_5(x) (((x) & 0x1) << 5) argument
1327 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1329 #define S_02881C_CLIP_DIST_ENA_6(x) (((x) & 0x1) << 6) argument
1330 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1332 #define S_02881C_CLIP_DIST_ENA_7(x) (((x) & 0x1) << 7) argument
1333 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1335 #define S_02881C_CULL_DIST_ENA_0(x) (((x) & 0x1) << 8) argument
1336 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1338 #define S_02881C_CULL_DIST_ENA_1(x) (((x) & 0x1) << 9) argument
1339 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1341 #define S_02881C_CULL_DIST_ENA_2(x) (((x) & 0x1) << 10) argument
1342 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1344 #define S_02881C_CULL_DIST_ENA_3(x) (((x) & 0x1) << 11) argument
1345 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1347 #define S_02881C_CULL_DIST_ENA_4(x) (((x) & 0x1) << 12) argument
1348 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1350 #define S_02881C_CULL_DIST_ENA_5(x) (((x) & 0x1) << 13) argument
1351 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1353 #define S_02881C_CULL_DIST_ENA_6(x) (((x) & 0x1) << 14) argument
1354 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1356 #define S_02881C_CULL_DIST_ENA_7(x) (((x) & 0x1) << 15) argument
1357 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1359 #define S_02881C_USE_VTX_POINT_SIZE(x) (((x) & 0x1) << 16) argument
1360 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1362 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((x) & 0x1) << 17) argument
1363 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1365 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) & 0x1) << 18) argument
1366 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1368 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) & 0x1) << 19) argument
1369 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1371 #define S_02881C_USE_VTX_KILL_FLAG(x) (((x) & 0x1) << 20) argument
1372 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1374 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) & 0x1) << 21) argument
1375 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1377 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) & 0x1) << 22) argument
1378 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1380 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) & 0x1) << 23) argument
1381 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1384 #define S_028868_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1385 #define G_028868_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1387 #define S_028868_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1388 #define G_028868_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1390 #define S_028868_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1391 #define G_028868_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1393 #define S_028868_FETCH_CACHE_LINES(x) (((x) & 0x7) << 24) argument
1394 #define G_028868_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1396 #define S_028868_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1397 #define G_028868_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1400 #define S_028850_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1401 #define G_028850_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1403 #define S_028850_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1404 #define G_028850_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1406 #define S_028850_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1407 #define G_028850_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1409 #define S_028850_FETCH_CACHE_LINES(x) (((x) & 0x7) << 24) argument
1410 #define G_028850_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1412 #define S_028850_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1413 #define G_028850_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1415 #define S_028850_CLAMP_CONSTS(x) (((x) & 0x1) << 31) argument
1416 #define G_028850_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1419 #define S_028644_SEMANTIC(x) (((x) & 0xFF) << 0) argument
1420 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1422 #define S_028644_DEFAULT_VAL(x) (((x) & 0x3) << 8) argument
1423 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1425 #define S_028644_FLAT_SHADE(x) (((x) & 0x1) << 10) argument
1426 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1428 #define S_028644_SEL_CENTROID(x) (((x) & 0x1) << 11) argument
1429 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1431 #define S_028644_SEL_LINEAR(x) (((x) & 0x1) << 12) argument
1432 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1434 #define S_028644_CYL_WRAP(x) (((x) & 0xF) << 13) argument
1435 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1437 #define S_028644_PT_SPRITE_TEX(x) (((x) & 0x1) << 17) argument
1438 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1440 #define S_028644_SEL_SAMPLE(x) (((x) & 0x1) << 18) argument
1441 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1444 #define S_0286D4_FLAT_SHADE_ENA(x) (((x) & 0x1) << 0) argument
1445 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1447 #define S_0286D4_PNT_SPRITE_ENA(x) (((x) & 0x1) << 1) argument
1448 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1450 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((x) & 0x7) << 2) argument
1451 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1453 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) & 0x7) << 5) argument
1454 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1456 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) & 0x7) << 8) argument
1457 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1459 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((x) & 0x7) << 11) argument
1460 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1462 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((x) & 0x1) << 14) argument
1463 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1503 #define S_028C30_CLRCMP_FCN_SRC(x) (((x) & 0x7) << 0) argument
1504 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
1506 #define S_028C30_CLRCMP_FCN_DST(x) (((x) & 0x7) << 8) argument
1507 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
1509 #define S_028C30_CLRCMP_FCN_SEL(x) (((x) & 0x3) << 24) argument
1510 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
1513 #define S_028C20_S4_X(x) (((x) & 0xF) << 0) argument
1514 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
1516 #define S_028C20_S4_Y(x) (((x) & 0xF) << 4) argument
1517 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
1519 #define S_028C20_S5_X(x) (((x) & 0xF) << 8) argument
1520 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
1522 #define S_028C20_S5_Y(x) (((x) & 0xF) << 12) argument
1523 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
1525 #define S_028C20_S6_X(x) (((x) & 0xF) << 16) argument
1526 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
1528 #define S_028C20_S6_Y(x) (((x) & 0xF) << 20) argument
1529 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
1531 #define S_028C20_S7_X(x) (((x) & 0xF) << 24) argument
1532 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
1534 #define S_028C20_S7_Y(x) (((x) & 0xF) << 28) argument
1535 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
1538 #define S_0280A0_ENDIAN(x) (((x) & 0x3) << 0) argument
1539 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
1541 #define S_0280A0_FORMAT(x) (((x) & 0x3F) << 2) argument
1542 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
1578 #define S_0280A0_ARRAY_MODE(x) (((x) & 0xF) << 8) argument
1579 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
1585 #define S_0280A0_NUMBER_TYPE(x) (((x) & 0x7) << 12) argument
1586 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
1588 #define S_0280A0_READ_SIZE(x) (((x) & 0x1) << 15) argument
1589 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
1591 #define S_0280A0_COMP_SWAP(x) (((x) & 0x3) << 16) argument
1592 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
1594 #define S_0280A0_TILE_MODE(x) (((x) & 0x3) << 18) argument
1595 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
1597 #define S_0280A0_BLEND_CLAMP(x) (((x) & 0x1) << 20) argument
1598 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
1600 #define S_0280A0_CLEAR_COLOR(x) (((x) & 0x1) << 21) argument
1601 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
1603 #define S_0280A0_BLEND_BYPASS(x) (((x) & 0x1) << 22) argument
1604 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
1606 #define S_0280A0_BLEND_FLOAT32(x) (((x) & 0x1) << 23) argument
1607 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
1609 #define S_0280A0_SIMPLE_FLOAT(x) (((x) & 0x1) << 24) argument
1610 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
1612 #define S_0280A0_ROUND_MODE(x) (((x) & 0x1) << 25) argument
1613 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
1615 #define S_0280A0_TILE_COMPACT(x) (((x) & 0x1) << 26) argument
1616 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1618 #define S_0280A0_SOURCE_FORMAT(x) (((x) & 0x1) << 27) argument
1619 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
1622 #define S_028060_PITCH_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
1623 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1625 #define S_028060_SLICE_TILE_MAX(x) (((x) & 0xFFFFF) << 10) argument
1626 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1629 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0) argument
1630 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
1632 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1) argument
1633 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
1635 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2) argument
1636 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
1638 #define S_028800_ZFUNC(x) (((x) & 0x7) << 4) argument
1639 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
1641 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7) argument
1642 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
1644 #define S_028800_STENCILFUNC(x) (((x) & 0x7) << 8) argument
1645 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
1647 #define S_028800_STENCILFAIL(x) (((x) & 0x7) << 11) argument
1648 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
1650 #define S_028800_STENCILZPASS(x) (((x) & 0x7) << 14) argument
1651 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
1653 #define S_028800_STENCILZFAIL(x) (((x) & 0x7) << 17) argument
1654 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
1656 #define S_028800_STENCILFUNC_BF(x) (((x) & 0x7) << 20) argument
1657 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
1659 #define S_028800_STENCILFAIL_BF(x) (((x) & 0x7) << 23) argument
1660 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
1662 #define S_028800_STENCILZPASS_BF(x) (((x) & 0x7) << 26) argument
1663 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
1665 #define S_028800_STENCILZFAIL_BF(x) (((x) & 0x7) << 29) argument
1666 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
1669 #define S_028010_FORMAT(x) (((x) & 0x7) << 0) argument
1670 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
1680 #define S_028010_READ_SIZE(x) (((x) & 0x1) << 3) argument
1681 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
1683 #define S_028010_ARRAY_MODE(x) (((x) & 0xF) << 15) argument
1684 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
1686 #define S_028010_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 25) argument
1687 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
1689 #define S_028010_TILE_COMPACT(x) (((x) & 0x1) << 26) argument
1690 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1692 #define S_028010_ZRANGE_PRECISION(x) (((x) & 0x1) << 31) argument
1693 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
1696 #define S_028000_PITCH_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
1697 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1699 #define S_028000_SLICE_TILE_MAX(x) (((x) & 0xFFFFF) << 10) argument
1700 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1703 #define S_028004_SLICE_START(x) (((x) & 0x7FF) << 0) argument
1704 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1706 #define S_028004_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
1707 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1710 #define S_028D24_HTILE_WIDTH(x) (((x) & 0x1) << 0) argument
1711 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
1713 #define S_028D24_HTILE_HEIGHT(x) (((x) & 0x1) << 1) argument
1714 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
1716 #define S_028D24_LINEAR(x) (((x) & 0x1) << 2) argument
1717 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
1719 #define S_028D24_FULL_CACHE(x) (((x) & 0x1) << 3) argument
1720 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
1722 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 4) argument
1723 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
1725 #define S_028D24_PRELOAD(x) (((x) & 0x1) << 5) argument
1726 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
1728 #define S_028D24_PREFETCH_WIDTH(x) (((x) & 0x3F) << 6) argument
1729 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
1731 #define S_028D24_PREFETCH_HEIGHT(x) (((x) & 0x3F) << 12) argument
1732 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
1735 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
1736 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1739 #define S_028D10_FORCE_HIZ_ENABLE(x) (((x) & 0x3) << 0) argument
1740 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1742 #define S_028D10_FORCE_HIS_ENABLE0(x) (((x) & 0x3) << 2) argument
1743 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1745 #define S_028D10_FORCE_HIS_ENABLE1(x) (((x) & 0x3) << 4) argument
1746 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1748 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6) argument
1749 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1751 #define S_028D10_FAST_Z_DISABLE(x) (((x) & 0x1) << 7) argument
1752 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1754 #define S_028D10_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8) argument
1755 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1757 #define S_028D10_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9) argument
1758 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1760 #define S_028D10_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10) argument
1761 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1763 #define S_028D10_FORCE_Z_READ(x) (((x) & 0x1) << 11) argument
1764 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1766 #define S_028D10_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12) argument
1767 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1769 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((x) & 0x3) << 13) argument
1770 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1772 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15) argument
1773 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1775 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16) argument
1776 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1778 #define S_028D10_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17) argument
1779 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1782 #define S_028A40_MODE(x) (((x) & 0x3) << 0) argument
1783 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
1785 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 2) argument
1786 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
1788 #define S_028A40_CUT_MODE(x) (((x) & 0x3) << 3) argument
1789 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
1792 #define S_008DFC_ADDR(x) (((x) & 0xFFFFFFFF) << 0) argument
1793 #define G_008DFC_ADDR(x) (((x) >> 0) & 0xFFFFFFFF) argument
1796 #define S_008DFC_POP_COUNT(x) (((x) & 0x7) << 0) argument
1797 #define G_008DFC_POP_COUNT(x) (((x) >> 0) & 0x7) argument
1799 #define S_008DFC_CF_CONST(x) (((x) & 0x1F) << 3) argument
1800 #define G_008DFC_CF_CONST(x) (((x) >> 3) & 0x1F) argument
1802 #define S_008DFC_COND(x) (((x) & 0x3) << 8) argument
1803 #define G_008DFC_COND(x) (((x) >> 8) & 0x3) argument
1805 #define S_008DFC_COUNT(x) (((x) & 0x7) << 10) argument
1806 #define G_008DFC_COUNT(x) (((x) >> 10) & 0x7) argument
1808 #define S_008DFC_CALL_COUNT(x) (((x) & 0x3F) << 13) argument
1809 #define G_008DFC_CALL_COUNT(x) (((x) >> 13) & 0x3F) argument
1811 #define S_008DFC_END_OF_PROGRAM(x) (((x) & 0x1) << 21) argument
1812 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1814 #define S_008DFC_VALID_PIXEL_MODE(x) (((x) & 0x1) << 22) argument
1815 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
1817 #define S_008DFC_CF_INST(x) (((x) & 0x7F) << 23) argument
1818 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
1820 #define S_008DFC_WHOLE_QUAD_MODE(x) (((x) & 0x1) << 30) argument
1821 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1823 #define S_008DFC_BARRIER(x) (((x) & 0x1) << 31) argument
1824 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1827 #define S_008DFC_ALU_ADDR(x) (((x) & 0x3FFFFF) << 0) argument
1828 #define G_008DFC_ALU_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
1830 #define S_008DFC_KCACHE_BANK0(x) (((x) & 0xF) << 22) argument
1831 #define G_008DFC_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
1833 #define S_008DFC_KCACHE_BANK1(x) (((x) & 0xF) << 26) argument
1834 #define G_008DFC_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
1836 #define S_008DFC_KCACHE_MODE0(x) (((x) & 0x3) << 30) argument
1837 #define G_008DFC_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
1840 #define S_008DFC_KCACHE_MODE1(x) (((x) & 0x3) << 0) argument
1841 #define G_008DFC_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
1843 #define S_008DFC_KCACHE_ADDR0(x) (((x) & 0xFF) << 2) argument
1844 #define G_008DFC_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
1846 #define S_008DFC_KCACHE_ADDR1(x) (((x) & 0xFF) << 10) argument
1847 #define G_008DFC_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
1849 #define S_008DFC_ALU_COUNT(x) (((x) & 0x7F) << 18) argument
1850 #define G_008DFC_ALU_COUNT(x) (((x) >> 18) & 0x7F) argument
1852 #define S_008DFC_USES_WATERFALL(x) (((x) & 0x1) << 25) argument
1853 #define G_008DFC_USES_WATERFALL(x) (((x) >> 25) & 0x1) argument
1855 #define S_008DFC_CF_ALU_INST(x) (((x) & 0xF) << 26) argument
1856 #define G_008DFC_CF_ALU_INST(x) (((x) >> 26) & 0xF) argument
1865 #define S_008DFC_WHOLE_QUAD_MODE(x) (((x) & 0x1) << 30) argument
1866 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1868 #define S_008DFC_BARRIER(x) (((x) & 0x1) << 31) argument
1869 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1872 #define S_008DFC_ARRAY_BASE(x) (((x) & 0x1FFF) << 0) argument
1873 #define G_008DFC_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
1875 #define S_008DFC_TYPE(x) (((x) & 0x3) << 13) argument
1876 #define G_008DFC_TYPE(x) (((x) >> 13) & 0x3) argument
1878 #define S_008DFC_RW_GPR(x) (((x) & 0x7F) << 15) argument
1879 #define G_008DFC_RW_GPR(x) (((x) >> 15) & 0x7F) argument
1881 #define S_008DFC_RW_REL(x) (((x) & 0x1) << 22) argument
1882 #define G_008DFC_RW_REL(x) (((x) >> 22) & 0x1) argument
1884 #define S_008DFC_INDEX_GPR(x) (((x) & 0x7F) << 23) argument
1885 #define G_008DFC_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
1887 #define S_008DFC_ELEM_SIZE(x) (((x) & 0x3) << 30) argument
1888 #define G_008DFC_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
1891 #define S_008DFC_BURST_COUNT(x) (((x) & 0xF) << 17) argument
1892 #define G_008DFC_BURST_COUNT(x) (((x) >> 17) & 0xF) argument
1894 #define S_008DFC_END_OF_PROGRAM(x) (((x) & 0x1) << 21) argument
1895 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1897 #define S_008DFC_VALID_PIXEL_MODE(x) (((x) & 0x1) << 22) argument
1898 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
1900 #define S_008DFC_CF_INST(x) (((x) & 0x7F) << 23) argument
1901 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
1903 #define S_008DFC_WHOLE_QUAD_MODE(x) (((x) & 0x1) << 30) argument
1904 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1906 #define S_008DFC_BARRIER(x) (((x) & 0x1) << 31) argument
1907 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1910 #define S_008DFC_ARRAY_SIZE(x) (((x) & 0xFFF) << 0) argument
1911 #define G_008DFC_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
1913 #define S_008DFC_COMP_MASK(x) (((x) & 0xF) << 12) argument
1914 #define G_008DFC_COMP_MASK(x) (((x) >> 12) & 0xF) argument
1917 #define S_008DFC_SEL_X(x) (((x) & 0x7) << 0) argument
1918 #define G_008DFC_SEL_X(x) (((x) >> 0) & 0x7) argument
1920 #define S_008DFC_SEL_Y(x) (((x) & 0x7) << 3) argument
1921 #define G_008DFC_SEL_Y(x) (((x) >> 3) & 0x7) argument
1923 #define S_008DFC_SEL_Z(x) (((x) & 0x7) << 6) argument
1924 #define G_008DFC_SEL_Z(x) (((x) >> 6) & 0x7) argument
1926 #define S_008DFC_SEL_W(x) (((x) & 0x7) << 9) argument
1927 #define G_008DFC_SEL_W(x) (((x) >> 9) & 0x7) argument
1930 #define S_008DFC_VTX_INST(x) (((x) & 0x1F) << 0) argument
1931 #define G_008DFC_VTX_INST(x) (((x) >> 0) & 0x1F) argument
1933 #define S_008DFC_FETCH_TYPE(x) (((x) & 0x3) << 5) argument
1934 #define G_008DFC_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
1936 #define S_008DFC_FETCH_WHOLE_QUAD(x) (((x) & 0x1) << 7) argument
1937 #define G_008DFC_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
1939 #define S_008DFC_BUFFER_ID(x) (((x) & 0xFF) << 8) argument
1940 #define G_008DFC_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
1942 #define S_008DFC_SRC_GPR(x) (((x) & 0x7F) << 16) argument
1943 #define G_008DFC_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
1945 #define S_008DFC_SRC_REL(x) (((x) & 0x1) << 23) argument
1946 #define G_008DFC_SRC_REL(x) (((x) >> 23) & 0x1) argument
1948 #define S_008DFC_SRC_SEL_X(x) (((x) & 0x3) << 24) argument
1949 #define G_008DFC_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
1951 #define S_008DFC_MEGA_FETCH_COUNT(x) (((x) & 0x3F) << 26) argument
1952 #define G_008DFC_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
1955 #define S_008DFC_DST_SEL_X(x) (((x) & 0x7) << 9) argument
1956 #define G_008DFC_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
1958 #define S_008DFC_DST_SEL_Y(x) (((x) & 0x7) << 12) argument
1959 #define G_008DFC_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
1961 #define S_008DFC_DST_SEL_Z(x) (((x) & 0x7) << 15) argument
1962 #define G_008DFC_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
1964 #define S_008DFC_DST_SEL_W(x) (((x) & 0x7) << 18) argument
1965 #define G_008DFC_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
1967 #define S_008DFC_USE_CONST_FIELDS(x) (((x) & 0x1) << 21) argument
1968 #define G_008DFC_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
1970 #define S_008DFC_DATA_FORMAT(x) (((x) & 0x3F) << 22) argument
1971 #define G_008DFC_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
1973 #define S_008DFC_NUM_FORMAT_ALL(x) (((x) & 0x3) << 28) argument
1974 #define G_008DFC_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
1976 #define S_008DFC_FORMAT_COMP_ALL(x) (((x) & 0x1) << 30) argument
1977 #define G_008DFC_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
1979 #define S_008DFC_SRF_MODE_ALL(x) (((x) & 0x1) << 31) argument
1980 #define G_008DFC_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
1983 #define S_008DFC_DST_GPR(x) (((x) & 0x7F) << 0) argument
1984 #define G_008DFC_DST_GPR(x) (((x) >> 0) & 0x7F) argument
1986 #define S_008DFC_DST_REL(x) (((x) & 0x1) << 7) argument
1987 #define G_008DFC_DST_REL(x) (((x) >> 7) & 0x1) argument
1990 #define S_008DFC_OFFSET(x) (((x) & 0xFFFF) << 0) argument
1991 #define G_008DFC_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
1993 #define S_008DFC_ENDIAN_SWAP(x) (((x) & 0x3) << 16) argument
1994 #define G_008DFC_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
1996 #define S_008DFC_CONST_BUF_NO_STRIDE(x) (((x) & 0x1) << 18) argument
1997 #define G_008DFC_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
1999 #define S_008DFC_MEGA_FETCH(x) (((x) & 0x1) << 19) argument
2000 #define G_008DFC_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
2002 #define S_008DFC_ALT_CONST(x) (((x) & 0x1) << 20) argument
2003 #define G_008DFC_ALT_CONST(x) (((x) >> 20) & 0x1) argument
2006 #define S_008040_WAIT_CP_DMA_IDLE(x) (((x) & 0x1) << 8) argument
2007 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2009 #define S_008040_WAIT_CMDFIFO(x) (((x) & 0x1) << 10) argument
2010 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2012 #define S_008040_WAIT_2D_IDLE(x) (((x) & 0x1) << 14) argument
2013 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2015 #define S_008040_WAIT_3D_IDLE(x) (((x) & 0x1) << 15) argument
2016 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2018 #define S_008040_WAIT_2D_IDLECLEAN(x) (((x) & 0x1) << 16) argument
2019 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2021 #define S_008040_WAIT_3D_IDLECLEAN(x) (((x) & 0x1) << 17) argument
2022 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2024 #define S_008040_WAIT_EXTERN_SIG(x) (((x) & 0x1) << 19) argument
2025 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2027 #define S_008040_CMDFIFO_ENTRIES(x) (((x) & 0x1F) << 20) argument
2028 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2031 #define S_0286CC_NUM_INTERP(x) (((x) & 0x3F) << 0) argument
2032 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
2034 #define S_0286CC_POSITION_ENA(x) (((x) & 0x1) << 8) argument
2035 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
2037 #define S_0286CC_POSITION_CENTROID(x) (((x) & 0x1) << 9) argument
2038 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
2040 #define S_0286CC_POSITION_ADDR(x) (((x) & 0x1F) << 10) argument
2041 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
2043 #define S_0286CC_PARAM_GEN(x) (((x) & 0xF) << 15) argument
2044 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
2046 #define S_0286CC_PARAM_GEN_ADDR(x) (((x) & 0x7F) << 19) argument
2047 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
2049 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((x) & 0x3) << 26) argument
2050 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
2052 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((x) & 0x1) << 28) argument
2053 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
2055 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((x) & 0x1) << 29) argument
2056 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
2058 #define S_0286CC_POSITION_SAMPLE(x) (((x) & 0x1) << 30) argument
2059 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
2061 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) & 0x1) << 31) argument
2062 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
2065 #define S_0286D0_GEN_INDEX_PIX(x) (((x) & 0x1) << 0) argument
2066 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
2068 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) & 0x7F) << 1) argument
2069 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
2071 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 8) argument
2072 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
2074 #define S_0286D0_FRONT_FACE_CHAN(x) (((x) & 0x3) << 9) argument
2075 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
2077 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 11) argument
2078 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
2080 #define S_0286D0_FRONT_FACE_ADDR(x) (((x) & 0x1F) << 12) argument
2081 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
2083 #define S_0286D0_FOG_ADDR(x) (((x) & 0x7F) << 17) argument
2084 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
2086 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((x) & 0x1) << 24) argument
2087 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
2089 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) & 0x1F) << 25) argument
2090 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
2093 #define S_0286C4_VS_PER_COMPONENT(x) (((x) & 0x1) << 0) argument
2094 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
2096 #define S_0286C4_VS_EXPORT_COUNT(x) (((x) & 0x1F) << 1) argument
2097 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
2099 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 8) argument
2100 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
2102 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) & 0x1F) << 9) argument
2103 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
2106 #define S_028240_TL_X(x) (((x) & 0x3FFF) << 0) argument
2107 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2109 #define S_028240_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2110 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2112 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
2113 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2116 #define S_028244_BR_X(x) (((x) & 0x3FFF) << 0) argument
2117 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2119 #define S_028244_BR_Y(x) (((x) & 0x3FFF) << 16) argument
2120 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2123 #define S_028030_TL_X(x) (((x) & 0x7FFF) << 0) argument
2124 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2126 #define S_028030_TL_Y(x) (((x) & 0x7FFF) << 16) argument
2127 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2130 #define S_028034_BR_X(x) (((x) & 0x7FFF) << 0) argument
2131 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2133 #define S_028034_BR_Y(x) (((x) & 0x7FFF) << 16) argument
2134 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2137 #define S_028204_TL_X(x) (((x) & 0x3FFF) << 0) argument
2138 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2140 #define S_028204_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2141 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2143 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
2144 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2147 #define S_028208_BR_X(x) (((x) & 0x3FFF) << 0) argument
2148 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2150 #define S_028208_BR_Y(x) (((x) & 0x3FFF) << 16) argument
2151 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2154 #define S_0287F0_SOURCE_SELECT(x) (((x) & 0x3) << 0) argument
2155 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
2157 #define S_0287F0_MAJOR_MODE(x) (((x) & 0x3) << 2) argument
2158 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
2160 #define S_0287F0_SPRITE_EN(x) (((x) & 0x1) << 4) argument
2161 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
2163 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5) argument
2164 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
2166 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6) argument
2167 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
2186 #define S_028C00_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9) argument
2187 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
2189 #define S_028C00_LAST_PIXEL(x) (((x) & 0x1) << 10) argument
2190 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
2194 #define S_028C08_PIX_CENTER_HALF(x) (((x) & 0x1) << 0) argument
2195 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
2197 #define S_028C08_QUANT_MODE(x) (((x) & 0x7) << 3) argument
2198 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
2218 #define S_028A04_MIN_SIZE(x) (((x) & 0xFFFF) << 0) argument
2219 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2221 #define S_028A04_MAX_SIZE(x) (((x) & 0xFFFF) << 16) argument
2222 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2225 #define S_028A08_WIDTH(x) (((x) & 0xFFFF) << 0) argument
2226 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
2236 #define S_028818_VPORT_X_SCALE_ENA(x) (((x) & 0x1) << 0) argument
2237 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0 & 0x1) argument
2239 #define S_028818_VPORT_X_OFFSET_ENA(x) (((x) & 0x1) << 1) argument
2240 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1 & 0x1) argument
2242 #define S_028818_VPORT_Y_SCALE_ENA(x) (((x) & 0x1) << 2) argument
2243 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2 & 0x1) argument
2245 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((x) & 0x1) << 3) argument
2246 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3 & 0x1) argument
2248 #define S_028818_VPORT_Z_SCALE_ENA(x) (((x) & 0x1) << 4) argument
2249 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4 & 0x1) argument
2251 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((x) & 0x1) << 5) argument
2252 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5 & 0x1) argument
2254 #define S_028818_VTX_W0_FMT(x) (((x) & 0x1) << 10) argument
2255 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
2285 #define S_028D44_ALPHA_TO_MASK_ENABLE(x) (((x) & 0x1) << 0) argument
2286 #define S_028D44_ALPHA_TO_MASK_OFFSET0(x) (((x) & 0x3) << 8) argument
2287 #define S_028D44_ALPHA_TO_MASK_OFFSET1(x) (((x) & 0x3) << 10) argument
2288 #define S_028D44_ALPHA_TO_MASK_OFFSET2(x) (((x) & 0x3) << 12) argument
2289 #define S_028D44_ALPHA_TO_MASK_OFFSET3(x) (((x) & 0x3) << 14) argument
2290 #define S_028D44_OFFSET_ROUND(x) (((x) & 0x1) << 16) argument
2328 #define S_028854_EXPORT_COLORS(x) (((x) & 0xF) << 1) argument
2329 #define G_028854_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
2331 #define S_028854_EXPORT_Z(x) (((x) & 0x1) << 0) argument
2332 #define G_028854_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
2342 #define S_028060_PITCH_TILE_MAX(x) (((x) & 0x3FF) << 0) argument
2343 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
2345 #define S_028060_SLICE_TILE_MAX(x) (((x) & 0xFFFFF) << 10) argument
2346 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
2364 #define S_028240_TL_X(x) (((x) & 0x3FFF) << 0) argument
2365 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2367 #define S_028240_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2368 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2371 #define S_028C04_MSAA_NUM_SAMPLES(x) (((x) & 0x3) << 0) argument
2372 #define G_028C04_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x3) argument
2374 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4) argument
2375 #define G_028C04_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
2377 #define S_028C04_MAX_SAMPLE_DIST(x) (((x) & 0xF) << 13) argument
2378 #define G_028C04_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0xF) argument
2387 #define S_028080_SLICE_START(x) (((x) & 0x7FF) << 0) argument
2388 #define G_028080_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
2390 #define S_028080_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
2391 #define G_028080_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
2401 #define S_028100_CMASK_BLOCK_MAX(x) (((x) & 0xFFF) << 0) argument
2402 #define G_028100_CMASK_BLOCK_MAX(x) (((x) >> 0) & 0xFFF) argument
2404 #define S_028100_FMASK_TILE_MAX(x) (((x) & 0xFFFFF) << 12) argument
2405 #define G_028100_FMASK_TILE_MAX(x) (((x) >> 12) & 0xFFFFF) argument
2415 #define S_028040_BASE_256B(x) (((x) & 0xFFFFFFFF) << 0) argument
2416 #define G_028040_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2419 #define S_0280E0_BASE_256B(x) (((x) & 0xFFFFFFFF) << 0) argument
2420 #define G_0280E0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2430 #define S_0280C0_BASE_256B(x) (((x) & 0xFFFFFFFF) << 0) argument
2431 #define G_0280C0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2441 #define S_028614_SEMANTIC_0(x) (((x) & 0xFF) << 0) argument
2442 #define G_028614_SEMANTIC_0(x) (((x) >> 0) & 0xFF) argument
2444 #define S_028614_SEMANTIC_1(x) (((x) & 0xFF) << 8) argument
2445 #define G_028614_SEMANTIC_1(x) (((x) >> 8) & 0xFF) argument
2447 #define S_028614_SEMANTIC_2(x) (((x) & 0xFF) << 16) argument
2448 #define G_028614_SEMANTIC_2(x) (((x) >> 16) & 0xFF) argument
2450 #define S_028614_SEMANTIC_3(x) (((x) & 0xFF) << 24) argument
2451 #define G_028614_SEMANTIC_3(x) (((x) >> 24) & 0xFF) argument
2463 #define S_038000_DIM(x) (((x) & 0x7) << 0) argument
2464 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
2466 #define S_038000_TILE_MODE(x) (((x) & 0xF) << 3) argument
2467 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
2469 #define S_038000_TILE_TYPE(x) (((x) & 0x1) << 7) argument
2470 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
2472 #define S_038000_PITCH(x) (((x) & 0x7FF) << 8) argument
2473 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
2475 #define S_038000_TEX_WIDTH(x) (((x) & 0x1FFF) << 19) argument
2476 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
2479 #define S_038004_TEX_HEIGHT(x) (((x) & 0x1FFF) << 0) argument
2480 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
2482 #define S_038004_TEX_DEPTH(x) (((x) & 0x1FFF) << 13) argument
2483 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
2485 #define S_038004_DATA_FORMAT(x) (((x) & 0x3F) << 26) argument
2486 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
2523 #define S_038008_BASE_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
2524 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2527 #define S_03800C_MIP_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
2528 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2531 #define S_038010_FORMAT_COMP_X(x) (((x) & 0x3) << 0) argument
2532 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
2534 #define S_038010_FORMAT_COMP_Y(x) (((x) & 0x3) << 2) argument
2535 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
2537 #define S_038010_FORMAT_COMP_Z(x) (((x) & 0x3) << 4) argument
2538 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
2540 #define S_038010_FORMAT_COMP_W(x) (((x) & 0x3) << 6) argument
2541 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
2543 #define S_038010_NUM_FORMAT_ALL(x) (((x) & 0x3) << 8) argument
2544 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
2546 #define S_038010_SRF_MODE_ALL(x) (((x) & 0x1) << 10) argument
2547 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
2549 #define S_038010_FORCE_DEGAMMA(x) (((x) & 0x1) << 11) argument
2550 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
2552 #define S_038010_ENDIAN_SWAP(x) (((x) & 0x3) << 12) argument
2553 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
2555 #define S_038010_REQUEST_SIZE(x) (((x) & 0x3) << 14) argument
2556 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
2558 #define S_038010_DST_SEL_X(x) (((x) & 0x7) << 16) argument
2559 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
2561 #define S_038010_DST_SEL_Y(x) (((x) & 0x7) << 19) argument
2562 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
2564 #define S_038010_DST_SEL_Z(x) (((x) & 0x7) << 22) argument
2565 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
2567 #define S_038010_DST_SEL_W(x) (((x) & 0x7) << 25) argument
2568 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
2570 #define S_038010_BASE_LEVEL(x) (((x) & 0xF) << 28) argument
2571 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
2574 #define S_038014_LAST_LEVEL(x) (((x) & 0xF) << 0) argument
2575 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
2577 #define S_038014_BASE_ARRAY(x) (((x) & 0x1FFF) << 4) argument
2578 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
2580 #define S_038014_LAST_ARRAY(x) (((x) & 0x1FFF) << 17) argument
2581 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
2584 #define S_038018_MPEG_CLAMP(x) (((x) & 0x3) << 0) argument
2585 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
2587 #define S_038018_PERF_MODULATION(x) (((x) & 0x7) << 5) argument
2588 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
2590 #define S_038018_INTERLACED(x) (((x) & 0x1) << 8) argument
2591 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
2593 #define S_038018_TYPE(x) (((x) & 0x3) << 30) argument
2594 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
2597 #define S_008040_WAIT_CP_DMA_IDLE(x) (((x) & 0x1) << 8) argument
2598 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2600 #define S_008040_WAIT_CMDFIFO(x) (((x) & 0x1) << 10) argument
2601 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2603 #define S_008040_WAIT_2D_IDLE(x) (((x) & 0x1) << 14) argument
2604 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2606 #define S_008040_WAIT_3D_IDLE(x) (((x) & 0x1) << 15) argument
2607 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2609 #define S_008040_WAIT_2D_IDLECLEAN(x) (((x) & 0x1) << 16) argument
2610 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2612 #define S_008040_WAIT_3D_IDLECLEAN(x) (((x) & 0x1) << 17) argument
2613 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2615 #define S_008040_WAIT_EXTERN_SIG(x) (((x) & 0x1) << 19) argument
2616 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2618 #define S_008040_CMDFIFO_ENTRIES(x) (((x) & 0x1F) << 20) argument
2619 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2622 #define S_008958_PRIM_TYPE(x) (((x) & 0x3F) << 0) argument
2623 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
2626 #define S_008C08_NUM_GS_GPRS(x) (((x) & 0xFF) << 0) argument
2627 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
2629 #define S_008C08_NUM_ES_GPRS(x) (((x) & 0xFF) << 16) argument
2630 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
2633 #define S_008D8C_RING0_OFFSET(x) (((x) & 0xFF) << 0) argument
2634 #define G_008D8C_RING0_OFFSET(x) (((x) >> 0) & 0xFF) argument
2636 #define S_008D8C_ISOLATE_ES_ENABLE(x) (((x) & 0x1) << 12) argument
2637 #define G_008D8C_ISOLATE_ES_ENABLE(x) (((x) >> 12) & 0x1) argument
2639 #define S_008D8C_ISOLATE_GS_ENABLE(x) (((x) & 0x1) << 13) argument
2640 #define G_008D8C_ISOLATE_GS_ENABLE(x) (((x) >> 13) & 0x1) argument
2642 #define S_008D8C_VS_PC_LIMIT_ENABLE(x) (((x) & 0x1) << 14) argument
2643 #define G_008D8C_VS_PC_LIMIT_ENABLE(x) (((x) >> 14) & 0x1) argument
2646 #define S_009508_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 0) argument
2647 #define G_009508_DISABLE_CUBE_WRAP(x) (((x) >> 0) & 0x1) argument
2649 #define S_009508_DISABLE_CUBE_ANISO(x) (((x) & 0x1) << 1) argument
2650 #define G_009508_DISABLE_CUBE_ANISO(x) (((x) >> 1) & 0x1) argument
2652 #define S_009508_SYNC_GRADIENT(x) (((x) & 0x1) << 24) argument
2653 #define G_009508_SYNC_GRADIENT(x) (((x) >> 24) & 0x1) argument
2655 #define S_009508_SYNC_WALKER(x) (((x) & 0x1) << 25) argument
2656 #define G_009508_SYNC_WALKER(x) (((x) >> 25) & 0x1) argument
2658 #define S_009508_SYNC_ALIGNER(x) (((x) & 0x1) << 26) argument
2659 #define G_009508_SYNC_ALIGNER(x) (((x) >> 26) & 0x1) argument
2661 #define S_009508_BILINEAR_PRECISION(x) (((x) & 0x1) << 31) argument
2662 #define G_009508_BILINEAR_PRECISION(x) (((x) >> 31) & 0x1) argument
2667 #define S_009838_DEPTH_FREE(x) (((x) & 0x1F) << 0) argument
2668 #define G_009838_DEPTH_FREE(x) (((x) >> 0) & 0x1F) argument
2670 #define S_009838_DEPTH_FLUSH(x) (((x) & 0x3F) << 5) argument
2671 #define G_009838_DEPTH_FLUSH(x) (((x) >> 5) & 0x3F) argument
2673 #define S_009838_FORCE_SUMMARIZE(x) (((x) & 0xF) << 11) argument
2674 #define G_009838_FORCE_SUMMARIZE(x) (((x) >> 11) & 0xF) argument
2676 #define S_009838_DEPTH_PENDING_FREE(x) (((x) & 0x1F) << 15) argument
2677 #define G_009838_DEPTH_PENDING_FREE(x) (((x) >> 15) & 0x1F) argument
2679 #define S_009838_DEPTH_CACHELINE_FREE(x) (((x) & 0x1F) << 20) argument
2680 #define G_009838_DEPTH_CACHELINE_FREE(x) (((x) >> 20) & 0x1F) argument
2682 #define S_009838_EARLY_Z_PANIC_DISABLE(x) (((x) & 0x1) << 25) argument
2683 #define G_009838_EARLY_Z_PANIC_DISABLE(x) (((x) >> 25) & 0x1) argument
2685 #define S_009838_LATE_Z_PANIC_DISABLE(x) (((x) & 0x1) << 26) argument
2686 #define G_009838_LATE_Z_PANIC_DISABLE(x) (((x) >> 26) & 0x1) argument
2688 #define S_009838_RE_Z_PANIC_DISABLE(x) (((x) & 0x1) << 27) argument
2689 #define G_009838_RE_Z_PANIC_DISABLE(x) (((x) >> 27) & 0x1) argument
2691 #define S_009838_DB_EXTRA_DEBUG(x) (((x) & 0xF) << 28) argument
2692 #define G_009838_DB_EXTRA_DEBUG(x) (((x) >> 28) & 0xF) argument
2695 #define S_028030_TL_X(x) (((x) & 0x7FFF) << 0) argument
2696 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2698 #define S_028030_TL_Y(x) (((x) & 0x7FFF) << 16) argument
2699 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2702 #define S_028034_BR_X(x) (((x) & 0x7FFF) << 0) argument
2703 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2705 #define S_028034_BR_Y(x) (((x) & 0x7FFF) << 16) argument
2706 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2709 #define S_028200_WINDOW_X_OFFSET(x) (((x) & 0x7FFF) << 0) argument
2710 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
2712 #define S_028200_WINDOW_Y_OFFSET(x) (((x) & 0x7FFF) << 16) argument
2713 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0x7FFF) argument
2716 #define S_028204_TL_X(x) (((x) & 0x3FFF) << 0) argument
2717 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2719 #define S_028204_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2720 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2722 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
2723 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2726 #define S_028208_BR_X(x) (((x) & 0x3FFF) << 0) argument
2727 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2729 #define S_028208_BR_Y(x) (((x) & 0x3FFF) << 16) argument
2730 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2733 #define S_02820C_CLIP_RULE(x) (((x) & 0xFFFF) << 0) argument
2734 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
2737 #define S_028210_TL_X(x) (((x) & 0x3FFF) << 0) argument
2738 #define G_028210_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2740 #define S_028210_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2741 #define G_028210_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2744 #define S_028214_BR_X(x) (((x) & 0x3FFF) << 0) argument
2745 #define G_028214_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2747 #define S_028214_BR_Y(x) (((x) & 0x3FFF) << 16) argument
2748 #define G_028214_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2758 #define S_028240_TL_X(x) (((x) & 0x3FFF) << 0) argument
2759 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2761 #define S_028240_TL_Y(x) (((x) & 0x3FFF) << 16) argument
2762 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2764 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
2765 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2768 #define S_028244_BR_X(x) (((x) & 0x3FFF) << 0) argument
2769 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2771 #define S_028244_BR_Y(x) (((x) & 0x3FFF) << 16) argument
2772 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2775 #define S_0282D0_VPORT_ZMIN(x) (((x) & 0xFFFFFFFF) << 0) argument
2776 #define G_0282D0_VPORT_ZMIN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2779 #define S_0282D4_VPORT_ZMAX(x) (((x) & 0xFFFFFFFF) << 0) argument
2780 #define G_0282D4_VPORT_ZMAX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2783 #define S_028350_MULTIPASS(x) (((x) & 0x1) << 0) argument
2784 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
2787 #define S_028354_SURFACE_SYNC_MASK(x) (((x) & 0x1FF) << 0) argument
2789 #define S_028380_SEMANTIC_ID(x) (((x) & 0xFF) << 0) argument
2790 #define G_028380_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
2824 #define S_028400_MAX_INDX(x) (((x) & 0xFFFFFFFF) << 0) argument
2825 #define G_028400_MAX_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2828 #define S_028404_MIN_INDX(x) (((x) & 0xFFFFFFFF) << 0) argument
2829 #define G_028404_MIN_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2832 #define S_028408_INDX_OFFSET(x) (((x) & 0xFFFFFFFF) << 0) argument
2833 #define G_028408_INDX_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2836 #define S_02840C_RESET_INDX(x) (((x) & 0xFFFFFFFF) << 0) argument
2837 #define G_02840C_RESET_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2840 #define S_028410_ALPHA_FUNC(x) (((x) & 0x7) << 0) argument
2841 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
2843 #define S_028410_ALPHA_TEST_ENABLE(x) (((x) & 0x1) << 3) argument
2844 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
2846 #define S_028410_ALPHA_TEST_BYPASS(x) (((x) & 0x1) << 8) argument
2847 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
2850 #define S_028414_BLEND_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
2851 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
2854 #define S_028418_BLEND_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
2855 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2858 #define S_02841C_BLEND_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
2859 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2862 #define S_028420_BLEND_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
2863 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
2866 #define S_028438_ALPHA_REF(x) (((x) & 0xFFFFFFFF) << 0) argument
2867 #define G_028438_ALPHA_REF(x) (((x) >> 0) & 0xFFFFFFFF) argument
2870 #define S_0286C8_PS_GROUPING(x) (((x) & 0x1F) << 0) argument
2871 #define G_0286C8_PS_GROUPING(x) (((x) >> 0) & 0x1F) argument
2873 #define S_0286C8_VS_GROUPING(x) (((x) & 0x1F) << 8) argument
2874 #define G_0286C8_VS_GROUPING(x) (((x) >> 8) & 0x1F) argument
2876 #define S_0286C8_GS_GROUPING(x) (((x) & 0x1F) << 16) argument
2877 #define G_0286C8_GS_GROUPING(x) (((x) >> 16) & 0x1F) argument
2879 #define S_0286C8_ES_GROUPING(x) (((x) & 0x1F) << 24) argument
2880 #define G_0286C8_ES_GROUPING(x) (((x) >> 24) & 0x1F) argument
2883 #define S_0286D8_PROVIDE_Z_TO_SPI(x) (((x) & 0x1) << 0) argument
2884 #define G_0286D8_PROVIDE_Z_TO_SPI(x) (((x) >> 0) & 0x1) argument
2887 #define S_0286DC_PASS_FOG_THROUGH_PS(x) (((x) & 0x1) << 0) argument
2888 #define G_0286DC_PASS_FOG_THROUGH_PS(x) (((x) >> 0) & 0x1) argument
2890 #define S_0286DC_PIXEL_FOG_FUNC(x) (((x) & 0x3) << 1) argument
2891 #define G_0286DC_PIXEL_FOG_FUNC(x) (((x) >> 1) & 0x3) argument
2893 #define S_0286DC_PIXEL_FOG_SRC_SEL(x) (((x) & 0x1) << 3) argument
2894 #define G_0286DC_PIXEL_FOG_SRC_SEL(x) (((x) >> 3) & 0x1) argument
2896 #define S_0286DC_VS_FOG_CLAMP_DISABLE(x) (((x) & 0x1) << 4) argument
2897 #define G_0286DC_VS_FOG_CLAMP_DISABLE(x) (((x) >> 4) & 0x1) argument
2900 #define S_0286E0_VALUE(x) (((x) & 0xFFFFFFFF) << 0) argument
2901 #define G_0286E0_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2904 #define S_0286E4_VALUE(x) (((x) & 0xFFFFFFFF) << 0) argument
2905 #define G_0286E4_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2908 #define S_0287A0_RT0_ENABLE(x) (((x) & 0x1) << 0) argument
2909 #define G_0287A0_RT0_ENABLE(x) (((x) >> 0) & 0x1) argument
2911 #define S_0287A0_RT1_ENABLE(x) (((x) & 0x1) << 1) argument
2912 #define G_0287A0_RT1_ENABLE(x) (((x) >> 1) & 0x1) argument
2914 #define S_0287A0_RT2_ENABLE(x) (((x) & 0x1) << 2) argument
2915 #define G_0287A0_RT2_ENABLE(x) (((x) >> 2) & 0x1) argument
2917 #define S_0287A0_RT3_ENABLE(x) (((x) & 0x1) << 3) argument
2918 #define G_0287A0_RT3_ENABLE(x) (((x) >> 3) & 0x1) argument
2920 #define S_0287A0_RT4_ENABLE(x) (((x) & 0x1) << 4) argument
2921 #define G_0287A0_RT4_ENABLE(x) (((x) >> 4) & 0x1) argument
2923 #define S_0287A0_RT5_ENABLE(x) (((x) & 0x1) << 5) argument
2924 #define G_0287A0_RT5_ENABLE(x) (((x) >> 5) & 0x1) argument
2926 #define S_0287A0_RT6_ENABLE(x) (((x) & 0x1) << 6) argument
2927 #define G_0287A0_RT6_ENABLE(x) (((x) >> 6) & 0x1) argument
2929 #define S_0287A0_RT7_ENABLE(x) (((x) & 0x1) << 7) argument
2930 #define G_0287A0_RT7_ENABLE(x) (((x) >> 7) & 0x1) argument
2933 #define S_028894_PGM_START(x) (((x) & 0xFFFFFFFF) << 0) argument
2934 #define G_028894_PGM_START(x) (((x) >> 0) & 0xFFFFFFFF) argument
2937 #define S_0288A4_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
2938 #define G_0288A4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
2940 #define S_0288A4_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
2941 #define G_0288A4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
2943 #define S_0288A4_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
2944 #define G_0288A4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2947 #define S_0288A8_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2948 #define G_0288A8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2951 #define S_0288AC_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2952 #define G_0288AC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2955 #define S_0288B0_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2956 #define G_0288B0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2959 #define S_0288B4_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2960 #define G_0288B4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2963 #define S_0288B8_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2964 #define G_0288B8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2967 #define S_0288BC_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2968 #define G_0288BC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2971 #define S_0288C0_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2972 #define G_0288C0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2975 #define S_0288C4_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2976 #define G_0288C4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2979 #define S_0288C8_ITEMSIZE(x) (((x) & 0x7FFF) << 0) argument
2980 #define G_0288C8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
2983 #define S_0288DC_PGM_CF_OFFSET(x) (((x) & 0xFFFFF) << 0) argument
2984 #define G_0288DC_PGM_CF_OFFSET(x) (((x) >> 0) & 0xFFFFF) argument
2987 #define S_028A10_PATH_SELECT(x) (((x) & 0x3) << 0) argument
2988 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x3) argument
2991 #define S_028A14_TESS_MODE(x) (((x) & 0x3) << 0) argument
2992 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x3) argument
2995 #define S_028A18_MAX_TESS(x) (((x) & 0xFFFFFFFF) << 0) argument
2996 #define G_028A18_MAX_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2999 #define S_028A1C_MIN_TESS(x) (((x) & 0xFFFFFFFF) << 0) argument
3000 #define G_028A1C_MIN_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
3003 #define S_028A20_REUSE_DEPTH(x) (((x) & 0xFF) << 0) argument
3004 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
3007 #define S_028A24_PRIM_TYPE(x) (((x) & 0x1F) << 0) argument
3008 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
3010 #define S_028A24_RETAIN_ORDER(x) (((x) & 0x1) << 14) argument
3011 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
3013 #define S_028A24_RETAIN_QUADS(x) (((x) & 0x1) << 15) argument
3014 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
3016 #define S_028A24_PRIM_ORDER(x) (((x) & 0x7) << 16) argument
3017 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x7) argument
3020 #define S_028A28_FIRST_DECR(x) (((x) & 0xF) << 0) argument
3021 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0xF) argument
3024 #define S_028A2C_DECR(x) (((x) & 0xF) << 0) argument
3025 #define G_028A2C_DECR(x) (((x) >> 0) & 0xF) argument
3028 #define S_028A30_COMP_X_EN(x) (((x) & 0x1) << 0) argument
3029 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3031 #define S_028A30_COMP_Y_EN(x) (((x) & 0x1) << 1) argument
3032 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3034 #define S_028A30_COMP_Z_EN(x) (((x) & 0x1) << 2) argument
3035 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3037 #define S_028A30_COMP_W_EN(x) (((x) & 0x1) << 3) argument
3038 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3040 #define S_028A30_STRIDE(x) (((x) & 0xFF) << 8) argument
3041 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
3043 #define S_028A30_SHIFT(x) (((x) & 0xFF) << 16) argument
3044 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
3047 #define S_028A34_COMP_X_EN(x) (((x) & 0x1) << 0) argument
3048 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3050 #define S_028A34_COMP_Y_EN(x) (((x) & 0x1) << 1) argument
3051 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3053 #define S_028A34_COMP_Z_EN(x) (((x) & 0x1) << 2) argument
3054 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3056 #define S_028A34_COMP_W_EN(x) (((x) & 0x1) << 3) argument
3057 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3059 #define S_028A34_STRIDE(x) (((x) & 0xFF) << 8) argument
3060 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
3062 #define S_028A34_SHIFT(x) (((x) & 0xFF) << 16) argument
3063 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
3066 #define S_028A38_X_CONV(x) (((x) & 0xF) << 0) argument
3067 #define G_028A38_X_CONV(x) (((x) >> 0) & 0xF) argument
3069 #define S_028A38_X_OFFSET(x) (((x) & 0xF) << 4) argument
3070 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3072 #define S_028A38_Y_CONV(x) (((x) & 0xF) << 8) argument
3073 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0xF) argument
3075 #define S_028A38_Y_OFFSET(x) (((x) & 0xF) << 12) argument
3076 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3078 #define S_028A38_Z_CONV(x) (((x) & 0xF) << 16) argument
3079 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0xF) argument
3081 #define S_028A38_Z_OFFSET(x) (((x) & 0xF) << 20) argument
3082 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3084 #define S_028A38_W_CONV(x) (((x) & 0xF) << 24) argument
3085 #define G_028A38_W_CONV(x) (((x) >> 24) & 0xF) argument
3087 #define S_028A38_W_OFFSET(x) (((x) & 0xF) << 28) argument
3088 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3091 #define S_028A3C_X_CONV(x) (((x) & 0xF) << 0) argument
3092 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0xF) argument
3094 #define S_028A3C_X_OFFSET(x) (((x) & 0xF) << 4) argument
3095 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3097 #define S_028A3C_Y_CONV(x) (((x) & 0xF) << 8) argument
3098 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0xF) argument
3100 #define S_028A3C_Y_OFFSET(x) (((x) & 0xF) << 12) argument
3101 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3103 #define S_028A3C_Z_CONV(x) (((x) & 0xF) << 16) argument
3104 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0xF) argument
3106 #define S_028A3C_Z_OFFSET(x) (((x) & 0xF) << 20) argument
3107 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3109 #define S_028A3C_W_CONV(x) (((x) & 0xF) << 24) argument
3110 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0xF) argument
3112 #define S_028A3C_W_OFFSET(x) (((x) & 0xF) << 28) argument
3113 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3116 #define S_028A40_MODE(x) (((x) & 0x3) << 0) argument
3117 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
3119 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 2) argument
3120 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
3122 #define S_028A40_CUT_MODE(x) (((x) & 0x3) << 3) argument
3123 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
3126 #define S_028A4C_MSAA_ENABLE(x) (((x) & 0x1) << 0) argument
3127 #define G_028A4C_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
3129 #define S_028A4C_CLIPRECT_ENABLE(x) (((x) & 0x1) << 1) argument
3130 #define G_028A4C_CLIPRECT_ENABLE(x) (((x) >> 1) & 0x1) argument
3132 #define S_028A4C_LINE_STIPPLE_ENABLE(x) (((x) & 0x1) << 2) argument
3133 #define G_028A4C_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
3135 #define S_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((x) & 0x1) << 3) argument
3136 #define G_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((x) >> 3) & 0x1) argument
3138 #define S_028A4C_WALK_ORDER_ENABLE(x) (((x) & 0x1) << 4) argument
3139 #define G_028A4C_WALK_ORDER_ENABLE(x) (((x) >> 4) & 0x1) argument
3141 #define S_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((x) & 0x1) << 5) argument
3142 #define G_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((x) >> 5) & 0x1) argument
3144 #define S_028A4C_WALK_SIZE(x) (((x) & 0x1) << 6) argument
3145 #define G_028A4C_WALK_SIZE(x) (((x) >> 6) & 0x1) argument
3147 #define S_028A4C_WALK_ALIGNMENT(x) (((x) & 0x1) << 7) argument
3148 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 7) & 0x1) argument
3150 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) & 0x1) << 8) argument
3151 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 8) & 0x1) argument
3153 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) & 0x1) << 9) argument
3154 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 9) & 0x1) argument
3156 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((x) & 0x1) << 10) argument
3157 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 10) & 0x1) argument
3159 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) & 0x1) << 11) argument
3160 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 11) & 0x1) argument
3162 #define S_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((x) & 0x1) << 12) argument
3163 #define G_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((x) >> 12) & 0x1) argument
3165 #define S_028A4C_TILE_COVER_DISABLE(x) (((x) & 0x1) << 13) argument
3166 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 13) & 0x1) argument
3168 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) & 0x1) << 14) argument
3169 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 14) & 0x1) argument
3171 #define S_028A4C_FORCE_EOV_TILE_ENABLE(x) (((x) & 0x1) << 15) argument
3172 #define G_028A4C_FORCE_EOV_TILE_ENABLE(x) (((x) >> 15) & 0x1) argument
3174 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) & 0x1) << 16) argument
3175 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 16) & 0x1) argument
3177 #define S_028A4C_PS_ITER_SAMPLE(x) (((x) & 0x1) << 17) argument
3178 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 17) & 0x1) argument
3180 #define S_028A4C_R700_ZMM_LINE_OFFSET(x) (((x) & 0x1) << 20) argument
3181 #define S_028A4C_R700_VPORT_SCISSOR_ENABLE(x) (((x) & 0x1) << 22) argument
3183 #define S_028A84_PRIMITIVEID_EN(x) (((x) & 0x1) << 0) argument
3184 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
3187 #define S_028A94_RESET_EN(x) (((x) & 0x1) << 0) argument
3188 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
3191 #define S_028AA0_STEP_RATE(x) (((x) & 0xFFFFFFFF) << 0) argument
3192 #define G_028AA0_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3195 #define S_028AA4_STEP_RATE(x) (((x) & 0xFFFFFFFF) << 0) argument
3196 #define G_028AA4_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3199 #define S_028AB0_STREAMOUT(x) (((x) & 0x1) << 0) argument
3200 #define G_028AB0_STREAMOUT(x) (((x) >> 0) & 0x1) argument
3203 #define S_028AB4_REUSE_OFF(x) (((x) & 0x1) << 0) argument
3204 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
3207 #define S_028AB8_VTX_CNT_EN(x) (((x) & 0x1) << 0) argument
3208 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
3231 #define S_028B20_BUFFER_0_EN(x) (((x) & 0x1) << 0) argument
3232 #define G_028B20_BUFFER_0_EN(x) (((x) >> 0) & 0x1) argument
3234 #define S_028B20_BUFFER_1_EN(x) (((x) & 0x1) << 1) argument
3235 #define G_028B20_BUFFER_1_EN(x) (((x) >> 1) & 0x1) argument
3237 #define S_028B20_BUFFER_2_EN(x) (((x) & 0x1) << 2) argument
3238 #define G_028B20_BUFFER_2_EN(x) (((x) >> 2) & 0x1) argument
3240 #define S_028B20_BUFFER_3_EN(x) (((x) & 0x1) << 3) argument
3241 #define G_028B20_BUFFER_3_EN(x) (((x) >> 3) & 0x1) argument
3251 #define S_028C20_S4_X(x) (((x) & 0xF) << 0) argument
3252 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
3254 #define S_028C20_S4_Y(x) (((x) & 0xF) << 4) argument
3255 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
3257 #define S_028C20_S5_X(x) (((x) & 0xF) << 8) argument
3258 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
3260 #define S_028C20_S5_Y(x) (((x) & 0xF) << 12) argument
3261 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
3263 #define S_028C20_S6_X(x) (((x) & 0xF) << 16) argument
3264 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
3266 #define S_028C20_S6_Y(x) (((x) & 0xF) << 20) argument
3267 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
3269 #define S_028C20_S7_X(x) (((x) & 0xF) << 24) argument
3270 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
3272 #define S_028C20_S7_Y(x) (((x) & 0xF) << 28) argument
3273 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
3276 #define S_028C30_CLRCMP_FCN_SRC(x) (((x) & 0x7) << 0) argument
3277 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
3279 #define S_028C30_CLRCMP_FCN_DST(x) (((x) & 0x7) << 8) argument
3280 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
3282 #define S_028C30_CLRCMP_FCN_SEL(x) (((x) & 0x3) << 24) argument
3283 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
3286 #define S_028C34_CLRCMP_SRC(x) (((x) & 0xFFFFFFFF) << 0) argument
3287 #define G_028C34_CLRCMP_SRC(x) (((x) >> 0) & 0xFFFFFFFF) argument
3290 #define S_028C38_CLRCMP_DST(x) (((x) & 0xFFFFFFFF) << 0) argument
3291 #define G_028C38_CLRCMP_DST(x) (((x) >> 0) & 0xFFFFFFFF) argument
3294 #define S_028C3C_CLRCMP_MSK(x) (((x) & 0xFFFFFFFF) << 0) argument
3295 #define G_028C3C_CLRCMP_MSK(x) (((x) >> 0) & 0xFFFFFFFF) argument
3298 #define S_0085F0_DEST_BASE_0_ENA(x) (((x) & 0x1) << 0) argument
3299 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
3301 #define S_0085F0_DEST_BASE_1_ENA(x) (((x) & 0x1) << 1) argument
3302 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
3304 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((x) & 0x1) << 2) argument
3305 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
3307 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((x) & 0x1) << 3) argument
3308 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
3310 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((x) & 0x1) << 4) argument
3311 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
3313 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((x) & 0x1) << 5) argument
3314 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
3317 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6) argument
3318 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
3320 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((x) & 0x1) << 7) argument
3321 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
3323 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((x) & 0x1) << 8) argument
3324 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
3326 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((x) & 0x1) << 9) argument
3327 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
3329 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((x) & 0x1) << 10) argument
3330 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
3332 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((x) & 0x1) << 11) argument
3333 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
3335 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((x) & 0x1) << 12) argument
3336 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
3338 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((x) & 0x1) << 13) argument
3339 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
3341 #define S_0085F0_DB_DEST_BASE_ENA(x) (((x) & 0x1) << 14) argument
3342 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
3344 #define S_0085F0_CR_DEST_BASE_ENA(x) (((x) & 0x1) << 15) argument
3345 #define G_0085F0_CR_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
3347 #define S_0085F0_TC_ACTION_ENA(x) (((x) & 0x1) << 23) argument
3348 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
3350 #define S_0085F0_VC_ACTION_ENA(x) (((x) & 0x1) << 24) argument
3351 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
3353 #define S_0085F0_CB_ACTION_ENA(x) (((x) & 0x1) << 25) argument
3354 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
3356 #define S_0085F0_DB_ACTION_ENA(x) (((x) & 0x1) << 26) argument
3357 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
3359 #define S_0085F0_SH_ACTION_ENA(x) (((x) & 0x1) << 27) argument
3360 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
3362 #define S_0085F0_SMX_ACTION_ENA(x) (((x) & 0x1) << 28) argument
3363 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
3365 #define S_0085F0_CR0_ACTION_ENA(x) (((x) & 0x1) << 29) argument
3366 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
3368 #define S_0085F0_CR1_ACTION_ENA(x) (((x) & 0x1) << 30) argument
3369 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
3371 #define S_0085F0_CR2_ACTION_ENA(x) (((x) & 0x1) << 31) argument
3372 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
3380 #define S_02812C_CLEAR_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
3381 #define G_02812C_CLEAR_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3384 #define S_028128_CLEAR_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
3385 #define G_028128_CLEAR_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3388 #define S_028124_CLEAR_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
3389 #define G_028124_CLEAR_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3392 #define S_028120_CLEAR_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
3393 #define G_028120_CLEAR_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3396 #define S_02842C_FOG_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
3397 #define G_02842C_FOG_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3400 #define S_028428_FOG_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
3401 #define G_028428_FOG_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3404 #define S_028424_FOG_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
3405 #define G_028424_FOG_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3408 #define S_03C000_CLAMP_X(x) (((x) & 0x7) << 0) argument
3409 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
3411 #define S_03C000_CLAMP_Y(x) (((x) & 0x7) << 3) argument
3412 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
3414 #define S_03C000_CLAMP_Z(x) (((x) & 0x7) << 6) argument
3415 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
3417 #define S_03C000_XY_MAG_FILTER(x) (((x) & 0x7) << 9) argument
3418 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
3420 #define S_03C000_XY_MIN_FILTER(x) (((x) & 0x7) << 12) argument
3421 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
3423 #define S_03C000_Z_FILTER(x) (((x) & 0x3) << 15) argument
3424 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
3426 #define S_03C000_MIP_FILTER(x) (((x) & 0x3) << 17) argument
3427 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
3429 #define S_03C000_BORDER_COLOR_TYPE(x) (((x) & 0x3) << 22) argument
3430 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
3432 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((x) & 0x1) << 24) argument
3433 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
3435 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((x) & 0x1) << 25) argument
3436 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
3438 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) & 0x7) << 26) argument
3439 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
3441 #define S_03C000_CHROMA_KEY(x) (((x) & 0x3) << 29) argument
3442 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
3444 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((x) & 0x1) << 31) argument
3445 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
3448 #define S_03C004_MIN_LOD(x) (((x) & 0x3FF) << 0) argument
3449 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
3451 #define S_03C004_MAX_LOD(x) (((x) & 0x3FF) << 10) argument
3452 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
3454 #define S_03C004_LOD_BIAS(x) (((x) & 0xFFF) << 20) argument
3455 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
3458 #define S_03C008_LOD_BIAS_SEC(x) (((x) & 0xFFF) << 0) argument
3459 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
3461 #define S_03C008_MC_COORD_TRUNCATE(x) (((x) & 0x1) << 12) argument
3462 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
3464 #define S_03C008_FORCE_DEGAMMA(x) (((x) & 0x1) << 13) argument
3465 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
3467 #define S_03C008_HIGH_PRECISION_FILTER(x) (((x) & 0x1) << 14) argument
3468 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
3470 #define S_03C008_PERF_MIP(x) (((x) & 0x7) << 15) argument
3471 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
3473 #define S_03C008_PERF_Z(x) (((x) & 0x3) << 18) argument
3474 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
3476 #define S_03C008_FETCH_4(x) (((x) & 0x1) << 26) argument
3477 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
3479 #define S_03C008_SAMPLE_IS_PCF(x) (((x) & 0x1) << 27) argument
3480 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
3482 #define S_03C008_TYPE(x) (((x) & 0x1) << 31) argument
3483 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
3486 #define S_00A40C_BORDER_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
3487 #define G_00A40C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3490 #define S_00A408_BORDER_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
3491 #define G_00A408_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3494 #define S_00A404_BORDER_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
3495 #define G_00A404_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3498 #define S_00A400_BORDER_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
3499 #define G_00A400_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3502 #define S_00A60C_BORDER_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
3503 #define G_00A60C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3506 #define S_00A608_BORDER_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
3507 #define G_00A608_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3510 #define S_00A604_BORDER_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
3511 #define G_00A604_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3514 #define S_00A600_BORDER_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
3515 #define G_00A600_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3518 #define S_00A80C_BORDER_ALPHA(x) (((x) & 0xFFFFFFFF) << 0) argument
3519 #define G_00A80C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3522 #define S_00A808_BORDER_BLUE(x) (((x) & 0xFFFFFFFF) << 0) argument
3523 #define G_00A808_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3526 #define S_00A804_BORDER_GREEN(x) (((x) & 0xFFFFFFFF) << 0) argument
3527 #define G_00A804_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3530 #define S_00A800_BORDER_RED(x) (((x) & 0xFFFFFFFF) << 0) argument
3531 #define G_00A800_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3534 #define S_030000_X(x) (((x) & 0xFFFFFFFF) << 0) argument
3535 #define G_030000_X(x) (((x) >> 0) & 0xFFFFFFFF) argument
3538 #define S_030004_Y(x) (((x) & 0xFFFFFFFF) << 0) argument
3539 #define G_030004_Y(x) (((x) >> 0) & 0xFFFFFFFF) argument
3542 #define S_030008_Z(x) (((x) & 0xFFFFFFFF) << 0) argument
3543 #define G_030008_Z(x) (((x) >> 0) & 0xFFFFFFFF) argument
3546 #define S_03000C_W(x) (((x) & 0xFFFFFFFF) << 0) argument
3547 #define G_03000C_W(x) (((x) >> 0) & 0xFFFFFFFF) argument