Lines Matching refs:x1
116 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1)
121 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((x) & 0x1) << 0)
127 #define S_008C00_VC_ENABLE(x) (((x) & 0x1) << 0)
128 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1)
130 #define S_008C00_EXPORT_SRC_C(x) (((x) & 0x1) << 1)
131 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1)
337 #define S_028C70_FAST_CLEAR(x) (((x) & 0x1) << 17)
338 #define G_028C70_FAST_CLEAR(x) (((x) >> 17) & 0x1)
343 #define S_028C70_BLEND_CLAMP(x) (((x) & 0x1) << 19)
344 #define G_028C70_BLEND_CLAMP(x) (((x) >> 19) & 0x1)
346 #define S_028C70_BLEND_BYPASS(x) (((x) & 0x1) << 20)
347 #define G_028C70_BLEND_BYPASS(x) (((x) >> 20) & 0x1)
349 #define S_028C70_SIMPLE_FLOAT(x) (((x) & 0x1) << 21)
350 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 21) & 0x1)
352 #define S_028C70_ROUND_MODE(x) (((x) & 0x1) << 22)
353 #define G_028C70_ROUND_MODE(x) (((x) >> 22) & 0x1)
355 #define S_028C70_TILE_COMPACT(x) (((x) & 0x1) << 23)
356 #define G_028C70_TILE_COMPACT(x) (((x) >> 23) & 0x1)
362 #define V_028C70_EXPORT_4C_16BPC 0x1
364 #define S_028C70_RAT(x) (((x) & 0x1) << 26)
365 #define G_028C70_RAT(x) (((x) >> 26) & 0x1)
372 #define S_028C74_NON_DISP_TILING_ORDER(x) (((x) & 0x1) << 4)
373 #define G_028C74_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x1)
383 #define S_028C74_FORCE_DST_ALPHA_1(x) (((x) & 0x1) << 31) /* cayman only */
399 #define S_028410_ALPHA_TEST_ENABLE(x) (((x) & 0x1) << 3)
400 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1)
402 #define S_028410_ALPHA_TEST_BYPASS(x) (((x) & 0x1) << 8)
403 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1)
412 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0)
413 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1)
415 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1)
416 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1)
418 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2)
419 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1)
424 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7)
425 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1)
469 #define S_028808_DEGAMMA_ENABLE(x) (((x) & 0x1) << 3)
470 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1)
485 #define S_028810_UCP_ENA_0(x) (((x) & 0x1) << 0)
486 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1)
488 #define S_028810_UCP_ENA_1(x) (((x) & 0x1) << 1)
489 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1)
491 #define S_028810_UCP_ENA_2(x) (((x) & 0x1) << 2)
492 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1)
494 #define S_028810_UCP_ENA_3(x) (((x) & 0x1) << 3)
495 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1)
497 #define S_028810_UCP_ENA_4(x) (((x) & 0x1) << 4)
498 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1)
500 #define S_028810_UCP_ENA_5(x) (((x) & 0x1) << 5)
501 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1)
503 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((x) & 0x1) << 13)
504 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1)
509 #define S_028810_CLIP_DISABLE(x) (((x) & 0x1) << 16)
510 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1)
512 #define S_028810_UCP_CULL_ONLY_ENA(x) (((x) & 0x1) << 17)
513 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1)
515 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) & 0x1) << 18)
516 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1)
518 #define S_028810_DX_CLIP_SPACE_DEF(x) (((x) & 0x1) << 19)
519 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1)
521 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((x) & 0x1) << 20)
522 x1)
524 #define S_028810_VTX_KILL_OR(x) (((x) & 0x1) << 21)
525 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1)
527 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) & 0x1) << 24)
528 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1)
530 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) & 0x1) << 25)
531 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1)
533 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((x) & 0x1) << 26)
534 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1)
536 #define S_028810_ZCLIP_FAR_DISABLE(x) (((x) & 0x1) << 27)
537 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1)
552 #define S_028040_READ_SIZE(x) (((x) & 0x1) << 28)
553 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1)
555 #define S_028040_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 29)
556 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1)
558 #define S_028040_ZRANGE_PRECISION(x) (((x) & 0x1) << 31)
559 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1)
568 #define S_028044_FORMAT(x) (((x) & 0x1) << 0)
569 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1)
642 #define S_028780_OPACITY_WEIGHT(x) (((x) & 0x1) << 13)
643 #define G_028780_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1)
654 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((x) & 0x1) << 29)
655 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1)
657 #define S_028780_BLEND_CONTROL_ENABLE(x) (((x) & 0x1) << 30)
658 #define G_028780_BLEND_CONTROL_ENABLE(x) (((x) >> 30) & 0x1)
661 #define S_028814_CULL_FRONT(x) (((x) & 0x1) << 0)
662 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1)
664 #define S_028814_CULL_BACK(x) (((x) & 0x1) << 1)
665 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1)
667 #define S_028814_FACE(x) (((x) & 0x1) << 2)
668 #define G_028814_FACE(x) (((x) >> 2) & 0x1)
679 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) & 0x1) << 11)
680 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1)
682 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) & 0x1) << 12)
683 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1)
685 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) & 0x1) << 13)
686 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1)
688 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) & 0x1) << 16)
689 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1)
691 #define S_028814_PROVOKING_VTX_LAST(x) (((x) & 0x1) << 19)
692 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1)
694 #define S_028814_PERSP_CORR_DIS(x) (((x) & 0x1) << 20)
695 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1)
697 #define S_028814_MULTI_PRIM_IB_ENA(x) (((x) & 0x1) << 21)
698 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1)
702 #define S_028ABC_HTILE_WIDTH(x) (((x) & 0x1) << 0)
703 #define G_028ABC_HTILE_WIDTH(x) (((x) >> 0) & 0x1)
705 #define S_028ABC_HTILE_HEIGHT(x) (((x) & 0x1) << 1)
706 #define G_028ABC_HTILE_HEIGHT(x) (((x) >> 1) & 0x1)
708 #define S_028ABC_LINEAR(x) (((x) & 0x1) << 2)
709 #define G_028ABC_LINEAR(x) (((x) >> 2) & 0x1)
711 #define S_028ABC_FULL_CACHE(x) (((x) & 0x1) << 3)
712 #define G_028ABC_FULL_CACHE(x) (((x) >> 3) & 0x1)
714 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 4)
715 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1)
717 #define S_028ABC_PRELOAD(x) (((x) & 0x1) << 5)
718 #define G_028ABC_PRELOAD(x) (((x) >> 5) & 0x1)
727 #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0)
728 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1)
730 #define S_02880C_STENCIL_EXPORT_ENABLE(x) (((x) & 0x1) << 1)
731 #define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1)
740 #define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6)
741 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1)
743 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((x) & 0x1) << 9)
744 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1)
752 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) & 0x1) << 12)
764 #define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28)
770 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 2)
771 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1)
784 #define S_008040_WAIT_CP_DMA_IDLE(x) (((x) & 0x1) << 8)
785 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1)
787 #define S_008040_WAIT_CMDFIFO(x) (((x) & 0x1) << 10)
788 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1)
790 #define S_008040_WAIT_2D_IDLE(x) (((x) & 0x1) << 14)
791 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1)
793 #define S_008040_WAIT_3D_IDLE(x) (((x) & 0x1) << 15)
794 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1)
796 #define S_008040_WAIT_2D_IDLECLEAN(x) (((x) & 0x1) << 16)
797 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1)
799 #define S_008040_WAIT_3D_IDLECLEAN(x) (((x) & 0x1) << 17)
800 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1)
802 #define S_008040_WAIT_EXTERN_SIG(x) (((x) & 0x1) << 19)
803 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1)
814 #define S_0286CC_POSITION_ENA(x) (((x) & 0x1) << 8)
815 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1)
817 #define S_0286CC_POSITION_CENTROID(x) (((x) & 0x1) << 9)
818 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1)
826 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((x) & 0x1) << 28)
827 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1)
829 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((x) & 0x1) << 29)
830 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1)
832 #define S_0286CC_POSITION_SAMPLE(x) (((x) & 0x1) << 30)
833 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1)
836 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 8)
837 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1)
842 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 11)
843 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1)
851 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((x) & 0x1) << 24)
852 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1)
858 #define S_0286C4_VS_PER_COMPONENT(x) (((x) & 0x1) << 0)
859 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1)
864 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 8)
865 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1)
903 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
904 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
921 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
922 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
954 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31)
955 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1)
972 #define S_0287F0_SPRITE_EN(x) (((x) & 0x1) << 4)
973 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1)
975 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5)
976 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1)
978 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6)
979 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1)
994 #define S_030000_NON_DISP_TILING_ORDER(x) (((x) & 0x1) << 5)
995 #define G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 5) & 0x1)
1046 #define S_030010_SRF_MODE_ALL(x) (((x) & 0x1) << 10)
1047 #define G_030010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1)
1051 #define S_030010_FORCE_DEGAMMA(x) (((x) & 0x1) << 11)
1052 #define G_030010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1)
1096 #define S_030018_INTERLACED(x) (((x) & 0x1) << 6)
1097 #define G_030018_INTERLACED(x) (((x) >> 6) & 0x1)
1123 #define S_030008_CLAMP_X(x) (((x) & 0x1) << 19)
1124 #define G_030008_CLAMP_X(x) (((x) >> 19) & 0x1)
1135 #define S_030008_FORMAT_COMP_ALL(x) (((x) & 0x1) << 28)
1136 #define G_030008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1)
1138 #define S_030008_SRF_MODE_ALL(x) (((x) & 0x1) << 29)
1139 #define G_030008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1)
1262 #define S_03C008_MC_COORD_TRUNCATE(x) (((x) & 0x1) << 20)
1263 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 20) & 0x1)
1265 #define S_03C008_FORCE_DEGAMMA(x) (((x) & 0x1) << 21)
1266 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 21) & 0x1)
1271 #define S_03C008_TRUNCATE_COORD(x) (((x) & 0x1) << 28)
1272 #define G_03C008_TRUNCATE_COORD(x) (((x) >> 28) & 0x1)
1274 #define S_03C008_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 29)
1275 #define G_03C008_DISABLE_CUBE_WRAP(x) (((x) >> 29) & 0x1)
1277 #define S_03C008_TYPE(x) (((x) & 0x1) << 31)
1278 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1)
1315 #define S_02881C_CLIP_DIST_ENA_0(x) (((x) & 0x1) << 0)
1316 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1)
1318 #define S_02881C_CLIP_DIST_ENA_1(x) (((x) & 0x1) << 1)
1319 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1)
1321 #define S_02881C_CLIP_DIST_ENA_2(x) (((x) & 0x1) << 2)
1322 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1)
1324 #define S_02881C_CLIP_DIST_ENA_3(x) (((x) & 0x1) << 3)
1325 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1)
1327 #define S_02881C_CLIP_DIST_ENA_4(x) (((x) & 0x1) << 4)
1328 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1)
1330 #define S_02881C_CLIP_DIST_ENA_5(x) (((x) & 0x1) << 5)
1331 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1)
1333 #define S_02881C_CLIP_DIST_ENA_6(x) (((x) & 0x1) << 6)
1334 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1)
1336 #define S_02881C_CLIP_DIST_ENA_7(x) (((x) & 0x1) << 7)
1337 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1)
1339 #define S_02881C_CULL_DIST_ENA_0(x) (((x) & 0x1) << 8)
1340 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1)
1342 #define S_02881C_CULL_DIST_ENA_1(x) (((x) & 0x1) << 9)
1343 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1)
1345 #define S_02881C_CULL_DIST_ENA_2(x) (((x) & 0x1) << 10)
1346 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1)
1348 #define S_02881C_CULL_DIST_ENA_3(x) (((x) & 0x1) << 11)
1349 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1)
1351 #define S_02881C_CULL_DIST_ENA_4(x) (((x) & 0x1) << 12)
1352 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1)
1354 #define S_02881C_CULL_DIST_ENA_5(x) (((x) & 0x1) << 13)
1355 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1)
1357 #define S_02881C_CULL_DIST_ENA_6(x) (((x) & 0x1) << 14)
1358 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1)
1360 #define S_02881C_CULL_DIST_ENA_7(x) (((x) & 0x1) << 15)
1361 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1)
1363 #define S_02881C_USE_VTX_POINT_SIZE(x) (((x) & 0x1) << 16)
1364 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1)
1366 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((x) & 0x1) << 17)
1367 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1)
1369 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) & 0x1) << 18)
1370 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1)
1372 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) & 0x1) << 19)
1373 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1)
1375 #define S_02881C_USE_VTX_KILL_FLAG(x) (((x) & 0x1) << 20)
1376 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1)
1378 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) & 0x1) << 21)
1379 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1)
1381 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) & 0x1) << 22)
1382 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1)
1384 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) & 0x1) << 23)
1385 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1)
1395 #define S_028860_DX10_CLAMP(x) (((x) & 0x1) << 21)
1396 #define G_028860_DX10_CLAMP(x) (((x) >> 21) & 0x1)
1398 #define S_028860_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28)
1399 #define G_028860_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1)
1413 #define S_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) & 0x1) << 4)
1414 #define G_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1)
1416 #define S_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) & 0x1) << 5)
1417 #define G_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1)
1419 #define S_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) & 0x1) << 6)
1420 #define G_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1)
1422 #define S_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) & 0x1) << 7)
1423 #define G_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1)
1433 #define S_028844_DX10_CLAMP(x) (((x) & 0x1) << 21)
1434 #define G_028844_DX10_CLAMP(x) (((x) >> 21) & 0x1)
1436 #define S_028844_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23)
1437 #define G_028844_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1)
1439 #define S_028844_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28)
1440 #define G_028844_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1)
1442 #define S_028844_CLAMP_CONSTS(x) (((x) & 0x1) << 31)
1443 #define G_028844_CLAMP_CONSTS(x) (((x) >> 31) & 0x1)
1453 #define S_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) & 0x1) << 4)
1454 #define G_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1)
1456 #define S_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) & 0x1) << 5)
1457 #define G_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1)
1459 #define S_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) & 0x1) << 6)
1460 #define G_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1)
1462 #define S_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) & 0x1) << 7)
1463 #define G_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1)
1473 #define S_0288D4_DX10_CLAMP(x) (((x) & 0x1) << 21)
1474 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1)
1476 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23)
1477 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1)
1478 #define S_0288D4_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28)
1479 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1)
1481 x1) << 31)
1482 #define G_0288D4_CLAMP_CONSTS(x) (((x) >> 31) & 0x1)
1495 #define S_0288D4_DX10_CLAMP(x) (((x) & 0x1) << 21)
1496 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1)
1498 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23)
1499 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1)
1500 #define S_0288D4_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28)
1501 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1)
1503 #define S_0288D4_CLAMP_CONSTS(x) (((x) & 0x1) << 31)
1504 #define G_0288D4_CLAMP_CONSTS(x) (((x) >> 31) & 0x1)
1517 #define S_028644_FLAT_SHADE(x) (((x) & 0x1) << 10)
1518 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1)
1520 #define S_028644_SEL_CENTROID(x) (((x) & 0x1) << 11)
1521 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1)
1523 #define S_028644_SEL_LINEAR(x) (((x) & 0x1) << 12)
1524 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1)
1529 #define S_028644_PT_SPRITE_TEX(x) (((x) & 0x1) << 17)
1530 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1)
1532 #define S_028644_SEL_SAMPLE(x) (((x) & 0x1) << 18)
1533 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1)
1536 #define S_0286D4_FLAT_SHADE_ENA(x) (((x) & 0x1) << 0)
1537 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1)
1539 #define S_0286D4_PNT_SPRITE_ENA(x) (((x) & 0x1) << 1)
1540 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1)
1554 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((x) & 0x1) << 14)
1555 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1)
1569 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((x) & 0x1) << 0)
1570 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((x) & 0x1) << 1)
1571 #define S_028000_DEPTH_COPY_ENABLE(x) (((x) & 0x1) << 2)
1572 #define S_028000_STENCIL_COPY_ENABLE(x) (((x) & 0x1) << 3)
1573 #define S_028000_RESUMMARIZE_ENABLE(x) (((x) & 0x1) << 4)
1574 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5)
1575 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6)
1576 #define S_028000_COPY_CENTROID(x) (((x) & 0x1) << 7)
1578 #define S_028000_COLOR_DISABLE(x) (((x) & 0x1) << 12)
1580 #define S_028004_ZPASS_INCREMENT_DISABLE (((x) & 0x1) << 0)
1581 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 1)
1603 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6)
1604 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1)
1606 #define S_02800C_FAST_Z_DISABLE(x) (((x) & 0x1) << 7)
1607 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1)
1609 #define S_02800C_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8)
1610 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1)
1612 #define S_02800C_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9)
1613 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1)
1615 #define S_02800C_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10)
1616 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1)
1618 #define S_02800C_FORCE_Z_READ(x) (((x) & 0x1) << 11)
1619 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1)
1621 #define S_02800C_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12)
1622 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1)
1627 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15)
1628 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1)
1630 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16)
1631 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1)
1633 #define S_02800C_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17)
1634 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1)
1663 #define S_028350_MULTIPASS(x) (((x) & 0x1) << 0)
1664 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1)
1814 #define S_02884C_EXPORT_Z(x) (((x) & 0x1) << 0)
1815 #define G_02884C_EXPORT_Z(x) (((x) >> 0) & 0x1)
1860 #define S_028A48_MSAA_ENABLE(x) (((x) & 0x1) << 0)
1861 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((x) & 0x1) << 1)
1862 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((x) & 0x1) << 2)
1865 #define S_028A94_RESET_EN(x) (((x) & 0x1) << 0)
1866 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1)
1902 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) & 0x1) << 0)
1907 #define S_028B70_OFFSET_ROUND(x) (((x) & 0x1) << 16)
1912 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) & 0x1) << 8)
1913 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1)
1933 #define S_028B94_STREAMOUT_0_EN(x) (((x) & 0x1) << 0)
1934 #define S_028B94_STREAMOUT_1_EN(x) (((x) & 0x1) << 1)
1935 #define S_028B94_STREAMOUT_2_EN(x) (((x) & 0x1) << 2)
1936 #define S_028B94_STREAMOUT_3_EN(x) (((x) & 0x1) << 3)
1944 #define S_028C00_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9)
1945 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1)
1947 #define S_028C00_LAST_PIXEL(x) (((x) & 0x1) << 10)
1948 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1)
1952 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4)
1955 #define S_028C08_PIX_CENTER_HALF(x) (((x) & 0x1) << 0)
1956 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1)
2142 #define S_0085F0_DEST_BASE_0_ENA(x) (((x) & 0x1) << 0)
2143 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1)
2145 #define S_0085F0_DEST_BASE_1_ENA(x) (((x) & 0x1) << 1)
2146 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1)
2148 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((x) & 0x1) << 2)
2149 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1)
2151 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((x) & 0x1) << 3)
2152 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1)
2154 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((x) & 0x1) << 4)
2155 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1)
2157 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((x) & 0x1) << 5)
2158 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1)
2160 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6)
2161 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1)
2163 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((x) & 0x1) << 7)
2164 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1)
2166 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((x) & 0x1) << 8)
2167 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1)
2169 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((x) & 0x1) << 9)
2170 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1)
2172 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((x) & 0x1) << 10)
2173 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1)
2175 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((x) & 0x1) << 11)
2176 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1)
2178 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((x) & 0x1) << 12)
2179 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1)
2181 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((x) & 0x1) << 13)
2182 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1)
2184 #define S_0085F0_DB_DEST_BASE_ENA(x) (((x) & 0x1) << 14)
2185 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1)
2187 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((x) & 0x1) << 15)
2188 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1)
2190 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((x) & 0x1) << 16)
2191 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1)
2193 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((x) & 0x1) << 17)
2194 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1)
2196 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((x) & 0x1) << 18)
2197 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1)
2199 #define S_0085F0_TC_ACTION_ENA(x) (((x) & 0x1) << 23)
2200 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1)
2202 #define S_0085F0_VC_ACTION_ENA(x) (((x) & 0x1) << 24)
2203 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1)
2205 #define S_0085F0_CB_ACTION_ENA(x) (((x) & 0x1) << 25)
2206 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1)
2208 #define S_0085F0_DB_ACTION_ENA(x) (((x) & 0x1) << 26)
2209 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1)
2211 #define S_0085F0_SH_ACTION_ENA(x) (((x) & 0x1) << 27)
2212 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1)
2214 #define S_0085F0_SMX_ACTION_ENA(x) (((x) & 0x1) << 28)
2215 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1)
2217 #define S_0085F0_CR0_ACTION_ENA(x) (((x) & 0x1) << 29)
2218 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1)
2220 #define S_0085F0_CR1_ACTION_ENA(x) (((x) & 0x1) << 30)
2221 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1)
2223 #define S_0085F0_CR2_ACTION_ENA(x) (((x) & 0x1) << 31)
2224 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1)
2248 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) & 0x1) << 16)
2249 #define S_028804_INCOHERENT_EQAA_READS(x) (((x) & 0x1) << 17)
2250 #define S_028804_INTERPOLATE_COMP_Z(x) (((x) & 0x1) << 18)
2251 #define S_028804_INTERPOLATE_SRC_Z(x) (((x) & 0x1) << 19)
2252 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) & 0x1) << 20)
2253 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) & 0x1) << 21)
2260 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4)
2297 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) & 0x1) << 16)
2298 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1)
2300 #define S_028AA8_SWITCH_ON_EOP(x) (((x) & 0x1) << 17)
2301 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1)