Lines Matching refs:x
83 #define STRMOUT_OFFSET_SOURCE(x) (((unsigned)(x) & 0x3) << 1) argument
88 #define STRMOUT_SELECT_BUFFER(x) (((unsigned)(x) & 0x3) << 8) argument
123 #define SURFACE_BASE_UPDATE_COLOR(x) (2 << (x)) argument
124 #define SURFACE_BASE_UPDATE_COLOR_NUM(x) (((1 << x) - 1) << 1) argument
125 #define SURFACE_BASE_UPDATE_STRMOUT(x) (0x200 << (x)) argument
140 #define EVENT_TYPE(x) ((x) << 0) argument
141 #define EVENT_INDEX(x) ((x) << 8) argument
154 #define PRED_OP(x) ((x) << 16) argument
164 #define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) argument
165 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
167 #define PKT_COUNT_S(x) (((unsigned)(x) & 0x3FFF) << 16) argument
168 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
170 #define PKT0_BASE_INDEX_S(x) (((unsigned)(x) & 0xFFFF) << 0) argument
171 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
173 #define PKT3_IT_OPCODE_S(x) (((unsigned)(x) & 0xFF) << 8) argument
174 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
176 #define PKT3_PRED_S(x) (((x) >> 0) & 0x1) argument
189 #define PKT3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) argument
195 #define PKT3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) argument
215 #define S_008490_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
242 #define S_008C00_VC_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
243 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
244 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
245 #define S_008C00_EXPORT_SRC_C(x) (((unsigned)(x) & 0x1) << 1) argument
246 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
247 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
248 #define S_008C00_DX9_CONSTS(x) (((unsigned)(x) & 0x1) << 2) argument
249 #define G_008C00_DX9_CONSTS(x) (((x) >> 2) & 0x1) argument
250 #define C_008C00_DX9_CONSTS(x) 0xFFFFFFFB argument
251 #define S_008C00_ALU_INST_PREFER_VECTOR(x) (((unsigned)(x) & 0x1) << 3) argument
252 #define G_008C00_ALU_INST_PREFER_VECTOR(x) (((x) >> 3) & 0x1) argument
253 #define C_008C00_ALU_INST_PREFER_VECTOR(x) 0xFFFFFFF7 argument
254 #define S_008C00_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 4) argument
255 #define G_008C00_DX10_CLAMP(x) (((x) >> 4) & 0x1) argument
256 #define C_008C00_DX10_CLAMP(x) 0xFFFFFFEF argument
257 #define S_008C00_CLAUSE_SEQ_PRIO(x) (((unsigned)(x) & 0x3) << 8) argument
258 #define G_008C00_CLAUSE_SEQ_PRIO(x) (((x) >> 8) & 0x3) argument
259 #define C_008C00_CLAUSE_SEQ_PRIO(x) 0xFFFFFCFF argument
260 #define S_008C00_PS_PRIO(x) (((unsigned)(x) & 0x3) << 24) argument
261 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
262 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
263 #define S_008C00_VS_PRIO(x) (((unsigned)(x) & 0x3) << 26) argument
264 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
265 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
266 #define S_008C00_GS_PRIO(x) (((unsigned)(x) & 0x3) << 28) argument
267 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
268 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
269 #define S_008C00_ES_PRIO(x) (((unsigned)(x) & 0x3) << 30) argument
270 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
271 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
273 #define S_008C04_NUM_PS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
274 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
275 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
276 #define S_008C04_NUM_VS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
277 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
278 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
279 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((unsigned)(x) & 0xF) << 28) argument
280 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
281 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
283 #define S_008C0C_NUM_PS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
284 #define G_008C0C_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
285 #define C_008C0C_NUM_PS_THREADS(x) 0xFFFFFF00 argument
286 #define S_008C0C_NUM_VS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
287 #define G_008C0C_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
288 #define C_008C0C_NUM_VS_THREADS(x) 0xFFFF00FF argument
289 #define S_008C0C_NUM_GS_THREADS(x) (((unsigned)(x) & 0xFF) << 16) argument
290 #define G_008C0C_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
291 #define C_008C0C_NUM_GS_THREADS(x) 0xFF00FFFF argument
292 #define S_008C0C_NUM_ES_THREADS(x) (((unsigned)(x) & 0xFF) << 24) argument
293 #define G_008C0C_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
294 #define C_008C0C_NUM_ES_THREADS(x) 0x00FFFFFF argument
296 #define S_008C10_NUM_PS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
297 #define G_008C10_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
298 #define C_008C10_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
299 #define S_008C10_NUM_VS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
300 #define G_008C10_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
301 #define C_008C10_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
303 #define S_008C14_NUM_GS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
304 #define G_008C14_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
305 #define C_008C14_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
306 #define S_008C14_NUM_ES_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
307 #define G_008C14_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
308 #define C_008C14_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
310 #define S_0280A0_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
311 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
313 #define S_0280A0_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
314 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
351 #define S_0280A0_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
352 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
358 #define S_0280A0_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
359 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
369 #define S_0280A0_READ_SIZE(x) (((unsigned)(x) & 0x1) << 15) argument
370 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
372 #define S_0280A0_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
373 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
379 #define S_0280A0_TILE_MODE(x) (((unsigned)(x) & 0x3) << 18) argument
383 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
385 #define S_0280A0_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 20) argument
386 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
388 #define S_0280A0_CLEAR_COLOR(x) (((unsigned)(x) & 0x1) << 21) argument
389 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
391 #define S_0280A0_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 22) argument
392 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
394 #define S_0280A0_BLEND_FLOAT32(x) (((unsigned)(x) & 0x1) << 23) argument
395 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
397 #define S_0280A0_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 24) argument
398 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
400 #define S_0280A0_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 25) argument
401 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
403 #define S_0280A0_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
404 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
406 #define S_0280A0_SOURCE_FORMAT(x) (((unsigned)(x) & 0x1) << 27) argument
407 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
412 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
413 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
415 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
416 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
419 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
420 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
422 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
423 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
425 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
426 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
429 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
430 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
432 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
433 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
435 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
436 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
438 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
439 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
441 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
442 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
444 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
445 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
455 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
456 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
466 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
467 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
469 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
470 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
472 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
473 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
475 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
476 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
478 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
479 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
481 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
482 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
485 #define S_028808_FOG_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
486 #define G_028808_FOG_ENABLE(x) (((x) >> 0) & 0x1) argument
488 #define S_028808_MULTIWRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
489 #define G_028808_MULTIWRITE_ENABLE(x) (((x) >> 1) & 0x1) argument
491 #define S_028808_DITHER_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
492 #define G_028808_DITHER_ENABLE(x) (((x) >> 2) & 0x1) argument
494 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
495 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
497 #define S_028808_SPECIAL_OP(x) (((unsigned)(x) & 0x7) << 4) argument
500 #define G_028808_SPECIAL_OP(x) (((x) >> 4) & 0x7) argument
510 #define S_028808_PER_MRT_BLEND(x) (((unsigned)(x) & 0x1) << 7) argument
511 #define G_028808_PER_MRT_BLEND(x) (((x) >> 7) & 0x1) argument
513 #define S_028808_TARGET_BLEND_ENABLE(x) (((unsigned)(x) & 0xFF) << 8) argument
514 #define G_028808_TARGET_BLEND_ENABLE(x) (((x) >> 8) & 0xFF) argument
516 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
517 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
520 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
521 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
523 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
524 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
526 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
527 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
529 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
530 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
532 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
533 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
535 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
536 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
538 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
539 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
541 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x3) << 14) argument
542 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
544 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
545 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
547 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
548 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
550 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
551 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
553 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
554 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
556 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
557 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
559 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
560 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
562 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) /* R700 only? … argument
563 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
565 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
566 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
568 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
569 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
571 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
572 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
574 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
575 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
578 #define S_028010_FORMAT(x) (((unsigned)(x) & 0x7) << 0) argument
579 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
589 #define S_028010_READ_SIZE(x) (((unsigned)(x) & 0x1) << 3) argument
590 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
592 #define S_028010_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 15) argument
593 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
595 #define S_028010_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
596 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
598 #define S_028010_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
599 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
601 #define S_028010_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
602 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
606 #define S_028414_BLEND_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
607 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
610 #define S_028418_BLEND_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
611 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
614 #define S_02841C_BLEND_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
615 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
618 #define S_028420_BLEND_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
619 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
622 #define S_028430_STENCILREF(x) (((unsigned)(x) & 0xFF) << 0) argument
623 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
625 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
626 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
628 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
629 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
632 #define S_028434_STENCILREF_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
633 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
635 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
636 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
638 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
639 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
650 #define S_028804_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
651 #define G_028804_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
674 #define S_028804_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x7) << 5) argument
675 #define G_028804_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
682 #define S_028804_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
683 #define G_028804_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
685 #define S_028804_OPACITY_WEIGHT(x) (((unsigned)(x) & 0x1) << 13) argument
686 #define G_028804_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
688 #define S_028804_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
689 #define G_028804_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
691 #define S_028804_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x7) << 21) argument
692 #define G_028804_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
694 #define S_028804_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
695 #define G_028804_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
697 #define S_028804_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
698 #define G_028804_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
701 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
702 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
704 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
705 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
707 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
708 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
710 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
711 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
713 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x7) << 5) argument
714 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
716 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x7) << 8) argument
717 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
719 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
720 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
722 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
723 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
725 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
726 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
728 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
729 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
731 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
732 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
734 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
735 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
737 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
738 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
741 #define S_028000_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
742 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
744 #define S_028000_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
745 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
748 #define S_028004_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
749 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
751 #define S_028004_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
752 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
755 #define S_028D24_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
756 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
758 #define S_028D24_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
759 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
761 #define S_028D24_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
762 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
764 #define S_028D24_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
765 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
767 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
768 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
770 #define S_028D24_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
771 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
773 #define S_028D24_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
774 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
776 #define S_028D24_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
777 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
780 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
781 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
784 #define S_028D0C_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
785 #define S_028D0C_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
786 #define S_028D0C_DEPTH_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
787 #define S_028D0C_STENCIL_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
788 #define S_028D0C_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
789 #define S_028D0C_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
790 #define S_028D0C_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
791 #define S_028D0C_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
792 #define S_028D0C_COPY_SAMPLE(x) (((unsigned)(x) & 0x03) << 8) argument
793 #define S_028D0C_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 11) argument
794 #define S_028D0C_R700_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 15) argument
795 #define S_028D0C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 13) argument
796 #define G_028D0C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 13) & 0x03) argument
807 #define S_028D10_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
808 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
810 #define S_028D10_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
811 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
813 #define S_028D10_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
814 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
816 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
817 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
819 #define S_028D10_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
820 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
822 #define S_028D10_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
823 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
825 #define S_028D10_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
826 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
828 #define S_028D10_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
829 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
831 #define S_028D10_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
832 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
834 #define S_028D10_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
835 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
837 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
838 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
840 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
841 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
843 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
844 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
846 #define S_028D10_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
847 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
849 #define S_028D10_MAX_TILES_IN_DTT(x) (((unsigned)(x) & 0x1F) << 21) argument
850 #define G_028D10_MAX_TILES_IN_DTT(x) (((x) >> 21) & 0x1F) argument
853 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
854 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
856 #define S_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
857 #define G_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
859 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
860 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
866 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
867 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
869 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
870 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
872 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 9) argument
873 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
876 #define S_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
877 #define G_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
879 #define S_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
880 #define G_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
883 #define S_028E00_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
884 #define G_028E00_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
887 #define S_028E04_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
888 #define G_028E04_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
891 #define S_028E08_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
892 #define G_028E08_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
895 #define S_028E0C_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
896 #define G_028E0C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
899 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << 0) argument
900 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
902 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 16) argument
903 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
906 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << 0) argument
907 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
908 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
909 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x3) << 29) argument
911 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
912 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
914 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
915 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
917 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
918 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
922 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
927 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
928 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
930 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
931 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
933 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
934 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
936 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
937 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
939 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
940 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
942 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
943 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
945 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
946 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
948 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
949 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
952 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
953 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
955 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
956 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
958 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
959 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
961 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
962 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
964 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
965 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
967 #define S_0286CC_PARAM_GEN_ADDR(x) (((unsigned)(x) & 0x7F) << 19) argument
968 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
970 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((unsigned)(x) & 0x3) << 26) argument
971 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
973 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
974 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
976 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
977 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
979 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
980 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
982 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
983 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
986 #define S_0286D0_GEN_INDEX_PIX(x) (((unsigned)(x) & 0x1) << 0) argument
987 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
989 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((unsigned)(x) & 0x7F) << 1) argument
990 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
992 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
993 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
995 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
996 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
998 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
999 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
1001 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
1002 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
1004 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
1005 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
1007 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
1008 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
1010 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
1011 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
1014 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
1015 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
1017 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
1018 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
1020 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
1021 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
1023 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
1024 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
1027 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1028 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
1030 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1031 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
1033 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1034 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1037 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1038 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
1040 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1041 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
1044 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1045 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1047 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1048 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1051 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1052 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1054 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1055 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1058 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1059 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
1061 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1062 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
1064 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1065 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1068 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1069 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
1071 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1072 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
1075 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
1076 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
1081 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
1082 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
1084 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
1085 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
1087 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
1088 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
1090 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
1091 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
1094 #define S_038000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
1095 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
1105 #define S_038000_TILE_MODE(x) (((unsigned)(x) & 0xF) << 3) argument
1106 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
1112 #define S_038000_TILE_TYPE(x) (((unsigned)(x) & 0x1) << 7) argument
1113 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
1115 #define S_038000_PITCH(x) (((unsigned)(x) & 0x7FF) << 8) argument
1116 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
1118 #define S_038000_TEX_WIDTH(x) (((unsigned)(x) & 0x1FFF) << 19) argument
1119 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
1122 #define S_038004_TEX_HEIGHT(x) (((unsigned)(x) & 0x1FFF) << 0) argument
1123 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
1125 #define S_038004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 13) argument
1126 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
1128 #define S_038004_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 26) argument
1129 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
1132 #define S_038008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1133 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1136 #define S_03800C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1137 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1140 #define S_038010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
1141 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1146 #define S_038010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
1147 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1149 #define S_038010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
1150 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1152 #define S_038010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
1153 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1155 #define S_038010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
1156 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1161 #define S_038010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
1162 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1166 #define S_038010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
1167 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1169 #define S_038010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
1170 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1172 #define S_038010_REQUEST_SIZE(x) (((unsigned)(x) & 0x3) << 14) argument
1173 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
1175 #define S_038010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
1176 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1184 #define S_038010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
1185 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1187 #define S_038010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
1188 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1190 #define S_038010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
1191 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1193 #define S_038010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
1194 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1197 #define S_038014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
1198 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1200 #define S_038014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
1201 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1203 #define S_038014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
1204 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1207 #define S_038018_MPEG_CLAMP(x) (((unsigned)(x) & 0x3) << 0) argument
1208 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
1210 #define S_038018_MAX_ANISO(x) (((unsigned)(x) & 0x7) << 2) argument
1211 #define G_038018_MAX_ANISO(x) (((x) >> 2) & 0x7) argument
1213 #define S_038018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 5) argument
1214 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
1216 #define S_038018_INTERLACED(x) (((unsigned)(x) & 0x1) << 8) argument
1217 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
1219 #define S_038018_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
1220 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
1227 #define S_038008_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1228 #define G_038008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1230 #define S_038008_STRIDE(x) (((unsigned)(x) & 0x7FF) << 8) argument
1231 #define G_038008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1233 #define S_038008_CLAMP_X(x) (((unsigned)(x) & 0x1) << 19) argument
1234 #define G_038008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1236 #define S_038008_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 20) argument
1237 #define G_038008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1240 #define S_038008_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 26) argument
1241 #define G_038008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1246 #define S_038008_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 28) argument
1247 #define G_038008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1249 #define S_038008_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 29) argument
1250 #define G_038008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1252 #define S_038008_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 30) argument
1253 #define G_038008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1256 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
1257 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1267 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
1268 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1270 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
1271 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1273 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x7) << 9) argument
1274 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
1281 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x7) << 12) argument
1282 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
1284 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
1285 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
1290 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 17) argument
1291 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
1293 #define S_03C000_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 19) argument
1294 #define G_03C000_MAX_ANISO_RATIO(x) (((x) >> 19) & 0x7) argument
1296 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 22) argument
1297 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
1303 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((unsigned)(x) & 0x1) << 24) argument
1304 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
1306 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((unsigned)(x) & 0x1) << 25) argument
1307 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
1309 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 26) argument
1310 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
1320 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 29) argument
1321 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
1326 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((unsigned)(x) & 0x1) << 31) argument
1327 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
1330 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0x3FF) << 0) argument
1331 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
1333 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0x3FF) << 10) argument
1334 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
1336 #define S_03C004_LOD_BIAS(x) (((unsigned)(x) & 0xFFF) << 20) argument
1337 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
1340 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0xFFF) << 0) argument
1341 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
1343 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 12) argument
1344 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
1346 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 13) argument
1347 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
1349 #define S_03C008_HIGH_PRECISION_FILTER(x) (((unsigned)(x) & 0x1) << 14) argument
1350 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
1352 #define S_03C008_PERF_MIP(x) (((unsigned)(x) & 0x7) << 15) argument
1353 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
1355 #define S_03C008_PERF_Z(x) (((unsigned)(x) & 0x3) << 18) argument
1356 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
1358 #define S_03C008_ANISO_BIAS(x) (((unsigned)(x) & 0x3f) << 22) argument
1359 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1361 #define S_03C008_FETCH_4(x) (((unsigned)(x) & 0x1) << 26) argument
1362 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
1364 #define S_03C008_SAMPLE_IS_PCF(x) (((unsigned)(x) & 0x1) << 27) argument
1365 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
1367 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
1368 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1371 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1372 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1404 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
1405 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1407 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
1408 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1410 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
1411 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1413 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
1414 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1416 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
1417 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1419 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
1420 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1422 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
1423 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1425 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
1426 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1428 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
1429 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1431 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
1432 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1434 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
1435 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1437 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
1438 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1440 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
1441 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1443 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
1444 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1446 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
1447 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1449 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
1450 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1452 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
1453 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1455 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
1456 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1458 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
1459 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1461 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
1462 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1464 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
1465 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1467 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
1468 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1470 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
1471 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1473 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
1474 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1477 #define S_028868_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1478 #define G_028868_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1480 #define S_028868_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1481 #define G_028868_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1483 #define S_028868_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1484 #define G_028868_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1486 #define S_028868_FETCH_CACHE_LINES(x) (((unsigned)(x) & 0x7) << 24) argument
1487 #define G_028868_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1489 #define S_028868_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1490 #define G_028868_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1493 #define S_028850_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1494 #define G_028850_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1496 #define S_028850_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1497 #define G_028850_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1499 #define S_028850_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1500 #define G_028850_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1502 #define S_028850_FETCH_CACHE_LINES(x) (((unsigned)(x) & 0x7) << 24) argument
1503 #define G_028850_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1505 #define S_028850_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1506 #define G_028850_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1508 #define S_028850_CLAMP_CONSTS(x) (((unsigned)(x) & 0x1) << 31) argument
1509 #define G_028850_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1512 #define S_028644_SEMANTIC(x) (((unsigned)(x) & 0xFF) << 0) argument
1513 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1515 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x3) << 8) argument
1516 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1518 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
1519 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1521 #define S_028644_SEL_CENTROID(x) (((unsigned)(x) & 0x1) << 11) argument
1522 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1524 #define S_028644_SEL_LINEAR(x) (((unsigned)(x) & 0x1) << 12) argument
1525 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1527 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0xF) << 13) argument
1528 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1530 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
1531 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1533 #define S_028644_SEL_SAMPLE(x) (((unsigned)(x) & 0x1) << 18) argument
1534 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1537 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1538 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1540 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
1541 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1543 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x7) << 2) argument
1544 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1546 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x7) << 5) argument
1547 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1549 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x7) << 8) argument
1550 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1552 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x7) << 11) argument
1553 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1555 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
1556 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1596 #define S_028C30_CLRCMP_FCN_SRC(x) (((unsigned)(x) & 0x7) << 0) argument
1597 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
1599 #define S_028C30_CLRCMP_FCN_DST(x) (((unsigned)(x) & 0x7) << 8) argument
1600 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
1602 #define S_028C30_CLRCMP_FCN_SEL(x) (((unsigned)(x) & 0x3) << 24) argument
1603 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
1606 #define S_028C20_S4_X(x) (((unsigned)(x) & 0xF) << 0) argument
1607 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
1609 #define S_028C20_S4_Y(x) (((unsigned)(x) & 0xF) << 4) argument
1610 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
1612 #define S_028C20_S5_X(x) (((unsigned)(x) & 0xF) << 8) argument
1613 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
1615 #define S_028C20_S5_Y(x) (((unsigned)(x) & 0xF) << 12) argument
1616 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
1618 #define S_028C20_S6_X(x) (((unsigned)(x) & 0xF) << 16) argument
1619 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
1621 #define S_028C20_S6_Y(x) (((unsigned)(x) & 0xF) << 20) argument
1622 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
1624 #define S_028C20_S7_X(x) (((unsigned)(x) & 0xF) << 24) argument
1625 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
1627 #define S_028C20_S7_Y(x) (((unsigned)(x) & 0xF) << 28) argument
1628 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
1631 #define S_0280A0_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
1632 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
1634 #define S_0280A0_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
1635 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
1671 #define S_0280A0_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
1672 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
1678 #define S_0280A0_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
1679 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
1681 #define S_0280A0_READ_SIZE(x) (((unsigned)(x) & 0x1) << 15) argument
1682 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
1684 #define S_0280A0_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
1685 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
1687 #define S_0280A0_TILE_MODE(x) (((unsigned)(x) & 0x3) << 18) argument
1688 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
1690 #define S_0280A0_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 20) argument
1691 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
1693 #define S_0280A0_CLEAR_COLOR(x) (((unsigned)(x) & 0x1) << 21) argument
1694 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
1696 #define S_0280A0_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 22) argument
1697 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
1699 #define S_0280A0_BLEND_FLOAT32(x) (((unsigned)(x) & 0x1) << 23) argument
1700 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
1702 #define S_0280A0_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 24) argument
1703 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
1705 #define S_0280A0_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 25) argument
1706 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
1708 #define S_0280A0_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
1709 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1711 #define S_0280A0_SOURCE_FORMAT(x) (((unsigned)(x) & 0x1) << 27) argument
1712 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
1715 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1716 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1718 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
1719 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1722 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1723 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
1725 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
1726 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
1728 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
1729 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
1731 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
1732 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
1734 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1735 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
1737 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
1738 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
1740 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
1741 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
1743 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
1744 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
1746 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
1747 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
1749 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
1750 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
1752 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
1753 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
1755 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
1756 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
1758 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
1759 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
1762 #define S_028010_FORMAT(x) (((unsigned)(x) & 0x7) << 0) argument
1763 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
1773 #define S_028010_READ_SIZE(x) (((unsigned)(x) & 0x1) << 3) argument
1774 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
1776 #define S_028010_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 15) argument
1777 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
1779 #define S_028010_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
1780 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
1782 #define S_028010_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
1783 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1785 #define S_028010_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
1786 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
1789 #define S_028000_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1790 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1792 #define S_028000_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
1793 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1796 #define S_028004_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
1797 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1799 #define S_028004_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
1800 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1803 #define S_028D24_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
1804 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
1806 #define S_028D24_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
1807 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
1809 #define S_028D24_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
1810 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
1812 #define S_028D24_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
1813 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
1815 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
1816 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
1818 #define S_028D24_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
1819 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
1821 #define S_028D24_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
1822 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
1824 #define S_028D24_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
1825 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
1828 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1829 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1832 #define S_028D10_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
1833 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1835 #define S_028D10_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
1836 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1838 #define S_028D10_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
1839 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1841 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
1842 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1844 #define S_028D10_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1845 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1847 #define S_028D10_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
1848 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1850 #define S_028D10_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
1851 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1853 #define S_028D10_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
1854 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1856 #define S_028D10_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
1857 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1859 #define S_028D10_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
1860 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1862 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
1863 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1865 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
1866 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1868 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
1869 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1871 #define S_028D10_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
1872 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1875 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
1876 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
1882 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
1883 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
1885 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
1886 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
1893 #define S_008DFC_ADDR(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1894 #define G_008DFC_ADDR(x) (((x) >> 0) & 0xFFFFFFFF) argument
1897 #define S_008DFC_POP_COUNT(x) (((unsigned)(x) & 0x7) << 0) argument
1898 #define G_008DFC_POP_COUNT(x) (((x) >> 0) & 0x7) argument
1900 #define S_008DFC_CF_CONST(x) (((unsigned)(x) & 0x1F) << 3) argument
1901 #define G_008DFC_CF_CONST(x) (((x) >> 3) & 0x1F) argument
1903 #define S_008DFC_COND(x) (((unsigned)(x) & 0x3) << 8) argument
1904 #define G_008DFC_COND(x) (((x) >> 8) & 0x3) argument
1906 #define S_008DFC_COUNT(x) (((unsigned)(x) & 0x7) << 10) argument
1907 #define G_008DFC_COUNT(x) (((x) >> 10) & 0x7) argument
1909 #define S_008DFC_CALL_COUNT(x) (((unsigned)(x) & 0x3F) << 13) argument
1910 #define G_008DFC_CALL_COUNT(x) (((x) >> 13) & 0x3F) argument
1912 #define S_008DFC_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
1913 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1915 #define S_008DFC_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1916 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
1918 #define S_008DFC_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
1919 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
1921 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
1922 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1924 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
1925 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1928 #define S_008DFC_ALU_ADDR(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
1929 #define G_008DFC_ALU_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
1931 #define S_008DFC_KCACHE_BANK0(x) (((unsigned)(x) & 0xF) << 22) argument
1932 #define G_008DFC_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
1934 #define S_008DFC_KCACHE_BANK1(x) (((unsigned)(x) & 0xF) << 26) argument
1935 #define G_008DFC_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
1937 #define S_008DFC_KCACHE_MODE0(x) (((unsigned)(x) & 0x3) << 30) argument
1938 #define G_008DFC_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
1941 #define S_008DFC_KCACHE_MODE1(x) (((unsigned)(x) & 0x3) << 0) argument
1942 #define G_008DFC_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
1944 #define S_008DFC_KCACHE_ADDR0(x) (((unsigned)(x) & 0xFF) << 2) argument
1945 #define G_008DFC_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
1947 #define S_008DFC_KCACHE_ADDR1(x) (((unsigned)(x) & 0xFF) << 10) argument
1948 #define G_008DFC_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
1950 #define S_008DFC_ALU_COUNT(x) (((unsigned)(x) & 0x7F) << 18) argument
1951 #define G_008DFC_ALU_COUNT(x) (((x) >> 18) & 0x7F) argument
1953 #define S_008DFC_USES_WATERFALL(x) (((unsigned)(x) & 0x1) << 25) argument
1954 #define G_008DFC_USES_WATERFALL(x) (((x) >> 25) & 0x1) argument
1956 #define S_008DFC_CF_ALU_INST(x) (((unsigned)(x) & 0xF) << 26) argument
1957 #define G_008DFC_CF_ALU_INST(x) (((x) >> 26) & 0xF) argument
1966 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
1967 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1969 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
1970 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1973 #define S_008DFC_ARRAY_BASE(x) (((unsigned)(x) & 0x1FFF) << 0) argument
1974 #define G_008DFC_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
1976 #define S_008DFC_TYPE(x) (((unsigned)(x) & 0x3) << 13) argument
1977 #define G_008DFC_TYPE(x) (((x) >> 13) & 0x3) argument
1979 #define S_008DFC_RW_GPR(x) (((unsigned)(x) & 0x7F) << 15) argument
1980 #define G_008DFC_RW_GPR(x) (((x) >> 15) & 0x7F) argument
1982 #define S_008DFC_RW_REL(x) (((unsigned)(x) & 0x1) << 22) argument
1983 #define G_008DFC_RW_REL(x) (((x) >> 22) & 0x1) argument
1985 #define S_008DFC_INDEX_GPR(x) (((unsigned)(x) & 0x7F) << 23) argument
1986 #define G_008DFC_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
1988 #define S_008DFC_ELEM_SIZE(x) (((unsigned)(x) & 0x3) << 30) argument
1989 #define G_008DFC_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
1992 #define S_008DFC_BURST_COUNT(x) (((unsigned)(x) & 0xF) << 17) argument
1993 #define G_008DFC_BURST_COUNT(x) (((x) >> 17) & 0xF) argument
1995 #define S_008DFC_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
1996 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1998 #define S_008DFC_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1999 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
2001 #define S_008DFC_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
2002 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
2004 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
2005 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
2007 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
2008 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
2011 #define S_008DFC_ARRAY_SIZE(x) (((unsigned)(x) & 0xFFF) << 0) argument
2012 #define G_008DFC_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
2014 #define S_008DFC_COMP_MASK(x) (((unsigned)(x) & 0xF) << 12) argument
2015 #define G_008DFC_COMP_MASK(x) (((x) >> 12) & 0xF) argument
2018 #define S_008DFC_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
2019 #define G_008DFC_SEL_X(x) (((x) >> 0) & 0x7) argument
2021 #define S_008DFC_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
2022 #define G_008DFC_SEL_Y(x) (((x) >> 3) & 0x7) argument
2024 #define S_008DFC_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
2025 #define G_008DFC_SEL_Z(x) (((x) >> 6) & 0x7) argument
2027 #define S_008DFC_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
2028 #define G_008DFC_SEL_W(x) (((x) >> 9) & 0x7) argument
2031 #define S_008DFC_VTX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
2032 #define G_008DFC_VTX_INST(x) (((x) >> 0) & 0x1F) argument
2034 #define S_008DFC_FETCH_TYPE(x) (((unsigned)(x) & 0x3) << 5) argument
2035 #define G_008DFC_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
2037 #define S_008DFC_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
2038 #define G_008DFC_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
2040 #define S_008DFC_BUFFER_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
2041 #define G_008DFC_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
2043 #define S_008DFC_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
2044 #define G_008DFC_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
2046 #define S_008DFC_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
2047 #define G_008DFC_SRC_REL(x) (((x) >> 23) & 0x1) argument
2049 #define S_008DFC_SRC_SEL_X(x) (((unsigned)(x) & 0x3) << 24) argument
2050 #define G_008DFC_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
2052 #define S_008DFC_MEGA_FETCH_COUNT(x) (((unsigned)(x) & 0x3F) << 26) argument
2053 #define G_008DFC_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
2056 #define S_008DFC_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
2057 #define G_008DFC_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
2059 #define S_008DFC_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
2060 #define G_008DFC_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
2062 #define S_008DFC_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
2063 #define G_008DFC_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
2065 #define S_008DFC_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
2066 #define G_008DFC_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
2068 #define S_008DFC_USE_CONST_FIELDS(x) (((unsigned)(x) & 0x1) << 21) argument
2069 #define G_008DFC_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
2071 #define S_008DFC_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 22) argument
2072 #define G_008DFC_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
2074 #define S_008DFC_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 28) argument
2075 #define G_008DFC_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
2077 #define S_008DFC_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 30) argument
2078 #define G_008DFC_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
2080 #define S_008DFC_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 31) argument
2081 #define G_008DFC_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
2084 #define S_008DFC_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
2085 #define G_008DFC_DST_GPR(x) (((x) >> 0) & 0x7F) argument
2087 #define S_008DFC_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
2088 #define G_008DFC_DST_REL(x) (((x) >> 7) & 0x1) argument
2091 #define S_008DFC_OFFSET(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2092 #define G_008DFC_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
2094 #define S_008DFC_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
2095 #define G_008DFC_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
2097 #define S_008DFC_CONST_BUF_NO_STRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
2098 #define G_008DFC_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
2100 #define S_008DFC_MEGA_FETCH(x) (((unsigned)(x) & 0x1) << 19) argument
2101 #define G_008DFC_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
2103 #define S_008DFC_ALT_CONST(x) (((unsigned)(x) & 0x1) << 20) argument
2104 #define G_008DFC_ALT_CONST(x) (((x) >> 20) & 0x1) argument
2107 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
2108 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2110 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
2111 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2113 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
2114 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2116 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
2117 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2119 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
2120 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2122 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
2123 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2125 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
2126 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2128 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
2129 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2132 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
2133 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
2135 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2136 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
2138 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
2139 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
2141 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
2142 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
2144 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
2145 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
2147 #define S_0286CC_PARAM_GEN_ADDR(x) (((unsigned)(x) & 0x7F) << 19) argument
2148 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
2150 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((unsigned)(x) & 0x3) << 26) argument
2151 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
2153 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
2154 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
2156 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
2157 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
2159 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
2160 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
2162 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
2163 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
2166 #define S_0286D0_GEN_INDEX_PIX(x) (((unsigned)(x) & 0x1) << 0) argument
2167 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
2169 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((unsigned)(x) & 0x7F) << 1) argument
2170 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
2172 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2173 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
2175 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
2176 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
2178 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
2179 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
2181 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
2182 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
2184 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
2185 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
2187 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
2188 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
2190 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
2191 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
2194 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
2195 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
2197 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
2198 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
2200 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
2201 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
2203 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
2204 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
2207 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2208 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2210 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2211 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2213 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2214 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2217 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2218 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2220 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2221 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2224 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2225 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2227 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2228 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2231 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2232 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2234 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2235 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2238 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2239 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2241 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2242 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2244 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2245 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2248 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2249 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2251 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2252 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2255 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
2256 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
2258 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
2259 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
2261 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
2262 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
2264 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
2265 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
2267 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
2268 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
2287 #define S_028C00_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
2288 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
2290 #define S_028C00_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
2291 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
2295 #define S_028C08_PIX_CENTER_HALF(x) (((unsigned)(x) & 0x1) << 0) argument
2296 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
2298 #define S_028C08_QUANT_MODE(x) (((unsigned)(x) & 0x7) << 3) argument
2299 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
2319 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2320 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2322 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << 16) argument
2323 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2326 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2327 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
2337 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2338 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0 & 0x1) argument
2340 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2341 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1 & 0x1) argument
2343 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
2344 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2 & 0x1) argument
2346 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
2347 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3 & 0x1) argument
2349 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
2350 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4 & 0x1) argument
2352 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
2353 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5 & 0x1) argument
2355 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
2356 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
2358 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
2359 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
2361 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
2362 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
2393 #define S_028D44_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2394 #define S_028D44_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x3) << 8) argument
2395 #define S_028D44_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x3) << 10) argument
2396 #define S_028D44_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x3) << 12) argument
2397 #define S_028D44_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x3) << 14) argument
2398 #define S_028D44_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
2401 #define S_028890_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2402 #define G_028890_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
2404 #define S_028890_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
2405 #define G_028890_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
2407 #define S_028890_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2408 #define G_028890_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2411 #define S_02887C_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2412 #define G_02887C_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
2414 #define S_02887C_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
2415 #define G_02887C_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
2417 #define S_02887C_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2418 #define G_02887C_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2456 #define S_028854_EXPORT_COLORS(x) (((unsigned)(x) & 0xF) << 1) argument
2457 #define G_028854_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
2459 #define S_028854_EXPORT_Z(x) (((unsigned)(x) & 0x1) << 0) argument
2460 #define G_028854_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
2470 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
2471 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
2473 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
2474 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
2492 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2493 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2495 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2496 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2499 #define S_028C04_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 0) argument
2500 #define G_028C04_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x3) argument
2502 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2503 #define G_028C04_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
2505 #define S_028C04_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0xF) << 13) argument
2506 #define G_028C04_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0xF) argument
2519 #define S_028080_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
2520 #define G_028080_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
2522 #define S_028080_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
2523 #define G_028080_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
2533 #define S_028100_CMASK_BLOCK_MAX(x) (((unsigned)(x) & 0xFFF) << 0) argument
2534 #define G_028100_CMASK_BLOCK_MAX(x) (((x) >> 0) & 0xFFF) argument
2536 #define S_028100_FMASK_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 12) argument
2537 #define G_028100_FMASK_TILE_MAX(x) (((x) >> 12) & 0xFFFFF) argument
2547 #define S_028040_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2548 #define G_028040_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2551 #define S_0280E0_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2552 #define G_0280E0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2562 #define S_0280C0_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2563 #define G_0280C0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2573 #define S_028614_SEMANTIC_0(x) (((unsigned)(x) & 0xFF) << 0) argument
2574 #define G_028614_SEMANTIC_0(x) (((x) >> 0) & 0xFF) argument
2576 #define S_028614_SEMANTIC_1(x) (((unsigned)(x) & 0xFF) << 8) argument
2577 #define G_028614_SEMANTIC_1(x) (((x) >> 8) & 0xFF) argument
2579 #define S_028614_SEMANTIC_2(x) (((unsigned)(x) & 0xFF) << 16) argument
2580 #define G_028614_SEMANTIC_2(x) (((x) >> 16) & 0xFF) argument
2582 #define S_028614_SEMANTIC_3(x) (((unsigned)(x) & 0xFF) << 24) argument
2583 #define G_028614_SEMANTIC_3(x) (((x) >> 24) & 0xFF) argument
2595 #define S_038000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
2596 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
2598 #define S_038000_TILE_MODE(x) (((unsigned)(x) & 0xF) << 3) argument
2599 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
2601 #define S_038000_TILE_TYPE(x) (((unsigned)(x) & 0x1) << 7) argument
2602 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
2604 #define S_038000_PITCH(x) (((unsigned)(x) & 0x7FF) << 8) argument
2605 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
2607 #define S_038000_TEX_WIDTH(x) (((unsigned)(x) & 0x1FFF) << 19) argument
2608 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
2611 #define S_038004_TEX_HEIGHT(x) (((unsigned)(x) & 0x1FFF) << 0) argument
2612 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
2614 #define S_038004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 13) argument
2615 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
2617 #define S_038004_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 26) argument
2618 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
2655 #define S_038008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2656 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2659 #define S_03800C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2660 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2663 #define S_038010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
2664 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
2666 #define S_038010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
2667 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
2669 #define S_038010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
2670 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
2672 #define S_038010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
2673 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
2675 #define S_038010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
2676 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
2678 #define S_038010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
2679 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
2681 #define S_038010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
2682 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
2684 #define S_038010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
2685 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
2687 #define S_038010_REQUEST_SIZE(x) (((unsigned)(x) & 0x3) << 14) argument
2688 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
2690 #define S_038010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
2691 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
2693 #define S_038010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
2694 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
2696 #define S_038010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
2697 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
2699 #define S_038010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
2700 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
2702 #define S_038010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
2703 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
2706 #define S_038014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
2707 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
2709 #define S_038014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
2710 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
2712 #define S_038014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
2713 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
2716 #define S_038018_MPEG_CLAMP(x) (((unsigned)(x) & 0x3) << 0) argument
2717 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
2719 #define S_038018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 5) argument
2720 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
2722 #define S_038018_INTERLACED(x) (((unsigned)(x) & 0x1) << 8) argument
2723 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
2725 #define S_038018_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
2726 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
2729 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
2730 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2732 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
2733 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2735 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
2736 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2738 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
2739 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2741 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
2742 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2744 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
2745 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2747 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
2748 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2750 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
2751 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2754 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
2755 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
2758 #define S_008C08_NUM_GS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2759 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
2761 #define S_008C08_NUM_ES_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
2762 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
2765 #define S_008D8C_RING0_OFFSET(x) (((unsigned)(x) & 0xFF) << 0) argument
2766 #define G_008D8C_RING0_OFFSET(x) (((x) >> 0) & 0xFF) argument
2768 #define S_008D8C_ISOLATE_ES_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
2769 #define G_008D8C_ISOLATE_ES_ENABLE(x) (((x) >> 12) & 0x1) argument
2771 #define S_008D8C_ISOLATE_GS_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
2772 #define G_008D8C_ISOLATE_GS_ENABLE(x) (((x) >> 13) & 0x1) argument
2774 #define S_008D8C_VS_PC_LIMIT_ENABLE(x) (((unsigned)(x) & 0x1) << 14) argument
2775 #define G_008D8C_VS_PC_LIMIT_ENABLE(x) (((x) >> 14) & 0x1) argument
2778 #define S_009508_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 0) argument
2779 #define G_009508_DISABLE_CUBE_WRAP(x) (((x) >> 0) & 0x1) argument
2781 #define S_009508_DISABLE_CUBE_ANISO(x) (((unsigned)(x) & 0x1) << 1) argument
2782 #define G_009508_DISABLE_CUBE_ANISO(x) (((x) >> 1) & 0x1) argument
2784 #define S_009508_SYNC_GRADIENT(x) (((unsigned)(x) & 0x1) << 24) argument
2785 #define G_009508_SYNC_GRADIENT(x) (((x) >> 24) & 0x1) argument
2787 #define S_009508_SYNC_WALKER(x) (((unsigned)(x) & 0x1) << 25) argument
2788 #define G_009508_SYNC_WALKER(x) (((x) >> 25) & 0x1) argument
2790 #define S_009508_SYNC_ALIGNER(x) (((unsigned)(x) & 0x1) << 26) argument
2791 #define G_009508_SYNC_ALIGNER(x) (((x) >> 26) & 0x1) argument
2793 #define S_009508_BILINEAR_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
2794 #define G_009508_BILINEAR_PRECISION(x) (((x) >> 31) & 0x1) argument
2799 #define S_009838_DEPTH_FREE(x) (((unsigned)(x) & 0x1F) << 0) argument
2800 #define G_009838_DEPTH_FREE(x) (((x) >> 0) & 0x1F) argument
2802 #define S_009838_DEPTH_FLUSH(x) (((unsigned)(x) & 0x3F) << 5) argument
2803 #define G_009838_DEPTH_FLUSH(x) (((x) >> 5) & 0x3F) argument
2805 #define S_009838_FORCE_SUMMARIZE(x) (((unsigned)(x) & 0xF) << 11) argument
2806 #define G_009838_FORCE_SUMMARIZE(x) (((x) >> 11) & 0xF) argument
2808 #define S_009838_DEPTH_PENDING_FREE(x) (((unsigned)(x) & 0x1F) << 15) argument
2809 #define G_009838_DEPTH_PENDING_FREE(x) (((x) >> 15) & 0x1F) argument
2811 #define S_009838_DEPTH_CACHELINE_FREE(x) (((unsigned)(x) & 0x1F) << 20) argument
2812 #define G_009838_DEPTH_CACHELINE_FREE(x) (((x) >> 20) & 0x1F) argument
2814 #define S_009838_EARLY_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
2815 #define G_009838_EARLY_Z_PANIC_DISABLE(x) (((x) >> 25) & 0x1) argument
2817 #define S_009838_LATE_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
2818 #define G_009838_LATE_Z_PANIC_DISABLE(x) (((x) >> 26) & 0x1) argument
2820 #define S_009838_RE_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
2821 #define G_009838_RE_Z_PANIC_DISABLE(x) (((x) >> 27) & 0x1) argument
2823 #define S_009838_DB_EXTRA_DEBUG(x) (((unsigned)(x) & 0xF) << 28) argument
2824 #define G_009838_DB_EXTRA_DEBUG(x) (((x) >> 28) & 0xF) argument
2827 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2828 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2830 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2831 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2834 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2835 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2837 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2838 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2841 #define S_028200_WINDOW_X_OFFSET(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2842 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
2844 #define S_028200_WINDOW_Y_OFFSET(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2845 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0x7FFF) argument
2848 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2849 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2851 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2852 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2854 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2855 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2858 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2859 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2861 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2862 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2865 #define S_02820C_CLIP_RULE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2866 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
2869 #define S_028210_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2870 #define G_028210_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2872 #define S_028210_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2873 #define G_028210_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2876 #define S_028214_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2877 #define G_028214_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2879 #define S_028214_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2880 #define G_028214_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2890 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2891 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2893 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2894 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2896 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2897 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2900 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2901 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2903 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2904 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2907 #define S_0282D0_VPORT_ZMIN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2908 #define G_0282D0_VPORT_ZMIN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2911 #define S_0282D4_VPORT_ZMAX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2912 #define G_0282D4_VPORT_ZMAX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2915 #define S_028350_MULTIPASS(x) (((unsigned)(x) & 0x1) << 0) argument
2916 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
2919 #define S_028354_SURFACE_SYNC_MASK(x) (((unsigned)(x) & 0x1FF) << 0) argument
2921 #define S_028380_SEMANTIC_ID(x) (((unsigned)(x) & 0xFF) << 0) argument
2922 #define G_028380_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
2958 #define S_028400_MAX_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2959 #define G_028400_MAX_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2962 #define S_028404_MIN_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2963 #define G_028404_MIN_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2966 #define S_028408_INDX_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2967 #define G_028408_INDX_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2970 #define S_02840C_RESET_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2971 #define G_02840C_RESET_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2974 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
2975 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
2977 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
2978 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
2980 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
2981 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
2984 #define S_028414_BLEND_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2985 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
2988 #define S_028418_BLEND_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2989 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2992 #define S_02841C_BLEND_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2993 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2996 #define S_028420_BLEND_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2997 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3000 #define S_028438_ALPHA_REF(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3001 #define G_028438_ALPHA_REF(x) (((x) >> 0) & 0xFFFFFFFF) argument
3004 #define S_0286C8_PS_GROUPING(x) (((unsigned)(x) & 0x1F) << 0) argument
3005 #define G_0286C8_PS_GROUPING(x) (((x) >> 0) & 0x1F) argument
3007 #define S_0286C8_VS_GROUPING(x) (((unsigned)(x) & 0x1F) << 8) argument
3008 #define G_0286C8_VS_GROUPING(x) (((x) >> 8) & 0x1F) argument
3010 #define S_0286C8_GS_GROUPING(x) (((unsigned)(x) & 0x1F) << 16) argument
3011 #define G_0286C8_GS_GROUPING(x) (((x) >> 16) & 0x1F) argument
3013 #define S_0286C8_ES_GROUPING(x) (((unsigned)(x) & 0x1F) << 24) argument
3014 #define G_0286C8_ES_GROUPING(x) (((x) >> 24) & 0x1F) argument
3017 #define S_0286D8_PROVIDE_Z_TO_SPI(x) (((unsigned)(x) & 0x1) << 0) argument
3018 #define G_0286D8_PROVIDE_Z_TO_SPI(x) (((x) >> 0) & 0x1) argument
3021 #define S_0286DC_PASS_FOG_THROUGH_PS(x) (((unsigned)(x) & 0x1) << 0) argument
3022 #define G_0286DC_PASS_FOG_THROUGH_PS(x) (((x) >> 0) & 0x1) argument
3024 #define S_0286DC_PIXEL_FOG_FUNC(x) (((unsigned)(x) & 0x3) << 1) argument
3025 #define G_0286DC_PIXEL_FOG_FUNC(x) (((x) >> 1) & 0x3) argument
3027 #define S_0286DC_PIXEL_FOG_SRC_SEL(x) (((unsigned)(x) & 0x1) << 3) argument
3028 #define G_0286DC_PIXEL_FOG_SRC_SEL(x) (((x) >> 3) & 0x1) argument
3030 #define S_0286DC_VS_FOG_CLAMP_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3031 #define G_0286DC_VS_FOG_CLAMP_DISABLE(x) (((x) >> 4) & 0x1) argument
3034 #define S_0286E0_VALUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3035 #define G_0286E0_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3038 #define S_0286E4_VALUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3039 #define G_0286E4_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3042 #define S_0287A0_RT0_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3043 #define G_0287A0_RT0_ENABLE(x) (((x) >> 0) & 0x1) argument
3045 #define S_0287A0_RT1_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
3046 #define G_0287A0_RT1_ENABLE(x) (((x) >> 1) & 0x1) argument
3048 #define S_0287A0_RT2_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
3049 #define G_0287A0_RT2_ENABLE(x) (((x) >> 2) & 0x1) argument
3051 #define S_0287A0_RT3_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
3052 #define G_0287A0_RT3_ENABLE(x) (((x) >> 3) & 0x1) argument
3054 #define S_0287A0_RT4_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3055 #define G_0287A0_RT4_ENABLE(x) (((x) >> 4) & 0x1) argument
3057 #define S_0287A0_RT5_ENABLE(x) (((unsigned)(x) & 0x1) << 5) argument
3058 #define G_0287A0_RT5_ENABLE(x) (((x) >> 5) & 0x1) argument
3060 #define S_0287A0_RT6_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
3061 #define G_0287A0_RT6_ENABLE(x) (((x) >> 6) & 0x1) argument
3063 #define S_0287A0_RT7_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
3064 #define G_0287A0_RT7_ENABLE(x) (((x) >> 7) & 0x1) argument
3067 #define S_028894_PGM_START(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3068 #define G_028894_PGM_START(x) (((x) >> 0) & 0xFFFFFFFF) argument
3071 #define S_0288A4_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
3072 #define G_0288A4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
3074 #define S_0288A4_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
3075 #define G_0288A4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
3077 #define S_0288A4_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3078 #define G_0288A4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3081 #define S_0288A8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3082 #define G_0288A8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3085 #define S_0288AC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3086 #define G_0288AC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3089 #define S_0288B0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3090 #define G_0288B0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3093 #define S_0288B4_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3094 #define G_0288B4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3097 #define S_0288B8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3098 #define G_0288B8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3101 #define S_0288BC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3102 #define G_0288BC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3105 #define S_0288C0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3106 #define G_0288C0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3109 #define S_0288C4_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3110 #define G_0288C4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3113 #define S_0288C8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3114 #define G_0288C8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3117 #define S_0288DC_PGM_CF_OFFSET(x) (((unsigned)(x) & 0xFFFFF) << 0) argument
3118 #define G_0288DC_PGM_CF_OFFSET(x) (((x) >> 0) & 0xFFFFF) argument
3121 #define S_028A10_PATH_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
3122 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x3) argument
3125 #define S_028A14_TESS_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
3126 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x3) argument
3129 #define S_028A18_MAX_TESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3130 #define G_028A18_MAX_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
3133 #define S_028A1C_MIN_TESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3134 #define G_028A1C_MIN_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
3137 #define S_028A20_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
3138 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
3141 #define S_028A24_PRIM_TYPE(x) (((unsigned)(x) & 0x1F) << 0) argument
3142 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
3144 #define S_028A24_RETAIN_ORDER(x) (((unsigned)(x) & 0x1) << 14) argument
3145 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
3147 #define S_028A24_RETAIN_QUADS(x) (((unsigned)(x) & 0x1) << 15) argument
3148 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
3150 #define S_028A24_PRIM_ORDER(x) (((unsigned)(x) & 0x7) << 16) argument
3151 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x7) argument
3154 #define S_028A28_FIRST_DECR(x) (((unsigned)(x) & 0xF) << 0) argument
3155 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0xF) argument
3158 #define S_028A2C_DECR(x) (((unsigned)(x) & 0xF) << 0) argument
3159 #define G_028A2C_DECR(x) (((x) >> 0) & 0xF) argument
3162 #define S_028A30_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3163 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3165 #define S_028A30_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3166 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3168 #define S_028A30_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3169 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3171 #define S_028A30_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3172 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3174 #define S_028A30_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
3175 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
3177 #define S_028A30_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
3178 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
3181 #define S_028A34_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3182 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3184 #define S_028A34_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3185 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3187 #define S_028A34_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3188 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3190 #define S_028A34_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3191 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3193 #define S_028A34_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
3194 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
3196 #define S_028A34_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
3197 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
3200 #define S_028A38_X_CONV(x) (((unsigned)(x) & 0xF) << 0) argument
3201 #define G_028A38_X_CONV(x) (((x) >> 0) & 0xF) argument
3203 #define S_028A38_X_OFFSET(x) (((unsigned)(x) & 0xF) << 4) argument
3204 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3206 #define S_028A38_Y_CONV(x) (((unsigned)(x) & 0xF) << 8) argument
3207 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0xF) argument
3209 #define S_028A38_Y_OFFSET(x) (((unsigned)(x) & 0xF) << 12) argument
3210 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3212 #define S_028A38_Z_CONV(x) (((unsigned)(x) & 0xF) << 16) argument
3213 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0xF) argument
3215 #define S_028A38_Z_OFFSET(x) (((unsigned)(x) & 0xF) << 20) argument
3216 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3218 #define S_028A38_W_CONV(x) (((unsigned)(x) & 0xF) << 24) argument
3219 #define G_028A38_W_CONV(x) (((x) >> 24) & 0xF) argument
3221 #define S_028A38_W_OFFSET(x) (((unsigned)(x) & 0xF) << 28) argument
3222 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3225 #define S_028A3C_X_CONV(x) (((unsigned)(x) & 0xF) << 0) argument
3226 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0xF) argument
3228 #define S_028A3C_X_OFFSET(x) (((unsigned)(x) & 0xF) << 4) argument
3229 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3231 #define S_028A3C_Y_CONV(x) (((unsigned)(x) & 0xF) << 8) argument
3232 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0xF) argument
3234 #define S_028A3C_Y_OFFSET(x) (((unsigned)(x) & 0xF) << 12) argument
3235 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3237 #define S_028A3C_Z_CONV(x) (((unsigned)(x) & 0xF) << 16) argument
3238 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0xF) argument
3240 #define S_028A3C_Z_OFFSET(x) (((unsigned)(x) & 0xF) << 20) argument
3241 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3243 #define S_028A3C_W_CONV(x) (((unsigned)(x) & 0xF) << 24) argument
3244 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0xF) argument
3246 #define S_028A3C_W_OFFSET(x) (((unsigned)(x) & 0xF) << 28) argument
3247 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3250 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
3251 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
3253 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
3254 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
3256 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
3257 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
3260 #define S_028A4C_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3261 #define G_028A4C_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
3263 #define S_028A4C_CLIPRECT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
3264 #define G_028A4C_CLIPRECT_ENABLE(x) (((x) >> 1) & 0x1) argument
3266 #define S_028A4C_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
3267 #define G_028A4C_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
3269 #define S_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((unsigned)(x) & 0x1) << 3) argument
3270 #define G_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((x) >> 3) & 0x1) argument
3272 #define S_028A4C_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3273 #define G_028A4C_WALK_ORDER_ENABLE(x) (((x) >> 4) & 0x1) argument
3275 #define S_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((unsigned)(x) & 0x1) << 5) argument
3276 #define G_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((x) >> 5) & 0x1) argument
3278 #define S_028A4C_WALK_SIZE(x) (((unsigned)(x) & 0x1) << 6) argument
3279 #define G_028A4C_WALK_SIZE(x) (((x) >> 6) & 0x1) argument
3281 #define S_028A4C_WALK_ALIGNMENT(x) (((unsigned)(x) & 0x1) << 7) argument
3282 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 7) & 0x1) argument
3284 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((unsigned)(x) & 0x1) << 8) argument
3285 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 8) & 0x1) argument
3287 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((unsigned)(x) & 0x1) << 9) argument
3288 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 9) & 0x1) argument
3290 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((unsigned)(x) & 0x1) << 10) argument
3291 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 10) & 0x1) argument
3293 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3294 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 11) & 0x1) argument
3296 #define S_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
3297 #define G_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((x) >> 12) & 0x1) argument
3299 #define S_028A4C_TILE_COVER_DISABLE(x) (((unsigned)(x) & 0x1) << 13) argument
3300 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 13) & 0x1) argument
3302 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((unsigned)(x) & 0x1) << 14) argument
3303 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 14) & 0x1) argument
3305 #define S_028A4C_FORCE_EOV_TILE_ENABLE(x) (((unsigned)(x) & 0x1) << 15) argument
3306 #define G_028A4C_FORCE_EOV_TILE_ENABLE(x) (((x) >> 15) & 0x1) argument
3308 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
3309 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 16) & 0x1) argument
3311 #define S_028A4C_PS_ITER_SAMPLE(x) (((unsigned)(x) & 0x1) << 17) argument
3312 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 17) & 0x1) argument
3314 #define S_028A4C_R700_ZMM_LINE_OFFSET(x) (((unsigned)(x) & 0x1) << 20) argument
3315 #define S_028A4C_R700_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 22) argument
3317 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3318 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
3321 #define S_028A94_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3322 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
3325 #define S_028AA0_STEP_RATE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3326 #define G_028AA0_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3329 #define S_028AA4_STEP_RATE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3330 #define G_028AA4_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3333 #define S_028AB0_STREAMOUT(x) (((unsigned)(x) & 0x1) << 0) argument
3334 #define G_028AB0_STREAMOUT(x) (((x) >> 0) & 0x1) argument
3337 #define S_028AB4_REUSE_OFF(x) (((unsigned)(x) & 0x1) << 0) argument
3338 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
3341 #define S_028AB8_VTX_CNT_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3342 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
3365 #define S_028B20_BUFFER_0_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3366 #define G_028B20_BUFFER_0_EN(x) (((x) >> 0) & 0x1) argument
3368 #define S_028B20_BUFFER_1_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3369 #define G_028B20_BUFFER_1_EN(x) (((x) >> 1) & 0x1) argument
3371 #define S_028B20_BUFFER_2_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3372 #define G_028B20_BUFFER_2_EN(x) (((x) >> 2) & 0x1) argument
3374 #define S_028B20_BUFFER_3_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3375 #define G_028B20_BUFFER_3_EN(x) (((x) >> 3) & 0x1) argument
3381 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
3387 #define S_028C20_S4_X(x) (((unsigned)(x) & 0xF) << 0) argument
3388 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
3390 #define S_028C20_S4_Y(x) (((unsigned)(x) & 0xF) << 4) argument
3391 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
3393 #define S_028C20_S5_X(x) (((unsigned)(x) & 0xF) << 8) argument
3394 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
3396 #define S_028C20_S5_Y(x) (((unsigned)(x) & 0xF) << 12) argument
3397 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
3399 #define S_028C20_S6_X(x) (((unsigned)(x) & 0xF) << 16) argument
3400 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
3402 #define S_028C20_S6_Y(x) (((unsigned)(x) & 0xF) << 20) argument
3403 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
3405 #define S_028C20_S7_X(x) (((unsigned)(x) & 0xF) << 24) argument
3406 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
3408 #define S_028C20_S7_Y(x) (((unsigned)(x) & 0xF) << 28) argument
3409 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
3412 #define S_028C30_CLRCMP_FCN_SRC(x) (((unsigned)(x) & 0x7) << 0) argument
3413 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
3415 #define S_028C30_CLRCMP_FCN_DST(x) (((unsigned)(x) & 0x7) << 8) argument
3416 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
3418 #define S_028C30_CLRCMP_FCN_SEL(x) (((unsigned)(x) & 0x3) << 24) argument
3419 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
3422 #define S_028C34_CLRCMP_SRC(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3423 #define G_028C34_CLRCMP_SRC(x) (((x) >> 0) & 0xFFFFFFFF) argument
3426 #define S_028C38_CLRCMP_DST(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3427 #define G_028C38_CLRCMP_DST(x) (((x) >> 0) & 0xFFFFFFFF) argument
3430 #define S_028C3C_CLRCMP_MSK(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3431 #define G_028C3C_CLRCMP_MSK(x) (((x) >> 0) & 0xFFFFFFFF) argument
3434 #define S_0085F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
3435 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
3437 #define S_0085F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
3438 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
3440 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
3441 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
3443 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
3444 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
3446 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
3447 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
3449 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
3450 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
3452 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
3453 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
3455 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
3456 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
3458 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
3459 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
3461 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
3462 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
3464 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
3465 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
3467 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
3468 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
3470 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
3471 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
3473 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
3474 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
3476 #define S_0085F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
3477 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
3480 #define S_0085F0_CR_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
3481 #define G_0085F0_CR_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
3485 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
3486 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
3487 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 16) argument
3488 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1) argument
3489 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
3490 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1) argument
3491 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
3492 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1) argument
3495 #define S_0085F0_FULL_CACHE_ENA(x) (((unsigned)(x) & 0x1) << 20) argument
3496 #define G_0085F0_FULL_CACHE_ENA(x) (((x) >> 20) & 0x1) argument
3498 #define S_0085F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
3499 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
3501 #define S_0085F0_VC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
3502 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
3504 #define S_0085F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
3505 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
3507 #define S_0085F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
3508 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
3510 #define S_0085F0_SH_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
3511 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
3513 #define S_0085F0_SMX_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
3514 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
3516 #define S_0085F0_CR0_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
3517 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
3519 #define S_0085F0_CR1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
3520 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
3522 #define S_0085F0_CR2_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
3523 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
3531 #define S_02812C_CLEAR_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3532 #define G_02812C_CLEAR_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3535 #define S_028128_CLEAR_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3536 #define G_028128_CLEAR_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3539 #define S_028124_CLEAR_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3540 #define G_028124_CLEAR_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3543 #define S_028120_CLEAR_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3544 #define G_028120_CLEAR_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3547 #define S_02842C_FOG_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3548 #define G_02842C_FOG_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3551 #define S_028428_FOG_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3552 #define G_028428_FOG_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3555 #define S_028424_FOG_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3556 #define G_028424_FOG_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3559 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
3560 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
3562 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
3563 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
3565 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
3566 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
3568 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x7) << 9) argument
3569 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
3571 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x7) << 12) argument
3572 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
3574 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
3575 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
3577 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 17) argument
3578 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
3580 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 22) argument
3581 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
3583 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((unsigned)(x) & 0x1) << 24) argument
3584 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
3586 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((unsigned)(x) & 0x1) << 25) argument
3587 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
3589 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 26) argument
3590 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
3592 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 29) argument
3593 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
3595 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((unsigned)(x) & 0x1) << 31) argument
3596 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
3599 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0x3FF) << 0) argument
3600 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
3602 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0x3FF) << 10) argument
3603 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
3605 #define S_03C004_LOD_BIAS(x) (((unsigned)(x) & 0xFFF) << 20) argument
3606 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
3609 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0xFFF) << 0) argument
3610 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
3612 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 12) argument
3613 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
3615 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 13) argument
3616 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
3618 #define S_03C008_HIGH_PRECISION_FILTER(x) (((unsigned)(x) & 0x1) << 14) argument
3619 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
3621 #define S_03C008_PERF_MIP(x) (((unsigned)(x) & 0x7) << 15) argument
3622 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
3624 #define S_03C008_PERF_Z(x) (((unsigned)(x) & 0x3) << 18) argument
3625 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
3627 #define S_03C008_FETCH_4(x) (((unsigned)(x) & 0x1) << 26) argument
3628 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
3630 #define S_03C008_SAMPLE_IS_PCF(x) (((unsigned)(x) & 0x1) << 27) argument
3631 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
3633 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
3634 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
3637 #define S_00A40C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3638 #define G_00A40C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3641 #define S_00A408_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3642 #define G_00A408_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3645 #define S_00A404_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3646 #define G_00A404_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3649 #define S_00A400_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3650 #define G_00A400_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3653 #define S_00A60C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3654 #define G_00A60C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3657 #define S_00A608_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3658 #define G_00A608_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3661 #define S_00A604_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3662 #define G_00A604_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3665 #define S_00A600_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3666 #define G_00A600_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3669 #define S_00A80C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3670 #define G_00A80C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3673 #define S_00A808_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3674 #define G_00A808_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3677 #define S_00A804_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3678 #define G_00A804_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3681 #define S_00A800_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3682 #define G_00A800_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3685 #define S_030000_X(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3686 #define G_030000_X(x) (((x) >> 0) & 0xFFFFFFFF) argument
3689 #define S_030004_Y(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3690 #define G_030004_Y(x) (((x) >> 0) & 0xFFFFFFFF) argument
3693 #define S_030008_Z(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3694 #define G_030008_Z(x) (((x) >> 0) & 0xFFFFFFFF) argument
3697 #define S_03000C_W(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3698 #define G_03000C_W(x) (((x) >> 0) & 0xFFFFFFFF) argument
3781 #define S_0802C_INSTANCE_INDEX(x) (((x) & 0xffff) << 0) argument
3782 #define S_0802C_SE_INDEX(x) (((x) & 0x3fff) << 16) argument
3783 #define S_0802C_INSTANCE_BROADCAST_WRITES(x) (((x) & 0x1) << 30) argument
3784 #define S_0802C_SE_BROADCAST_WRITES(x) (((x) & 0x1) << 31) argument
3787 #define S_028AA8_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
3788 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
3790 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
3791 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
3793 #define S_028AA8_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
3794 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument